syzbot


WARNING in __dev_queue_xmit (5)

Status: upstream: reported C repro on 2024/12/17 17:58
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+0a884bc2d304ce4af70f@syzkaller.appspotmail.com
Fix commit: 5eb70dbebf32 netdev-genl: avoid empty messages in queue dump
Patched on: [ci-qemu-gce-upstream-auto ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-snapshot-upstream-root 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], missing on: [ci-qemu-native-arm64-kvm ci-qemu2-arm32 ci-qemu2-riscv64 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci2-upstream-usb]
First crash: 59d, last: 5d13h
Discussions (2)
Title Replies (including bot) Last reply
[PATCH net] netdev-genl: avoid empty messages in queue dump 5 (5) 2024/12/19 03:30
[syzbot] [net?] WARNING in __dev_queue_xmit (5) 0 (1) 2024/12/17 17:58
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __dev_queue_xmit (3) net C error inconclusive 20 532d 555d 0/28 auto-obsoleted due to no activity on 2023/11/09 02:33
linux-5.15 WARNING in __dev_queue_xmit C 107 66d 150d 0/3 upstream: reported C repro on 2024/07/23 19:57
upstream WARNING in __dev_queue_xmit (4) net C 387 61d 107d 28/28 fixed on 2024/10/22 11:57
upstream WARNING in __dev_queue_xmit C done 16774 666d 879d 22/28 fixed on 2023/02/24 14:17
upstream WARNING in __dev_queue_xmit (2) net C 76 594d 665d 22/28 fixed on 2023/06/08 14:41
linux-6.1 WARNING in __dev_queue_xmit 43 66d 166d 0/3 upstream: reported on 2024/07/08 03:37
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/11/22 14:52 13m edumazet@google.com upstream report log

Sample crash report:
netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
------------[ cut here ]------------
skb_assert_len
WARNING: CPU: 0 PID: 5230 at include/linux/skbuff.h:2679 skb_assert_len include/linux/skbuff.h:2679 [inline]
WARNING: CPU: 0 PID: 5230 at include/linux/skbuff.h:2679 __dev_queue_xmit+0x22cf/0x4350 net/core/dev.c:4345
Modules linked in:
CPU: 0 UID: 0 PID: 5230 Comm: syz-executor319 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:skb_assert_len include/linux/skbuff.h:2679 [inline]
RIP: 0010:__dev_queue_xmit+0x22cf/0x4350 net/core/dev.c:4345
Code: 27 31 9c f8 40 84 ed 75 25 e8 3d 2f 9c f8 c6 05 a6 22 15 07 01 90 48 c7 c6 40 dc 7a 8c 48 c7 c7 60 ab 7a 8c e8 f2 ad 5d f8 90 <0f> 0b 90 90 e8 18 2f 9c f8 0f b6 2d 80 22 15 07 31 ff 89 ee e8 e8
RSP: 0018:ffffc900034df188 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88807fcdba00 RCX: ffffffff814e38b9
RDX: ffff88801cb09e00 RSI: ffffffff814e38c6 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff88807fcdba10
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888074776000
FS:  000055555dc25380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000180 CR3: 000000007444e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 dev_queue_xmit include/linux/netdevice.h:3094 [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+0xa8a/0xcf0 net/netlink/af_netlink.c:338
 __netlink_sendskb net/netlink/af_netlink.c:1275 [inline]
 netlink_sendskb net/netlink/af_netlink.c:1284 [inline]
 netlink_unicast+0x6b4/0x7f0 net/netlink/af_netlink.c:1372
 nlmsg_unicast include/net/netlink.h:1158 [inline]
 genlmsg_unicast include/net/genetlink.h:549 [inline]
 genlmsg_reply include/net/genetlink.h:559 [inline]
 netdev_nl_queue_get_doit+0x37f/0x6a0 net/core/netdev-genl.c:405
 genl_family_rcv_msg_doit+0x202/0x2f0 net/netlink/genetlink.c:1115
 genl_family_rcv_msg net/netlink/genetlink.c:1195 [inline]
 genl_rcv_msg+0x565/0x800 net/netlink/genetlink.c:1210
 netlink_rcv_skb+0x165/0x410 net/netlink/af_netlink.c:2551
 genl_rcv+0x28/0x40 net/netlink/genetlink.c:1219
 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline]
 netlink_unicast+0x53c/0x7f0 net/netlink/af_netlink.c:1357
 netlink_sendmsg+0x8b8/0xd70 net/netlink/af_netlink.c:1901
 sock_sendmsg_nosec net/socket.c:729 [inline]
 __sock_sendmsg net/socket.c:744 [inline]
 ____sys_sendmsg+0x9ae/0xb40 net/socket.c:2607
 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2661
 __sys_sendmsg+0x117/0x1f0 net/socket.c:2690
 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:0x7f22f09cf9b9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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:00007ffc0ffdccf8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f22f0a1d482 RCX: 00007f22f09cf9b9
