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
Fix commit: wifi: mac80211: fix vif addr when switching from monitor to station
Patched on: [ci-upstream-linux-next-kasan-gce-root], missing on: [ci-qemu-gce-upstream-auto ci-qemu-native-arm64-kvm ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-snapshot-upstream-root ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 29d, last: 18h38m
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: 2 PID: 8100 at drivers/net/wireless/virtual/mac80211_hwsim.c:1445 mac80211_hwsim_config_mac_nl.isra.0+0xe0/0x330 drivers/net/wireless/virtual/mac80211_hwsim.c:1445
Modules linked in:
CPU: 2 UID: 0 PID: 8100 Comm: syz.1.616 Not tainted 6.13.0-rc1-syzkaller-00025-gfeffde684ac2 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:mac80211_hwsim_config_mac_nl.isra.0+0xe0/0x330 drivers/net/wireless/virtual/mac80211_hwsim.c:1445
Code: 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 3f 02 00 00 0f b7 6b 04 31 ff 44 09 fd 89 ee e8 5a b3 d9 fa 85 ed 75 09 e8 11 b1 d9 fa 90 <0f> 0b 90 e8 08 b1 d9 fa 31 ff 44 89 f6 e8 3e b3 d9 fa 45 85 f6 75
RSP: 0018:ffffc900039ef768 EFLAGS: 00010287
RAX: 000000000000e890 RBX: ffff888031adae32 RCX: ffffc90007a84000
RDX: 0000000000080000 RSI: ffffffff86c054ff RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88804f2830a0
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f372d26a6c0(0000) GS:ffff88806a800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055556ef14808 CR3: 000000004e736000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 mac80211_hwsim_add_interface+0x2d6/0x370 drivers/net/wireless/virtual/mac80211_hwsim.c:2136
 drv_add_interface+0x1b4/0x970 net/mac80211/driver-ops.c:73
 ieee80211_do_open+0x127f/0x1e80 net/mac80211/iface.c:1373
 ieee80211_open+0x18a/0x260 net/mac80211/iface.c:458
 __dev_open+0x2d4/0x4e0 net/core/dev.c:1476
 __dev_change_flags+0x561/0x720 net/core/dev.c:8943
 dev_change_flags+0x8f/0x160 net/core/dev.c:9015
 devinet_ioctl+0x11d9/0x1f50 net/ipv4/devinet.c:1208
 inet_ioctl+0x3aa/0x3f0 net/ipv4/af_inet.c:1001
 sock_do_ioctl+0x116/0x280 net/socket.c:1209
 sock_ioctl+0x228/0x6c0 net/socket.c:1328
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:906 [inline]
 __se_sys_ioctl fs/ioctl.c:892 [inline]
 __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f372c37fb1b
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:00007f372d268e80 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f372d268fa0 RCX: 00007f372c37fb1b
RDX: 00007f372d268f00 RSI: 0000000000008914 RDI: 0000000000000004
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000024
R13: 0000000000000048 R14: 00007f372d268fc0 R15: 00007f372d268f00
 </TASK>

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/05 07:15 upstream feffde684ac2 29f61fce .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in mac80211_hwsim_config_mac_nl
2024/12/03 04:54 upstream cdd30ebb1b9f bb326ffb .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in mac80211_hwsim_config_mac_nl
2024/12/02 17:05 upstream e70140ba0d2b b499ea68 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in mac80211_hwsim_config_mac_nl
2024/11/30 15:40 upstream 2ba9f676d0a2 68914665 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in mac80211_hwsim_config_mac_nl
2024/11/30 05:20 upstream 2ba9f676d0a2 68914665 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in mac80211_hwsim_config_mac_nl
2024/11/29 17:52 upstream 7af08b57bcb9 b5d2be89 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in mac80211_hwsim_config_mac_nl
2024/11/28 22:07 upstream 65ae975e97d5 5df23865 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in mac80211_hwsim_config_mac_nl
2024/11/29 18:02 upstream 7af08b57bcb9 b5d2be89 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in mac80211_hwsim_config_mac_nl
2024/11/29 08:52 upstream 65ae975e97d5 5df23865 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in mac80211_hwsim_config_mac_nl
2024/11/25 06:17 upstream 9f16d5e6f220 68da6d95 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in mac80211_hwsim_config_mac_nl
2024/11/22 08:32 upstream 28eb75e178d3 4b25d554 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in mac80211_hwsim_config_mac_nl
2024/11/22 08:32 upstream 28eb75e178d3 4b25d554 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in mac80211_hwsim_config_mac_nl
2024/11/29 06:07 net f6d7695b5ae2 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in mac80211_hwsim_config_mac_nl
2024/11/29 01:52 net f6d7695b5ae2 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in mac80211_hwsim_config_mac_nl
2024/11/28 22:11 net 8d5c1b8c3e71 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in mac80211_hwsim_config_mac_nl
2024/12/03 03:45 net-next b32913a5609a bb326ffb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in mac80211_hwsim_config_mac_nl
2024/11/29 10:07 net-next 65ae975e97d5 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in mac80211_hwsim_config_mac_nl
2024/11/29 10:05 net-next 65ae975e97d5 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in mac80211_hwsim_config_mac_nl
2024/11/29 03:23 net-next fcc79e1714e8 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in mac80211_hwsim_config_mac_nl
2024/11/28 22:02 net-next fcc79e1714e8 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in mac80211_hwsim_config_mac_nl
2024/11/28 05:41 net-next fcc79e1714e8 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in mac80211_hwsim_config_mac_nl
2024/11/20 22:07 net-next dd7207838d38 4fca1650 .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 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.