{"id":"CVE-2024-40939","summary":"net: wwan: iosm: Fix tainted pointer delete is case of region creation fail","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: wwan: iosm: Fix tainted pointer delete is case of region creation fail\n\nIn case of region creation fail in ipc_devlink_create_region(), previously\ncreated regions delete process starts from tainted pointer which actually\nholds error code value.\nFix this bug by decreasing region index before delete.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","modified":"2026-03-20T12:37:24.780504Z","published":"2024-07-12T12:25:15.148Z","related":["ALSA-2024:5928","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40939.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/040d9384870386eb5dc55472ac573ac7756b2050"},{"type":"WEB","url":"https://git.kernel.org/stable/c/37a438704d19bdbe246d51d3749b6b3a8fe65afd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b0c9a26435413b81799047a7be53255640432547"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe394d59cdae81389dbf995e87c83c1acd120597"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40939.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40939"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4dcd183fbd67b105decc8be262311937730ccdbf"},{"fixed":"fe394d59cdae81389dbf995e87c83c1acd120597"},{"fixed":"040d9384870386eb5dc55472ac573ac7756b2050"},{"fixed":"37a438704d19bdbe246d51d3749b6b3a8fe65afd"},{"fixed":"b0c9a26435413b81799047a7be53255640432547"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-40939.json"}}],"schema_version":"1.7.5"}