Description
In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: fix warning when unbinding If there is an error during some initialization related to firmware, the buffers dp->tx_ring[i].tx_status are released. However this is released again when the device is unbinded (ath11k_pci), and we get: WARNING: CPU: 0 PID: 6231 at mm/slub.c:4368 free_large_kmalloc+0x57/0x90 Call Trace: free_large_kmalloc ath11k_dp_free ath11k_core_deinit ath11k_pci_remove ... The issue is always reproducible from a VM because the MSI addressing initialization is failing. In order to fix the issue, just set the buffers to NULL after releasing in order to avoid the double free.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
d5c65159f2895379e11ca13f62feabe93278985d to < e569a5cb401a267168621aa9a1e7f07fcc9612c3affectedd5c65159f2895379e11ca13f62feabe93278985d to < 0aa097a370277deab5337030b9e2d395742f469caffectedd5c65159f2895379e11ca13f62feabe93278985d to < 0a946abb82f29abe9a15173b707a449cb039b43eaffectedd5c65159f2895379e11ca13f62feabe93278985d to < 318703b6f71d1a29ee0ac46c32a38f7734d4cfb2affectedd5c65159f2895379e11ca13f62feabe93278985d to < 7b2e62b9080bf4a5f4e70cfe47156df8d93a4f13affectedd5c65159f2895379e11ca13f62feabe93278985d to < 40aa3c2b0cb8e34e0576fc94cc70e4e33db03c0aaffectedd5c65159f2895379e11ca13f62feabe93278985d to < 051f954b94479d72222c9fbc82a3eef4777bca01affectedd5c65159f2895379e11ca13f62feabe93278985d to < 8b7a26b6681922a38cd5a7829ace61f8e54df9b7affected
Linux Linux
Default version status: affected
5.6affected0 to < 5.6unaffected5.10.260 to ≤ 5.10.*unaffected5.15.211 to ≤ 5.15.*unaffected6.1.177 to ≤ 6.1.*unaffected6.6.144 to ≤ 6.6.*unaffected6.12.95 to ≤ 6.12.*unaffected6.18.38 to ≤ 6.18.*unaffected7.1.3 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/e569a5cb401a267168621aa9a1e7f07fcc9612c3 ↗
- https://git.kernel.org/stable/c/0aa097a370277deab5337030b9e2d395742f469c ↗
- https://git.kernel.org/stable/c/0a946abb82f29abe9a15173b707a449cb039b43e ↗
- https://git.kernel.org/stable/c/318703b6f71d1a29ee0ac46c32a38f7734d4cfb2 ↗
- https://git.kernel.org/stable/c/7b2e62b9080bf4a5f4e70cfe47156df8d93a4f13 ↗
- https://git.kernel.org/stable/c/40aa3c2b0cb8e34e0576fc94cc70e4e33db03c0a ↗
- https://git.kernel.org/stable/c/051f954b94479d72222c9fbc82a3eef4777bca01 ↗
- https://git.kernel.org/stable/c/8b7a26b6681922a38cd5a7829ace61f8e54df9b7 ↗