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: 83d, last: 2h46m
Discussions (3)
Title Replies (including bot) Last reply
[PATCH v2] wifi: mac80211: Prevent disconnect reports when no AP is associated 3 (3) 2025/04/24 08:29
[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:
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
---[ end trace 0000000000000000 ]---
=====================================================
BUG: KMSAN: uninit-value in cfg80211_tx_mlme_mgmt+0x155/0x2f0 net/wireless/mlme.c:226
 cfg80211_tx_mlme_mgmt+0x155/0x2f0 net/wireless/mlme.c:226
 ieee80211_report_disconnect net/mac80211/mlme.c:4438 [inline]
 ieee80211_sta_connection_lost net/mac80211/mlme.c:8098 [inline]
 ieee80211_sta_work+0x1a4d/0x1c30 net/mac80211/mlme.c:8365
 ieee80211_iface_work+0x1ae0/0x1b50 net/mac80211/iface.c:1698
 cfg80211_wiphy_work+0x357/0x820 net/wireless/core.c:435
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xb97/0x1d90 kernel/workqueue.c:3319
 worker_thread+0xedf/0x1590 kernel/workqueue.c:3400
 kthread+0xd59/0xf00 kernel/kthread.c:464
 ret_from_fork+0x6e/0x90 arch/x86/kernel/process.c:153
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245

Local variable frame_buf.i407 created at:
 ieee80211_sta_connection_lost net/mac80211/mlme.c:8093 [inline]
 ieee80211_sta_work+0x1942/0x1c30 net/mac80211/mlme.c:8365
 ieee80211_iface_work+0x1ae0/0x1b50 net/mac80211/iface.c:1698

CPU: 0 UID: 0 PID: 3819 Comm: kworker/u8:10 Tainted: G        W           6.15.0-rc6-syzkaller-00234-g83a896549f92 #0 PREEMPT(undef) 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: events_unbound cfg80211_wiphy_work
=====================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/17 03:33 upstream 83a896549f92 f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root KMSAN: uninit-value in cfg80211_tx_mlme_mgmt
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.