syzbot


WARNING in qdisc_alloc

Status: fixed on 2024/06/05 13:52
Subsystems: net
[Documentation on labels]
Fix commit: 86735b57c905 net/sched: unregister lockdep keys in qdisc_create/qdisc_alloc error path
First crash: 159d, last: 145d
Cause bisection: failed (error log, bisect log)
  

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5089 at kernel/locking/lockdep.c:1226 lockdep_register_key+0x37f/0x3f0 kernel/locking/lockdep.c:1226
Modules linked in:
CPU: 0 PID: 5089 Comm: syz-executor125 Not tainted 6.9.0-rc5-syzkaller-01459-gc2e6a872bde9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:lockdep_register_key+0x37f/0x3f0 kernel/locking/lockdep.c:1226
Code: 80 3c 33 00 74 08 4c 89 e7 e8 bd 8b 88 00 f6 44 24 41 02 75 1a f7 44 24 18 00 02 00 00 0f 84 a7 fd ff ff fb e9 a1 fd ff ff 90 <0f> 0b 90 eb a2 e8 67 c9 0f 0a f7 44 24 18 00 02 00 00 0f 84 88 fd
RSP: 0018:ffffc9000335eec0 EFLAGS: 00010046
RAX: 1ffffffff26f0e33 RBX: ffff888022588298 RCX: 0000000000000001
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc9000335ee20
RBP: ffffc9000335ef88 R08: 0000000000000003 R09: fffff5200066bdc4
R10: dffffc0000000000 R11: fffff5200066bdc4 R12: ffff888022588298
R13: ffff888022588298 R14: dffffc0000000000 R15: 1ffff9200066bddc
FS:  0000555575ae4380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000080 CR3: 000000007a180000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 qdisc_alloc+0x1a1/0xa90 net/sched/sch_generic.c:948
 qdisc_create+0x182/0x1190 net/sched/sch_api.c:1299
 tc_modify_qdisc+0xa26/0x1e40 net/sched/sch_api.c:1776
 rtnetlink_rcv_msg+0x89b/0x10d0 net/core/rtnetlink.c:6594
 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2564
 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline]
 netlink_unicast+0x7ea/0x980 net/netlink/af_netlink.c:1361
 netlink_sendmsg+0x8e1/0xcb0 net/netlink/af_netlink.c:1905
 sock_sendmsg_nosec net/socket.c:730 [inline]
 __sock_sendmsg+0x221/0x270 net/socket.c:745
 ____sys_sendmsg+0x525/0x7d0 net/socket.c:2584
 ___sys_sendmsg net/socket.c:2638 [inline]
 __sys_sendmsg+0x2b0/0x3a0 net/socket.c:2667
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe7ad0f6b79
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 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:00007fffa16c9dd8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe7ad0f6b79
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000004
RBP: 00000000000121de R08: 0000000000000006 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fffa16c9dec
R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (1069):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/01 20:15 net-next c2e6a872bde9 3ba885bc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in qdisc_alloc
2024/05/01 18:18 net-next c2e6a872bde9 3ba885bc .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in qdisc_alloc
2024/04/30 22:15 bpf-next 1bba3b3d373d 9e0e6af1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/14 05:22 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/13 23:20 bpf-next ba39486d2c43 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/13 14:42 bpf-next ba39486d2c43 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/13 07:09 bpf-next 20a759df3bba 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/13 06:09 bpf-next 20a759df3bba 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/12 05:38 bpf-next fcd1ed89a043 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/11 23:04 bpf-next fcd1ed89a043 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/11 11:53 bpf-next fcd1ed89a043 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/11 10:21 bpf-next fcd1ed89a043 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/11 06:01 bpf-next fcd1ed89a043 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/11 04:07 bpf-next fcd1ed89a043 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/11 02:54 bpf-next fcd1ed89a043 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/10 23:57 bpf-next fcd1ed89a043 f7c35481 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/10 16:46 bpf-next fcd1ed89a043 f7c35481 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/10 13:23 bpf-next fcd1ed89a043 f7c35481 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/10 11:05 bpf-next fcd1ed89a043 de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/10 07:56 bpf-next fcd1ed89a043 de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/10 05:56 bpf-next fcd1ed89a043 de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/10 01:10 bpf-next 009367099eb6 de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/09 22:12 bpf-next 009367099eb6 de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/09 17:43 bpf-next 009367099eb6 de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/09 15:52 bpf-next 009367099eb6 de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/09 15:32 bpf-next 009367099eb6 de979bc2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/09 05:58 bpf-next e612b5c1d3ee 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/09 01:31 bpf-next e612b5c1d3ee 20bf80e1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/08 16:59 bpf-next e612b5c1d3ee 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/08 10:10 bpf-next 7e2c7a3f732b 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/08 08:12 bpf-next 7e2c7a3f732b 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/08 03:46 bpf-next 7e2c7a3f732b 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/08 02:25 bpf-next 7e2c7a3f732b 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/07 19:28 bpf-next 329a6720a3eb cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/07 13:50 bpf-next 329a6720a3eb cb2dcc0e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/07 08:55 bpf-next 8e6d9ae2e09f c035c6de .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/07 05:56 bpf-next 8e6d9ae2e09f c035c6de .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/06 18:12 bpf-next a9e7715ce8b3 c035c6de .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/06 18:02 bpf-next a9e7715ce8b3 c035c6de .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/06 16:18 bpf-next a9e7715ce8b3 c035c6de .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/06 00:27 bpf-next a9e7715ce8b3 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/04 16:17 bpf-next a9e7715ce8b3 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/04 14:58 bpf-next a9e7715ce8b3 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/04 10:32 bpf-next a9e7715ce8b3 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/04 01:35 bpf-next a9e7715ce8b3 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/03 16:39 bpf-next a9e7715ce8b3 375d4445 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/03 11:34 bpf-next a9e7715ce8b3 375d4445 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in qdisc_alloc
2024/05/02 18:33 net-next 2506f6229bd0 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in qdisc_alloc
2024/05/03 06:56 linux-next 9c6ecb3cb6e2 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in qdisc_alloc
2024/05/03 05:45 linux-next 9c6ecb3cb6e2 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in qdisc_alloc
2024/05/03 04:43 linux-next 9c6ecb3cb6e2 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in qdisc_alloc
2024/05/03 03:34 linux-next 9c6ecb3cb6e2 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in qdisc_alloc
2024/05/03 02:27 linux-next 9c6ecb3cb6e2 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in qdisc_alloc
2024/05/03 01:18 linux-next 9c6ecb3cb6e2 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in qdisc_alloc
* Struck through repros no longer work on HEAD.