# CVE-2022-40540: Buffer copy without checking the size of input in Linux Kernel

- Severity: High 8.4 (CVSS:3.1, scored by qualcomm) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-02)
- Published: 2023-03-07T04:43:57.980Z
- Modified: 2026-06-17T05:01:40.700Z
- Weaknesses: CWE-120
- Assigned by: qualcomm

## Description

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

(As written by CVE List.)

## Affected

- Qualcomm, Inc. Snapdragon: SD 8 Gen1 5G; SD888 5G; SW5100; SW5100P; WCD9380; WCD9385; WCN3980; WCN3988; WCN6850; WCN6851; WCN6855; WCN6856; and 4 more
- qualcomm sd_8_gen1_5g_firmware: no versions given
- qualcomm sd888_5g_firmware: no versions given
- qualcomm sw5100_firmware: no versions given
- qualcomm sw5100p_firmware: no versions given
- qualcomm wcd9380_firmware: no versions given
- qualcomm wcd9385_firmware: no versions given
- qualcomm wcn3980_firmware: no versions given
- qualcomm wcn3988_firmware: no versions given
- qualcomm wcn6850_firmware: no versions given
- qualcomm wcn6851_firmware: no versions given
- qualcomm wcn6855_firmware: no versions given
- qualcomm wcn6856_firmware: no versions given
- qualcomm wcn7850_firmware: no versions given
- qualcomm wcn7851_firmware: no versions given
- qualcomm wsa8830_firmware: no versions given
- qualcomm wsa8835_firmware: no versions given

## Every score

- qualcomm: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.qualcomm.com/company/product-security/bulletins/march-2023-bulletin> (patch, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20230616-0001/>
- <https://bugzilla.suse.com/show_bug.cgi?id=1209597>

## Sources

- CVE List: [CVE-2022-40540](https://www.cve.org/CVERecord?id=CVE-2022-40540), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-40540](https://nvd.nist.gov/vuln/detail/CVE-2022-40540), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-40540 · Whole record: https://cve.day/CVE-2022-40540.json · Rebuilt by cve.day 2026-11-25T22:58:18.856Z
