{"id":"CVE-2024-57995","published":"2025-02-27T02:07:16Z","modified":"2026-08-05T11:47:14Z","title":"wifi: ath12k: fix read pointer after free in ath12k_mac_assign_vif_to_vdev()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: ath12k: fix read pointer after free in ath12k_mac_assign_vif_to_vdev()\n\nIn ath12k_mac_assign_vif_to_vdev(), if arvif is created on a different\nradio, it gets deleted from that radio through a call to\nath12k_mac_unassign_link_vif(). This action frees the arvif pointer.\nSubsequently, there is a check involving arvif, which will result in a\nread-after-free scenario.\n\nFix this by moving this check after arvif is again assigned via call to\nath12k_mac_assign_link_vif().\n\nTested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00364,"percentile":0.31,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/57100b87c77818cb0d582a92e5cb32fff85c757d","tags":[]},{"url":"https://git.kernel.org/stable/c/f3a95a312419e4f1e992525917da9dbcd247038f","tags":[]},{"url":"https://git.kernel.org/stable/c/5a10971c7645a95f5d5dc23c26fbac4bf61801d0","tags":[]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":6.2},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b5068bc9180d06a5ac242b0f9263047c14f86211, < 57100b87c77818cb0d582a92e5cb32fff85c757d",">= b5068bc9180d06a5ac242b0f9263047c14f86211, < f3a95a312419e4f1e992525917da9dbcd247038f",">= b5068bc9180d06a5ac242b0f9263047c14f86211, < 5a10971c7645a95f5d5dc23c26fbac4bf61801d0"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-10-01T19:31:23.714588Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-5250","exploited":false,"provenance":"source"}}