Commit dfac2c5
committed
wifi: cfg80211: fix use-after-free in cmp_bss()
jira VULN-162351
cve CVE-2025-39864
commit-author Dmitry Antipov <dmantipov@yandex.ru>
commit 26e8444
Following bss_free() quirk introduced in commit 776b358
("cfg80211: track hidden SSID networks properly"), adjust
cfg80211_update_known_bss() to free the last beacon frame
elements only if they're not shared via the corresponding
'hidden_beacon_bss' pointer.
Reported-by: syzbot+30754ca335e6fb7e3092@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=30754ca335e6fb7e3092
Fixes: 3ab8227 ("cfg80211: refactor cfg80211_bss_update")
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Link: https://patch.msgid.link/20250813135236.799384-1-dmantipov@yandex.ru
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
(cherry picked from commit 26e8444)
Signed-off-by: Brett Mastbergen <bmastbergen@ciq.com>1 parent 3a146ff commit dfac2c5
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1871 | 1871 | | |
1872 | 1872 | | |
1873 | 1873 | | |
1874 | | - | |
| 1874 | + | |
| 1875 | + | |
1875 | 1876 | | |
1876 | 1877 | | |
1877 | 1878 | | |
| |||
0 commit comments