LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50330: crypto: cavium - prevent integer overflow loading firmware

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This Linux kernel issue affects the Cavium crypto driver when it loads firmware. A length value from the firmware file could overflow during calculation. The source does not provide CVSS, impact details, or evidence of active exploitation. Risk is most relevant where firmware files can be tampered with or are not trusted.

Executive priority

Handle through normal kernel patch management unless you operate Cavium crypto hardware or have weak firmware integrity controls. Escalate if affected systems load third-party firmware or protect sensitive cryptographic workloads.

Technical view

The vulnerable logic uses firmware-controlled code_length and multiplies ntohl(ucode->code_length) by 2, allowing integer overflow before safe bounds handling. The kernel fix adds overflow protection while loading Cavium crypto firmware. The CVE source lists Linux kernel affected version ranges and multiple stable backport commits.

Likely exposure

Exposure is likely limited to Linux systems using the affected Cavium crypto driver and loading relevant firmware. Systems without this hardware, driver, or firmware path are less likely to be exposed. The source bundle does not identify distributions, appliances, or cloud services as affected.

Exploitation context

No cited source reports active exploitation, and the CVE is not marked KEV. The description says the risky input comes from a firmware file and notes that untrusted firmware is already a serious condition. Exploitation feasibility and practical impact are not established in the provided sources.

Researcher notes

The provided evidence supports an integer-overflow bug in firmware length handling, but not a demonstrated exploit path, privilege boundary, or impact class. Analysis should focus on driver reachability, firmware trust boundaries, and whether downstream kernels include the stable backports.

Mitigation direction

  • Inventory Linux systems using Cavium crypto hardware or drivers.
  • Apply vendor or distribution kernel updates containing the referenced stable fixes.
  • Treat firmware files as trusted supply-chain artifacts only.
  • Restrict unauthorized modification of kernel firmware directories.
  • Check vendor advisories for product-specific fixed kernel packages.

Validation and detection

  • Confirm running kernel versions against vendor fixed-package guidance.
  • Check whether the Cavium crypto driver is present or loaded.
  • Verify installed firmware files come from trusted vendor packages.
  • Review file integrity controls for firmware storage paths.
  • Confirm patch status against the referenced kernel stable commits.
Prepared
Confidence
medium
Sources
10

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2022-50330 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
9Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux9e2c7d99941d000a36f68a3594cec27a1bbea274, 9e2c7d99941d000a36f68a3594cec27a1bbea274, 9e2c7d99941d000a36f68a3594cec27a1bbea274, 9e2c7d99941d000a36f68a3594cec27a1bbea274, 9e2c7d99941d000a36f68a3594cec27a1bbea274, 9e2c7d99941d000a36f68a3594cec27a1bbea274, 9e2c7d99941d000a36f68a3594cec27a1bbea274, 9e2c7d99941d000a36f68a3594cec27a1bbea274unaffected
LinuxLinux4.11, 0, 4.14.296, 4.19.262, 5.4.220, 5.10.150, 5.15.75, 5.19.17, 6.0.3, 6.1affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.