Every CVE Search/ Get API key

CVE-2022-40540

Buffer copy without checking the size of input in Linux Kernel

8.4 HighFix available

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

0.17%Up 0.1 points since Mar 7, 2023
90%50%10%1%

What each source reports

CVE List Score used 8.4

Buffer copy without checking the size of input in Linux Kernel

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

Record
CVE-2022-40540
CVSS 3.1
8.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-120
Updated
2026-11-02
EUVDEUVD-2022-43815 8.4

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

Record
EUVD-2022-43815
CVSS 3.1
8.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-58jw-58x8-342p 7.8

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

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

Record
GHSA-58jw-58x8-342p
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-120
Updated
2026-11-02
NVD 8.4

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

Record
CVE-2022-40540
CVSS 3.1
8.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-120
Updated
2026-11-02

Affected products

Show 5 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
:linux_kernel:Qualcomm
Android
SoCVersion:0 up to SoCVersion:2023-03-05, plus listed versions
SoCVersion
SoCVersion:2023-03-05

History

History
RecordedChangedSources
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-40540 is a high vulnerability (CVSS 8.4) in Qualcomm Sd888 5g Firmware, published March 1, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.17%, the 5th percentile. Fixed in :linux_kernel:Qualcomm SoCVersion:2023-03-05.

References

MoveEnter Open