{"id":"CVE-2022-40540","aliases":["CVE-2022-40540"],"related":[],"kind":"vulnerability","state":"published","title":"Buffer copy without checking the size of input in Linux Kernel","summary":"Memory corruption due to buffer copy without checking the size of input while loading firmware in Linux Kernel.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Memory corruption due to buffer copy without checking the size of input while loading firmware in Linux Kernel.","source":"cvelist"}],"published":"2023-03-07T04:43:57.980Z","modified":"2026-06-17T05:01:40.700Z","severity":{"scorer":"qualcomm","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"qualcomm","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":"SD 8 Gen1 5G","status":"affected"},{"version":"SD888 5G","status":"affected"},{"version":"SW5100","status":"affected"},{"version":"SW5100P","status":"affected"},{"version":"WCD9380","status":"affected"},{"version":"WCD9385","status":"affected"},{"version":"WCN3980","status":"affected"},{"version":"WCN3988","status":"affected"},{"version":"WCN6850","status":"affected"},{"version":"WCN6851","status":"affected"},{"version":"WCN6855","status":"affected"},{"version":"WCN6856","status":"affected"},{"version":"WCN7850","status":"affected"},{"version":"WCN7851","status":"affected"},{"version":"WSA8830","status":"affected"},{"version":"WSA8835","status":"affected"}],"vendor":"Qualcomm, Inc.","product":"Snapdragon","platforms":["Snapdragon Mobile","Snapdragon Wearables"],"source":"cvelist"},{"ranges":[],"vendor":"qualcomm","product":"sd_8_gen1_5g_firmware","cpe":"cpe:2.3:o:qualcomm:sd_8_gen1_5g_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"sd888_5g_firmware","cpe":"cpe:2.3:o:qualcomm:sd888_5g_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"sw5100_firmware","cpe":"cpe:2.3:o:qualcomm:sw5100_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"sw5100p_firmware","cpe":"cpe:2.3:o:qualcomm:sw5100p_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"wcd9380_firmware","cpe":"cpe:2.3:o:qualcomm:wcd9380_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"wcd9385_firmware","cpe":"cpe:2.3:o:qualcomm:wcd9385_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"wcn3980_firmware","cpe":"cpe:2.3:o:qualcomm:wcn3980_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"wcn3988_firmware","cpe":"cpe:2.3:o:qualcomm:wcn3988_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"wcn6850_firmware","cpe":"cpe:2.3:o:qualcomm:wcn6850_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"wcn6851_firmware","cpe":"cpe:2.3:o:qualcomm:wcn6851_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"wcn6855_firmware","cpe":"cpe:2.3:o:qualcomm:wcn6855_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"wcn6856_firmware","cpe":"cpe:2.3:o:qualcomm:wcn6856_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"wcn7850_firmware","cpe":"cpe:2.3:o:qualcomm:wcn7850_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"wcn7851_firmware","cpe":"cpe:2.3:o:qualcomm:wcn7851_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"wsa8830_firmware","cpe":"cpe:2.3:o:qualcomm:wsa8830_firmware:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"qualcomm","product":"wsa8835_firmware","cpe":"cpe:2.3:o:qualcomm:wsa8835_firmware:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.qualcomm.com/company/product-security/bulletins/march-2023-bulletin","tags":["patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20230616-0001/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1209597","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"qualcomm","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-40540","url":"https://www.cve.org/CVERecord?id=CVE-2022-40540","licence":"CVE Terms of Use","modified":"2024-08-03T12:21:46.284Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-40540","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40540","licence":"Public domain","modified":"2026-06-17T05:01:40.700Z"}],"updatedAt":"2026-11-25T22:58:18.856Z","epss":{"score":0.00166,"percentile":0.06131,"date":"2026-12-02T12:00:21.000Z"}}