CVE-2022-40540

Buffer copy without checking the size of input in Linux Kernel

8.4 high EPSS 0.17%

Published 7 Mar 2023 Updated 3 Aug 2024 CNA: qualcomm

Description

Memory corruption due to buffer copy without checking the size of input while loading firmware in Linux Kernel.

Severity (CVSS)

8.4 high CVSS 3.1 from qualcomm (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.15% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

  • CWE-120 Buffer Copy without Checking Size of Input

Affected products

As the CNA lists them.

ProductVersions
Snapdragon
affected SD 8 Gen1 5G
affected SD888 5G
affected SW5100
affected SW5100P
affected WCD9380
affected WCD9385
affected WCN3980
affected WCN3988
affected WCN6850
affected WCN6851
affected WCN6855
affected WCN6856
affected WCN7850
affected WCN7851
affected WSA8830
affected WSA8835
Other versions: unaffected

Is my server affected?

This CVE is in Snapdragon of Qualcomm, Inc., which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2022-40540 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.