RDX: 0000000000000810 RSI: 0000000020001640 RDI: 0000000000000004
RBP: 00007f22f0a1d460 R08: 0000555500000000 R09: 0000555500000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f22f0a1d3e5
R13: 0000000000000001 R14: 00007ffc0ffdcd40 R15: 0000000000000003
 </TASK>

Crashes (41):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/23 14:59 upstream c2ee9f594da8 15fa2979 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/10/23 14:10 upstream c2ee9f594da8 15fa2979 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/10/23 13:20 upstream c2ee9f594da8 15fa2979 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/10/23 12:27 upstream c2ee9f594da8 15fa2979 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/12/16 01:20 upstream dccbe2047a5b 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/12/16 01:20 upstream dccbe2047a5b 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/12/15 04:11 upstream a0e3919a2df2 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/12/15 03:22 upstream a0e3919a2df2 7cbfbb3a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/12/12 08:00 upstream f92f4749861b 6f1b0fa8 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/12/12 07:19 upstream f92f4749861b 6f1b0fa8 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/12/12 06:33 upstream f92f4749861b 6f1b0fa8 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/12/12 06:32 upstream f92f4749861b 6f1b0fa8 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/28 14:27 upstream b86545e02e8c 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/17 14:09 upstream 4a5df3796467 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/17 03:01 upstream e8bdb3c8be08 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/16 11:29 upstream f868cd251776 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/15 20:18 upstream f868cd251776 eeafb645 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/15 14:35 upstream cfaaa7d010d1 eeafb645 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/15 00:44 upstream cfaaa7d010d1 f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/15 00:44 upstream cfaaa7d010d1 f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/14 20:20 upstream cfaaa7d010d1 77f3eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/14 08:45 upstream 0a9b9d17f3a7 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/14 06:43 upstream 0a9b9d17f3a7 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/14 01:05 upstream 0a9b9d17f3a7 a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/13 17:24 upstream f1b785f4c787 4dfba277 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/13 11:48 upstream 3022e9d00ebe 62026c85 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/11 18:51 upstream 2d5404caa8c7 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/06 08:44 upstream 2e1b3cc9d7f7 3a465482 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/04 03:09 upstream a33ab3f94f51 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/04 03:07 upstream a33ab3f94f51 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/04 02:22 upstream a33ab3f94f51 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/03 22:29 upstream a33ab3f94f51 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/02 21:03 upstream 11066801dd4b f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/01 20:59 upstream 6c52d4da1c74 9f6834c9 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/01 19:40 upstream 6c52d4da1c74 9f6834c9 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/11/01 19:08 upstream 6c52d4da1c74 9f6834c9 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/10/31 20:30 upstream 0fc810ae3ae1 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/10/31 12:41 upstream 0fc810ae3ae1 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/10/29 03:10 upstream e42b1a9a2557 5fe1d0f5 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/10/27 23:28 upstream ea1fda89f5b2 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
2024/10/23 11:39 upstream c2ee9f594da8 15fa2979 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __dev_queue_xmit
* Struck through repros no longer work on HEAD.