CVE-2022-50763

crypto: marvell/octeontx - prevent integer overflows

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

crypto: marvell/octeontx - prevent integer overflows

The "code_length" value comes from the firmware file. If your firmware is untrusted realistically there is probably very little you can do to protect yourself. Still we try to limit the damage as much as possible. Also Smatch marks any data read from the filesystem as untrusted and prints warnings if it not capped correctly.

The "code_length * 2" can overflow. The round_up(ucode_size, 16) + sizeof() expression can overflow too. Prevent these overflows.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d9110b0b01ff1cd02751cd5c2c94e938a8906083 to before 7bfa7d67735381715c98091194e81e7685f9b7dbAffected
  • d9110b0b01ff1cd02751cd5c2c94e938a8906083 to before 12acfa1059ad69aa352ddb2bf23ba1b831aff15fAffected
  • d9110b0b01ff1cd02751cd5c2c94e938a8906083 to before 8f5eee162e55175d9dac98b5e9b8da76449d2257Affected
  • d9110b0b01ff1cd02751cd5c2c94e938a8906083 to before e7ff7a46baafd38d7ed45604397e650d61f5db8dAffected
  • d9110b0b01ff1cd02751cd5c2c94e938a8906083 to before caca37cf6c749ff0303f68418cfe7b757a4e0697Affected
LinuxLinux
  • 5.7Affected
  • before 5.7Not affected
  • 5.10.150 through 5.10.*Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.