CVE-2022-50330: crypto: cavium - prevent integer overflow loading firmware
Vulnerability summary
CVE-2022-50330 is a high (CVSS 7.1) Integer Overflow or Wraparound vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.6% of scored vulnerabilities.
Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 7Timeline
- 15-09-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: cavium - prevent integer overflow loading firmware 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 "ntohl(ucode->code_length) * 2" multiplication can have an integer overflow.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
6%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.16% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu118 products
- linux< 4.15.0-204.215 | < 5.4.0-139.156 | < 5.15.0-60.66
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.15.0-1150.163 | < 5.4.0-1096.104 | < 5.15.0-1030.34
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 9e2c7d99941d000a36f68a3594cec27a1bbea274, < c4d4c2afd08dfb3cd1c880d1811ede2568e81a6d | ≥ 9e2c7d99941d000a36f68a3594cec27a1bbea274, < 90e483e7f20c32287d2a9da967e122938f52737a | ≥ 9e2c7d99941d000a36f68a3594cec27a1bbea274, < 584561e94260268abe1c83e00d9c205565cb7bc5 | ≥ 9e2c7d99941d000a36f68a3594cec27a1bbea274, < 3a720eb89026c5241b8c4abb33370dc6fb565eee | ≥ 9e2c7d99941d000a36f68a3594cec27a1bbea274, < 172c8a24fc8312cf6b88d3c88469653fdcb1c127 | ≥ 9e2c7d99941d000a36f68a3594cec27a1bbea274, < 371fa5129af53a79f6dddc90fe5bb0825cbe72a4 | ≥ 9e2c7d99941d000a36f68a3594cec27a1bbea274, < e29fd7a6852376d2cfb95ad5d6d3eeff93f815e9 | ≥ 9e2c7d99941d000a36f68a3594cec27a1bbea274, < 2526d6bf27d15054bb0778b2f7bc6625fd934905 | 4.11
- linux_kernel≥ 4.11, < 4.14.296 | ≥ 4.15, < 4.19.262 | ≥ 4.20, < 5.4.220 | ≥ 5.5, < 5.10.150 | ≥ 5.11, < 5.15.75 | ≥ 5.16, < 5.19.17 | ≥ 6.0, < 6.0.3
Debian1 product
- linux< 6.0.3-1
3 vendors · 121 products