{"id":"CVE-2024-53191","summary":"wifi: ath12k: fix warning when unbinding","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix warning when unbinding\n\nIf there is an error during some initialization related to firmware,\nthe buffers dp-\u003etx_ring[i].tx_status are released.\nHowever this is released again when the device is unbinded (ath12k_pci),\nand we get:\nWARNING: CPU: 0 PID: 2098 at mm/slub.c:4689 free_large_kmalloc+0x4d/0x80\nCall Trace:\nfree_large_kmalloc\nath12k_dp_free\nath12k_core_deinit\nath12k_pci_remove\n...\n\nThe issue is always reproducible from a VM because the MSI addressing\ninitialization is failing.\n\nIn order to fix the issue, just set the buffers to NULL after releasing in\norder to avoid the double free.","modified":"2026-04-02T12:22:56.925600Z","published":"2024-12-27T13:49:33.617Z","related":["SUSE-SU-2025:0117-1","SUSE-SU-2025:0153-1","SUSE-SU-2025:0154-1","SUSE-SU-2025:0289-1","SUSE-SU-2025:20165-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20248-1","SUSE-SU-2025:20249-1","USN-7276-1","USN-7277-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53191.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/223b546c6222d42147eff034433002ca5e2e7e09"},{"type":"WEB","url":"https://git.kernel.org/stable/c/90556b96338aa6037cd26dac857327fda7c19732"},{"type":"WEB","url":"https://git.kernel.org/stable/c/94c9100b600f05a36b33f9ed76dbd6fb0eb25386"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ca68ce0d9f4bcd032fd1334441175ae399642a06"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53191.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53191"},{"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":"d889913205cf7ebda905b1e62c5867ed4e39f6c2"},{"fixed":"223b546c6222d42147eff034433002ca5e2e7e09"},{"fixed":"90556b96338aa6037cd26dac857327fda7c19732"},{"fixed":"94c9100b600f05a36b33f9ed76dbd6fb0eb25386"},{"fixed":"ca68ce0d9f4bcd032fd1334441175ae399642a06"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53191.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}