CVE-2022-50763
JSON

Not scored

crypto: marvell/octeontx - prevent integer overflows

Severity
Not scored
Exploit likelihood
0.28% (higher than 21% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom d9110b0b01ff1cd02751cd5c2c94e938a8906083 before 7bfa7d67735381715c98091194e81e7685f9b7db, from d9110b0b01ff1cd02751cd5c2c94e938a8906083 before 12acfa1059ad69aa352ddb2bf23ba1b831aff15f, from d9110b0b01ff1cd02751cd5c2c94e938a8906083 before 8f5eee162e55175d9dac98b5e9b8da76449d2257, from d9110b0b01ff1cd02751cd5c2c94e938a8906083 before e7ff7a46baafd38d7ed45604397e650d61f5db8d, from d9110b0b01ff1cd02751cd5c2c94e938a8906083 before caca37cf6c749ff0303f68418cfe7b757a4e0697, 5.7
Not affected: before 5.7, from 5.10.150 up to 5.10.*, from 5.15.75 up to 5.15.*, from 5.19.17 up to 5.19.*, from 6.0.3 up to 6.0.*, from 6.1 up to *
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: crypto: marvell/octeontx - prevenir desbordamientos de enteros El valor ’code_length’ proviene del archivo de firmware. Si su firmware no es de confianza, realistamente probablemente hay muy poco que pueda hacer para protegerse. Aun así, intentamos limitar el daño tanto como sea posible. Además, Smatch marca cualquier dato leído del sistema de archivos como no de confianza e imprime advertencias si no está limitado correctamente. El ’code_length * 2’ puede desbordarse. La expresión round_up(ucode_size, 16) + sizeof() también puede desbordarse. Prevenir estos desbordamientos.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50763 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50763 changed 2026-11-10Public domain