{"id":"CVE-2022-40540","aliases":["3280498","A-261470730","ASB-A-261470730","EUVD-2022-43815","GHSA-58jw-58x8-342p"],"status":"published","title":"Buffer copy without checking the size of input in Linux Kernel","description":"Memory corruption due to buffer copy without checking the size of input while loading firmware in Linux Kernel.","severity":{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00166,"percentile":0.05944,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120"],"published":"2023-03-01T00:00:00Z","modified":"2026-11-05T16:32:28Z","fixes":[{"ecosystem":"Android","package":":linux_kernel:Qualcomm","fixed_in":["SoCVersion:2023-03-05"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Android","package":":linux_kernel:Qualcomm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"SoCVersion:0"},{"fixed":"SoCVersion:2023-03-05"}]}],"versions":["SoCVersion"]}],"products":[{"vendor":"qualcomm","product":"sd888_5g_firmware"},{"vendor":"qualcomm","product":"sd_8_gen1_5g_firmware"},{"vendor":"qualcomm","product":"sw5100_firmware"},{"vendor":"qualcomm","product":"sw5100p_firmware"},{"vendor":"qualcomm","product":"wcd9380_firmware"},{"vendor":"qualcomm","product":"wcd9385_firmware"},{"vendor":"qualcomm","product":"wcn3980_firmware"},{"vendor":"qualcomm","product":"wcn3988_firmware"},{"vendor":"qualcomm","product":"wcn6850_firmware"},{"vendor":"qualcomm","product":"wcn6851_firmware"},{"vendor":"qualcomm","product":"wcn6855_firmware"},{"vendor":"qualcomm","product":"wcn6856_firmware"},{"vendor":"qualcomm","product":"wcn7850_firmware"},{"vendor":"qualcomm","product":"wcn7851_firmware"},{"vendor":"qualcomm","product":"wsa8830_firmware"},{"vendor":"qualcomm","product":"wsa8835_firmware"},{"vendor":"qualcomm, inc.","product":"snapdragon"}],"references":[{"url":"https://www.qualcomm.com/company/product-security/bulletins/march-2023-bulletin","tags":["x_transferred","Patch","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230616-0001/","tags":["x_transferred"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1209597","tags":["x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40540"},{"url":"https://security.netapp.com/advisory/ntap-20230616-0001"},{"url":"https://github.com/advisories/GHSA-58jw-58x8-342p"},{"url":"https://source.android.com/security/bulletin/2023-03-01","tags":["advisory"]},{"url":"https://git.codelinaro.org/clo/la/kernel/msm-5.10/-/commit/dae3214cd3495e5c4b37537cacf665d2cdeaea24","tags":["fix"]}],"sources":{"cve":[{"id":"CVE-2022-40540","title":"Buffer copy without checking the size of input in Linux Kernel","description":"Memory corruption due to buffer copy without checking the size of input while loading firmware in Linux Kernel.","status":"published","published":"2023-03-07T04:43:57.98Z","modified":"2024-08-03T12:21:46.284Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:34:30.842561Z"}],"euvd":[{"id":"EUVD-2022-43815","description":"Memory corruption due to buffer copy without checking the size of input while loading firmware in Linux Kernel.","status":"published","published":"2023-03-07T04:43:57Z","modified":"2024-08-03T12:21:46Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T03:25:20.207751Z"}],"ghsa":[{"id":"GHSA-58jw-58x8-342p","title":"Memory corruption due to buffer copy without checking the size of input while loading firmware in...","description":"Memory corruption due to buffer copy without checking the size of input while loading firmware in Linux Kernel.","status":"published","published":"2023-03-10T21:30:22Z","modified":"2024-03-25T06:30:24Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:55:43.067988Z"}],"nvd":[{"id":"CVE-2022-40540","description":"Memory corruption due to buffer copy without checking the size of input while loading firmware in Linux Kernel.","status":"published","published":"2023-03-10T21:15:12.887Z","modified":"2026-06-17T05:01:40.7Z","cvss":[{"version":"3.1","score":8.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:07:36.601381Z"}],"osv":[{"id":"ASB-A-261470730","status":"published","published":"2023-03-01T00:00:00Z","modified":"2026-11-09T16:40:10.884737887Z","updated_at":"2026-11-10T17:35:05.865114Z"}]}}
