syzbot


WARNING in __dev_queue_xmit (4)

Status: upstream: reported C repro on 2024/09/04 18:19
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+1a3986bbd3169c307819@syzkaller.appspotmail.com
Fix commit: 9d301de12da6 wifi: mac80211: use two-phase skb reclamation in ieee80211_do_stop()
Patched on: [ci-qemu-gce-upstream-auto 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-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu-native-arm64-kvm]
First crash: 127d, last: 5d00h
Discussions (3)
Title Replies (including bot) Last reply
[PATCH] wifi: mac80211: use two-phase skb reclamation in ieee80211_do_stop() 1 (1) 2024/09/06 12:31
[PATCH] wifi: cfg80211: fix UBSAN noise in cfg80211_wext_siwscan() 2 (2) 2024/09/05 16:58
[syzbot] [net?] WARNING in __dev_queue_xmit (4) 0 (1) 2024/09/04 18:19
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __dev_queue_xmit (3) net C error inconclusive 20 458d 481d 0/28 auto-obsoleted due to no activity on 2023/11/09 02:33
linux-5.15 WARNING in __dev_queue_xmit origin:upstream C 99 23h13m 77d 0/3 upstream: reported C repro on 2024/07/23 19:57
upstream WARNING in __dev_queue_xmit C done 16774 592d 806d 22/28 fixed on 2023/02/24 14:17
upstream WARNING in __dev_queue_xmit (2) net C 76 521d 592d 22/28 fixed on 2023/06/08 14:41
linux-6.1 WARNING in __dev_queue_xmit 40 6d02h 93d 0/3 upstream: reported on 2024/07/08 03:37

