{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-53188","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-11-19T17:17:25.012Z","datePublished":"2024-12-27T13:49:31.170Z","dateUpdated":"2026-08-05T11:44:30.535Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:44:30.535Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix crash when unbinding\n\nIf there is an error during some initialization related to firmware,\nthe function ath12k_dp_cc_cleanup is called to release resources.\nHowever this is released again when the device is unbinded (ath12k_pci),\nand we get:\nBUG: kernel NULL pointer dereference, address: 0000000000000020\nat RIP: 0010:ath12k_dp_cc_cleanup.part.0+0xb6/0x500 [ath12k]\nCall Trace:\nath12k_dp_cc_cleanup\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 to NULL the released structure in\nath12k_dp_cc_cleanup at the end."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The defect is reached through local driver teardown — `ath12k_pci_remove()` via a sysfs unbind or `delete_module()` — or through the driver's local firmware-recovery worker; no remote or adjacent 802.11 frame drives the vulnerable path directly.\nAC:L - There is no race and no memory-layout dependency; once a firmware/DP init error has occurred the stale `dp->spt_info` is deterministic, and the reporter notes it is \"always reproducible from a VM\" where MSI addressing initialization reliably fails.\nPR:L - The `ath12k_core_reconfigure_on_crash()` path reaches the second `ath12k_dp_cc_cleanup()` with no privilege at all after two failed recovery cycles, and the CNA scored the directly analogous ath12k error-path dangling-pointer bug (CVE-2025-38116) at PR:L rather than PR:H.\nUI:N - The triggering action is the attacker's own unbind/module-removal or the driver's automatic recovery worker; no separate victim needs to be induced to do anything.\nS:U - The freed memory, the stale pointer, and the fault are all within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The root cause is a retained pointer to freed kmalloc'd memory whose contents are re-read on the second cleanup (`dp->spt_info[i].vaddr/paddr`); an attacker who reclaims that slab allocation controls the values read, giving a heap-content disclosure primitive.\nI:H - Operating on the freed `spt_info` array feeds attacker-groomable heap contents into `dma_free_coherent()`, yielding a double-free of DMA coherent mappings — memory corruption leverageable beyond a simple crash.\nA:H - The immediate result is a kernel oops (NULL dereference at offset 0x20) taken while `dp->rx_desc_lock` is held with BH disabled, so the spinlock is never released and any later taker deadlocks — a hard denial of service."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath12k/dp.c"],"versions":[{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","lessThan":"81da9c0854545c3188ca2a09afe7cb65f9c012b5","status":"affected","versionType":"git"},{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","lessThan":"2eec88c0fa63f8ad35704a8c9df0b5bd8694fcda","status":"affected","versionType":"git"},{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","lessThan":"488d2959c28621e52b3cce118a813a4bc18bb3d1","status":"affected","versionType":"git"},{"version":"d889913205cf7ebda905b1e62c5867ed4e39f6c2","lessThan":"1304446f67863385dc4c914b6e0194f6664ee764","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/wireless/ath/ath12k/dp.c"],"versions":[{"version":"6.3","status":"affected"},{"version":"0","lessThan":"6.3","status":"unaffected","versionType":"semver"},{"version":"6.6.64","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.11","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12.2","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.6.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.11.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.12.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.13"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/81da9c0854545c3188ca2a09afe7cb65f9c012b5"},{"url":"https://git.kernel.org/stable/c/2eec88c0fa63f8ad35704a8c9df0b5bd8694fcda"},{"url":"https://git.kernel.org/stable/c/488d2959c28621e52b3cce118a813a4bc18bb3d1"},{"url":"https://git.kernel.org/stable/c/1304446f67863385dc4c914b6e0194f6664ee764"}],"title":"wifi: ath12k: fix crash when unbinding","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-53188","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T20:04:13.907854Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","cweId":"CWE-476","description":"CWE-476 NULL Pointer Dereference"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-10-01T20:07:21.292Z"}}]}}