Bug 2395402 (CVE-2022-50330) - CVE-2022-50330 kernel: crypto: cavium - prevent integer overflow loading firmware
Summary: CVE-2022-50330 kernel: crypto: cavium - prevent integer overflow loading firm...
Keywords:
Status: NEW
Alias: CVE-2022-50330
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-15 15:11 UTC by OSIDB Bzimport
Modified: 2025-11-26 09:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-15 15:11:53 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.