Sample crash report:
warning: `syz-executor452' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5199 at kernel/softirq.c:362 __local_bh_enable_ip+0xc3/0x120 kernel/softirq.c:362
Modules linked in:
CPU: 1 PID: 5199 Comm: syz-executor452 Not tainted 6.10.0-rc7-syzkaller-00141-g43db1e03c086 #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:__local_bh_enable_ip+0xc3/0x120 kernel/softirq.c:362
Code: 00 e8 01 91 0b 00 e8 ec 30 43 00 fb 65 8b 05 8c dd b1 7e 85 c0 74 52 5b 5d c3 cc cc cc cc 65 8b 05 ce 8c b0 7e 85 c0 75 9e 90 <0f> 0b 90 eb 98 e8 f3 2e 43 00 eb 99 48 89 ef e8 a9 0e 1a 00 eb a2
RSP: 0018:ffffc900032af368 EFLAGS: 00010046
RAX: 0000000000000000 RBX: 0000000000000200 RCX: 1ffffffff1fc96eb
RDX: 0000000000000000 RSI: 0000000000000200 RDI: ffffffff88c4e35d
RBP: ffffffff88c4e35d R08: 0000000000000000 R09: fffffbfff1fc9092
R10: ffffffff8fe48497 R11: 000000000000001d R12: ffff888021f9e000
R13: ffff888021f9e100 R14: ffff88801c1e40b8 R15: ffff88801c1e4000
FS:  0000555593697380(0000) GS:ffff88806b100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555638997000 CR3: 0000000026c08000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 local_bh_enable include/linux/bottom_half.h:33 [inline]
 rcu_read_unlock_bh include/linux/rcupdate.h:851 [inline]
 __dev_queue_xmit+0x872/0x4130 net/core/dev.c:4420
 dev_queue_xmit include/linux/netdevice.h:3095 [inline]
 __netlink_deliver_tap_skb net/netlink/af_netlink.c:307 [inline]
 __netlink_deliver_tap net/netlink/af_netlink.c:325 [inline]
 netlink_deliver_tap+0xa7d/0xd90 net/netlink/af_netlink.c:338
 __netlink_sendskb net/netlink/af_netlink.c:1279 [inline]
 netlink_broadcast_deliver net/netlink/af_netlink.c:1412 [inline]
 do_one_broadcast net/netlink/af_netlink.c:1499 [inline]
 netlink_broadcast_filtered+0x938/0xf10 net/netlink/af_netlink.c:1544
 nlmsg_multicast_filtered include/net/netlink.h:1125 [inline]
 genlmsg_multicast_netns_filtered include/net/genetlink.h:491 [inline]
 genlmsg_multicast_netns include/net/genetlink.h:508 [inline]
 nl80211_frame_tx_status+0xa6d/0xd00 net/wireless/nl80211.c:18952
 ieee80211_report_ack_skb net/mac80211/status.c:645 [inline]
 ieee80211_report_used_skb+0x1241/0x21c0 net/mac80211/status.c:778
 ieee80211_free_txskb+0x23/0x40 net/mac80211/status.c:1291
 ieee80211_do_stop+0xd5d/0x2200 net/mac80211/iface.c:650
 ieee80211_runtime_change_iftype net/mac80211/iface.c:1873 [inline]
 ieee80211_if_change_type+0x360/0x790 net/mac80211/iface.c:1911
 ieee80211_change_iface+0xa5/0x500 net/mac80211/cfg.c:219
 rdev_change_virtual_intf net/wireless/rdev-ops.h:74 [inline]
 cfg80211_change_iface+0x586/0xdd0 net/wireless/util.c:1215
 cfg80211_wext_siwmode+0x222/0x2b0 net/wireless/wext-compat.c:67
 ioctl_standard_call+0xd0/0x210 net/wireless/wext-core.c:1045
 wireless_process_ioctl+0x4e3/0x5e0 net/wireless/wext-core.c:983
 wext_ioctl_dispatch net/wireless/wext-core.c:1016 [inline]
 wext_ioctl_dispatch net/wireless/wext-core.c:1004 [inline]
 wext_handle_ioctl+0x23d/0x2c0 net/wireless/wext-core.c:1077
 sock_ioctl+0x3ac/0x6c0 net/socket.c:1275
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl fs/ioctl.c:893 [inline]
 __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893
 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:0x7ff609c12199
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 01 1a 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdc08407c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ff609c5f48b RCX: 00007ff609c12199
RDX: 0000000020000000 RSI: 0000000000008b06 RDI: 0000000000000003
RBP: 00007ff609c5f469 R08: 00007ffdc08408f8 R09: 00007ffdc08408f8
R10: 00007ffdc08408f8 R11: 0000000000000246 R12: 00007ff609c5f429
R13: 0000000000000031 R14: 0000000000000047 R15: 0000000000000004
 </TASK>

Crashes (382):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/12 07:00 upstream 43db1e03c086 eaeb5c15 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __dev_queue_xmit
2024/07/12 06:24 upstream 43db1e03c086 eaeb5c15 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __dev_queue_xmit
2024/10/04 10:54 upstream 3840cbe24cf0 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/10/03 15:21 upstream 7ec462100ef9 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/10/01 04:32 upstream e32cde8d2bd7 bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/09/30 22:11 upstream 9852d85ec9d4 179f4029 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/09/10 05:24 upstream bc83b4d1f086 dd9c7e97 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in __dev_queue_xmit
2024/09/06 15:49 upstream b831f83e40a2 ce70880a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in __dev_queue_xmit
2024/08/23 21:06 upstream 3d5f968a177d d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __dev_queue_xmit
2024/08/22 04:49 upstream 872cf28b8df9 ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in __dev_queue_xmit
2024/08/06 14:33 upstream b446a2dae984 e1bdb00a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in __dev_queue_xmit
2024/06/04 08:25 upstream f06ce441457d a1feae05 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 WARNING in __dev_queue_xmit
2024/09/05 15:10 upstream c763c4339688 36ae3a26 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in __dev_queue_xmit
2024/09/12 21:02 net 6513eb3d3191 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/12 19:16 net 6513eb3d3191 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/12 16:18 net 6513eb3d3191 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/12 13:41 net 6513eb3d3191 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/12 12:35 net 6513eb3d3191 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/12 11:11 net 6513eb3d3191 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/12 00:50 net 625403177711 d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/11 22:21 net d1aaaa2e0a67 d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/11 20:48 net d1aaaa2e0a67 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/11 17:14 net d1aaaa2e0a67 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/11 15:27 net d1aaaa2e0a67 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/11 14:16 net d1aaaa2e0a67 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/11 10:59 net d1aaaa2e0a67 9326a104 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/11 05:40 net 48aa361c5db0 79eef296 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/11 03:40 net 48aa361c5db0 79eef296 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/10 21:12 net 48aa361c5db0 79eef296 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/10 17:48 net 4c8002277167 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/10 15:56 net 4c8002277167 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/10 14:47 net 4c8002277167 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/10 13:04 net 4c8002277167 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/10 09:39 net 4c8002277167 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/10 07:50 net 4c8002277167 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/10 04:03 net b3c9e65eb227 dd9c7e97 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/10 02:24 net b3c9e65eb227 dd9c7e97 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/09 18:46 net b3c9e65eb227 dd9c7e97 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/09 16:52 net b3c9e65eb227 dd9c7e97 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/09 11:59 net b3c9e65eb227 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/09 11:15 net b3c9e65eb227 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/09 03:36 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/08 23:35 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/08 19:10 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/08 17:33 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/08 15:40 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/08 07:54 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/08 06:50 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/08 05:04 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/08 00:16 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/07 19:38 net d759ee240d3c 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in __dev_queue_xmit
2024/09/06 04:02 net-next 22d6adac5b17 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in __dev_queue_xmit
2024/08/16 17:53 linux-next 367b5c3d53e5 76120936 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in __dev_queue_xmit
2024/09/28 08:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 440b26ec .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __dev_queue_xmit
2024/09/27 13:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5f5673607153 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in __dev_queue_xmit
* Struck through repros no longer work on HEAD.