syzbot


WARNING in mac80211_hwsim_config_mac_nl

Status: upstream: reported on 2024/11/10 08:44
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+9ea265d998de25ac6a46@syzkaller.appspotmail.com
First crash: 11d, last: 3d03h
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] wifi: mac80211: fix vif addr when switching from monitor to station 1 (1) 2024/11/15 11:58
[syzbot] [wireless?] WARNING in mac80211_hwsim_config_mac_nl 0 (1) 2024/11/10 08:44

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 18141 at drivers/net/wireless/virtual/mac80211_hwsim.c:1445 mac80211_hwsim_config_mac_nl+0x2b2/0x370 drivers/net/wireless/virtual/mac80211_hwsim.c:1445
Modules linked in:
CPU: 0 UID: 0 PID: 18141 Comm: syz.0.3425 Not tainted 6.12.0-rc6-syzkaller-01561-ga71c69f51d11 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:mac80211_hwsim_config_mac_nl+0x2b2/0x370 drivers/net/wireless/virtual/mac80211_hwsim.c:1445
Code: 48 8b 3c 24 4c 89 fe 44 89 ea 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d e9 eb f8 ff ff e8 f6 8a 8d fa eb 05 e8 ef 8a 8d fa 90 <0f> 0b 90 e9 10 fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 90 fd
RSP: 0018:ffffc9000353f6b0 EFLAGS: 00010283
RAX: ffffffff87074f71 RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc90004821000 RSI: 00000000000061fa RDI: 00000000000061fb
RBP: 0000000000000000 R08: ffffffff87074d7d R09: 1ffffffff203acf5
R10: dffffc0000000000 R11: ffffffff8706bdc0 R12: ffff88802832ee32
R13: 0000000000000000 R14: 0000000000000001 R15: ffff888030fe30a0
FS:  00007f2249ca66c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f46a76656c0 CR3: 0000000031386000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 mac80211_hwsim_add_interface+0x9a/0x320 drivers/net/wireless/virtual/mac80211_hwsim.c:2136
 drv_add_interface+0x2f8/0x8e0 net/mac80211/driver-ops.c:73
 ieee80211_do_open+0x73d/0x2430 net/mac80211/iface.c:1373
 ieee80211_open+0x192/0x200 net/mac80211/iface.c:458
 __dev_open+0x2d3/0x450 net/core/dev.c:1476
 __dev_change_flags+0x1e2/0x6f0 net/core/dev.c:8943
 dev_change_flags+0x8b/0x1a0 net/core/dev.c:9015
 devinet_ioctl+0xcce/0x1ac0 net/ipv4/devinet.c:1208
 inet_ioctl+0x3d7/0x4f0 net/ipv4/af_inet.c:1001
 sock_do_ioctl+0x158/0x460 net/socket.c:1227
 sock_ioctl+0x626/0x8e0 net/socket.c:1346
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:893
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2248f7e31b
Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
RSP: 002b:00007f2249ca4e60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f2249ca4f80 RCX: 00007f2248f7e31b
RDX: 00007f2249ca4ee0 RSI: 0000000000008914 RDI: 0000000000000010
RBP: 0000000000000010 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000024
R13: 0000000000000048 R14: 00007f2249ca4fa0 R15: 00007f2249ca4ee0
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/14 21:29 net-next a71c69f51d11 77f3eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in mac80211_hwsim_config_mac_nl
2024/11/14 12:06 net-next a71c69f51d11 77f3eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in mac80211_hwsim_config_mac_nl
2024/11/12 02:30 net-next a885a6b2d37e 97fe5517 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in mac80211_hwsim_config_mac_nl
2024/11/06 08:38 net-next ccb35037c48a 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in mac80211_hwsim_config_mac_nl
* Struck through repros no longer work on HEAD.