CVE-2022-50763
N/A
N/A
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | d9110b0b01ff1cd02751cd5c2c94e938a8906083 < 7bfa7d67735381715c98091194e81e7685f9b7db | affected |
| Linux | Linux | d9110b0b01ff1cd02751cd5c2c94e938a8906083 < 12acfa1059ad69aa352ddb2bf23ba1b831aff15f | affected |
| Linux | Linux | d9110b0b01ff1cd02751cd5c2c94e938a8906083 < 8f5eee162e55175d9dac98b5e9b8da76449d2257 | affected |
| Linux | Linux | d9110b0b01ff1cd02751cd5c2c94e938a8906083 < e7ff7a46baafd38d7ed45604397e650d61f5db8d | affected |
| Linux | Linux | d9110b0b01ff1cd02751cd5c2c94e938a8906083 < caca37cf6c749ff0303f68418cfe7b757a4e0697 | affected |
| Linux | Linux | 5.7 | affected |
| Linux | Linux | 0 < 5.7 | unaffected |
| Linux | Linux | 5.10.150 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.75 <= 5.15.* | unaffected |
| Linux | Linux | 5.19.17 <= 5.19.* | unaffected |
| Linux | Linux | 6.0.3 <= 6.0.* | unaffected |
| Linux | Linux | 6.1 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/7bfa7d67735381715c98091194e81e7685f9b7db
- https://git.kernel.org/stable/c/12acfa1059ad69aa352ddb2bf23ba1b831aff15f
- https://git.kernel.org/stable/c/8f5eee162e55175d9dac98b5e9b8da76449d2257
- https://git.kernel.org/stable/c/e7ff7a46baafd38d7ed45604397e650d61f5db8d
- https://git.kernel.org/stable/c/caca37cf6c749ff0303f68418cfe7b757a4e0697
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.