syzbot


KMSAN: uninit-value in cfg80211_tx_mlme_mgmt

Status: upstream: reported on 2025/02/26 15:44
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+5a7b40bcb34dea5ca959@syzkaller.appspotmail.com
First crash: 5d06h, last: 5d06h
Discussions (2)
Title Replies (including bot) Last reply
[RFC PATCH] wifi: mac80211: Prevent disconnect reports when no AP is associated 1 (1) 2025/02/27 09:09
[syzbot] [wireless?] KMSAN: uninit-value in cfg80211_tx_mlme_mgmt 0 (1) 2025/02/26 15:44

Sample crash report:
 cfg80211_wiphy_work+0x396/0x860 net/wireless/core.c:435
 process_one_work kernel/workqueue.c:3236 [inline]
 process_scheduled_works+0xc1a/0x1e80 kernel/workqueue.c:3317
 worker_thread+0xea7/0x14f0 kernel/workqueue.c:3398
 kthread+0x6b9/0xef0 kernel/kthread.c:464
 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
---[ end trace 0000000000000000 ]---
=====================================================
BUG: KMSAN: uninit-value in cfg80211_tx_mlme_mgmt+0x155/0x300 net/wireless/mlme.c:226
 cfg80211_tx_mlme_mgmt+0x155/0x300 net/wireless/mlme.c:226
 ieee80211_report_disconnect net/mac80211/mlme.c:4238 [inline]
 ieee80211_sta_connection_lost+0xfa/0x150 net/mac80211/mlme.c:7811
 ieee80211_sta_work+0x1dea/0x4ef0
 ieee80211_iface_work+0x1900/0x1970 net/mac80211/iface.c:1684
 cfg80211_wiphy_work+0x396/0x860 net/wireless/core.c:435
 process_one_work kernel/workqueue.c:3236 [inline]
 process_scheduled_works+0xc1a/0x1e80 kernel/workqueue.c:3317
 worker_thread+0xea7/0x14f0 kernel/workqueue.c:3398
 kthread+0x6b9/0xef0 kernel/kthread.c:464
 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244

Local variable frame_buf created at:
 ieee80211_sta_connection_lost+0x43/0x150 net/mac80211/mlme.c:7806
 ieee80211_sta_work+0x1dea/0x4ef0

CPU: 1 UID: 0 PID: 4086 Comm: kworker/u8:16 Tainted: G        W          6.14.0-rc3-syzkaller-00267-gff202c5028a1 #0
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Workqueue: events_unbound cfg80211_wiphy_work
=====================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/22 15:34 upstream ff202c5028a1 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in cfg80211_tx_mlme_mgmt
* Struck through repros no longer work on HEAD.