CVE-2022-50330CWE-190

CVE-2022-50330

High · published September 15, 2025

CVSS v3.1
7.1
EPSS
0%
Percentile
5.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00164 · 5.3th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2025-09-15T19:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 4.11, < 4.14.2964.14.296
linux/linux_kernel≥ 4.15, < 4.19.2624.19.262
linux/linux_kernel≥ 4.20, < 5.4.2205.4.220
linux/linux_kernel≥ 5.5, < 5.10.1505.10.150
linux/linux_kernel≥ 5.11, < 5.15.755.15.75
linux/linux_kernel≥ 5.16, < 5.19.175.19.17
linux/linux_kernel≥ 6.0, < 6.0.36.0.3
References (8)
EPSS history
Timeline
  • 15 SEP 14:49Z
    crypto: cavium - prevent integer overflow loading firmware
    cvelistv5