{"id":"CVE-2025-39864","summary":"wifi: cfg80211: fix use-after-free in cmp_bss()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: fix use-after-free in cmp_bss()\n\nFollowing bss_free() quirk introduced in commit 776b3580178f\n(\"cfg80211: track hidden SSID networks properly\"), adjust\ncfg80211_update_known_bss() to free the last beacon frame\nelements only if they're not shared via the corresponding\n'hidden_beacon_bss' pointer.","modified":"2026-04-02T12:48:11.278166Z","published":"2025-09-19T15:26:33.787Z","related":["ALSA-2025:19440","ALSA-2025:19447","ALSA-2025:22405","SUSE-SU-2025:03600-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1","openSUSE-SU-2025:20081-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39864.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/26e84445f02ce6b2fe5f3e0e28ff7add77f35e08"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5b7ae04969f822283a95c866967e42b4d75e0eef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6854476d9e1aeaaf05ebc98d610061c2075db07d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/912c4b66bef713a20775cfbf3b5e9bd71525c716"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a8bb681e879ca3c9f722aa08d3d7ae41c42a8807"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a97a9791e455bb0cd5e7a38b5abcb05523d4e21c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b7d08929178c16398278613df07ad65cf63cce9d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff040562c10a540b8d851f7f4145fa112977f853"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39864.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39864"},{"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":"3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6"},{"fixed":"a8bb681e879ca3c9f722aa08d3d7ae41c42a8807"},{"fixed":"a97a9791e455bb0cd5e7a38b5abcb05523d4e21c"},{"fixed":"ff040562c10a540b8d851f7f4145fa112977f853"},{"fixed":"6854476d9e1aeaaf05ebc98d610061c2075db07d"},{"fixed":"b7d08929178c16398278613df07ad65cf63cce9d"},{"fixed":"5b7ae04969f822283a95c866967e42b4d75e0eef"},{"fixed":"912c4b66bef713a20775cfbf3b5e9bd71525c716"},{"fixed":"26e84445f02ce6b2fe5f3e0e28ff7add77f35e08"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39864.json"}}],"schema_version":"1.7.5"}