syzbot


INFO: trying to register non-static key in red_destroy

Status: fixed on 2020/09/16 22:51
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+6e95a4fabf88dc217145@syzkaller.appspotmail.com
Fix commit: 608b4adab178 net_sched: initialize timer earlier in red_init()
First crash: 1594d, last: 1568d
Cause bisection: failed (error log, bisect log)
  
Discussions (2)
Title Replies (including bot) Last reply
[Patch net-next] net_sched: initialize timer earlier in red_init() 3 (3) 2020/07/29 00:41
INFO: trying to register non-static key in red_destroy 0 (1) 2020/07/05 11:52
Last patch testing requests (1)
Created Duration User Patch Repo Result
2020/07/24 20:41 16m xiyou.wangcong@gmail.com https://github.com/congwang/linux.git net-next OK

Sample crash report:
batman_adv: batadv0: Interface activated: batadv_slave_1
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 1 PID: 6788 Comm: syz-executor510 Not tainted 5.8.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x18f/0x20d lib/dump_stack.c:118
 assign_lock_key kernel/locking/lockdep.c:894 [inline]
 register_lock_class+0x157d/0x1630 kernel/locking/lockdep.c:1206
 __lock_acquire+0xfa/0x56e0 kernel/locking/lockdep.c:4259
 lock_acquire+0x1f1/0xad0 kernel/locking/lockdep.c:4959
 del_timer_sync+0xab/0x270 kernel/time/timer.c:1354
 red_destroy+0x33/0x70 net/sched/sch_red.c:219
 qdisc_create+0xcd9/0x12e0 net/sched/sch_api.c:1294
 tc_modify_qdisc+0x4c8/0x1990 net/sched/sch_api.c:1661
 rtnetlink_rcv_msg+0x44e/0xad0 net/core/rtnetlink.c:5460
 netlink_rcv_skb+0x15a/0x430 net/netlink/af_netlink.c:2469
 netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline]
 netlink_unicast+0x533/0x7d0 net/netlink/af_netlink.c:1329
 netlink_sendmsg+0x856/0xd90 net/netlink/af_netlink.c:1918
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:672
 ____sys_sendmsg+0x331/0x810 net/socket.c:2352
 ___sys_sendmsg+0xf3/0x170 net/socket.c:2406
 __sys_sendmmsg+0x195/0x480 net/socket.c:2496
 __do_sys_sendmmsg net/socket.c:2525 [inline]
 __se_sys_sendmmsg net/socket.c:2522 [inline]
 __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2522
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:359
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x4434e9
Code: Bad RIP value.
RSP: 002b:00007ffc7993dc38 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004434e9
RDX: 0492492492492642 RSI: 0000000020000180 RDI: 0000000000000004
RBP: 00007ffc7993dc40 R08: 0000000001bbbbbb R09: 0000000001bbbbbb
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc7993dc50
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
------------[ cut here ]------------
ODEBUG: assert_init not available (active state 0) object type: timer_list hint: 0x0

Crashes (318):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/01 13:14 net-next-old 2b04a6615615 39acb39d .config console log report syz C ci-upstream-net-kasan-gce
2020/07/01 16:03 linux-next aab2003999e7 39acb39d .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/07/25 01:38 net-next-old 1b6687e31a2d 554af388 .config console log report ci-upstream-net-kasan-gce
2020/07/25 00:15 net-next-old 1b6687e31a2d 554af388 .config console log report ci-upstream-net-kasan-gce
2020/07/24 12:43 net-next-old 1b6687e31a2d 554af388 .config console log report ci-upstream-net-kasan-gce
2020/07/24 05:30 net-next-old 7fc3b978a897 70c104a1 .config console log report ci-upstream-net-kasan-gce
2020/07/24 04:17 net-next-old 7fc3b978a897 70c104a1 .config console log report ci-upstream-net-kasan-gce
2020/07/23 22:54 net-next-old 7fc3b978a897 70c104a1 .config console log report ci-upstream-net-kasan-gce
2020/07/23 16:16 net-next-old 7fc3b978a897 340ea530 .config console log report ci-upstream-net-kasan-gce
2020/07/23 10:32 net-next-old a6c0d0934f0d 340ea530 .config console log report ci-upstream-net-kasan-gce
2020/07/23 08:58 net-next-old a6c0d0934f0d 340ea530 .config console log report ci-upstream-net-kasan-gce
2020/07/23 06:11 net-next-old a6c0d0934f0d 340ea530 .config console log report ci-upstream-net-kasan-gce
2020/07/23 05:10 net-next-old a6c0d0934f0d 340ea530 .config console log report ci-upstream-net-kasan-gce
2020/07/23 03:12 net-next-old a6c0d0934f0d 340ea530 .config console log report ci-upstream-net-kasan-gce
2020/07/23 01:29 net-next-old a6c0d0934f0d 340ea530 .config console log report ci-upstream-net-kasan-gce
2020/07/22 21:23 net-next-old fa56a987449b 128cd85f .config console log report ci-upstream-net-kasan-gce
2020/07/22 17:57 net-next-old fa56a987449b 128cd85f .config console log report ci-upstream-net-kasan-gce
2020/07/22 12:16 net-next-old fa56a987449b 128cd85f .config console log report ci-upstream-net-kasan-gce
2020/07/22 09:48 net-next-old fa56a987449b 128cd85f .config console log report ci-upstream-net-kasan-gce
2020/07/22 05:06 net-next-old 71d4364abdc5 21f1765e .config console log report ci-upstream-net-kasan-gce
2020/07/22 02:00 net-next-old 71d4364abdc5 21f1765e .config console log report ci-upstream-net-kasan-gce
2020/07/21 12:26 net-next-old 4f1b4da541db d88894e6 .config console log report ci-upstream-net-kasan-gce
2020/07/21 09:57 net-next-old 4f1b4da541db d88894e6 .config console log report ci-upstream-net-kasan-gce
2020/07/21 02:08 net-next-old 7dce80c2a526 4285ffa3 .config console log report ci-upstream-net-kasan-gce
2020/07/21 01:04 net-next-old 7dce80c2a526 4285ffa3 .config console log report ci-upstream-net-kasan-gce
2020/07/20 21:55 net-next-old 7dce80c2a526 4285ffa3 .config console log report ci-upstream-net-kasan-gce
2020/07/20 20:32 net-next-old 7dce80c2a526 4285ffa3 .config console log report ci-upstream-net-kasan-gce
2020/07/20 11:09 net-next-old 7dce80c2a526 9c812472 .config console log report ci-upstream-net-kasan-gce
2020/07/20 05:22 net-next-old a050d82f5b04 9c812472 .config console log report ci-upstream-net-kasan-gce
2020/07/19 09:49 net-next-old a050d82f5b04 9c812472 .config console log report ci-upstream-net-kasan-gce
2020/07/01 11:41 net-next-old 2b04a6615615 917afeaa .config console log report ci-upstream-net-kasan-gce
2020/07/27 08:54 linux-next 26027945c94a 51265195 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/27 07:45 linux-next 26027945c94a 51265195 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/27 06:41 linux-next 26027945c94a 51265195 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/27 03:32 linux-next 26027945c94a 51265195 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/25 22:30 linux-next 26027945c94a 1f7cc1ca .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/25 13:43 linux-next 26027945c94a 1f7cc1ca .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/25 10:36 linux-next 26027945c94a 1f7cc1ca .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/24 16:23 linux-next 26027945c94a 554af388 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/24 08:55 linux-next 4f5baedd579d 70c104a1 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/22 19:34 linux-next 73aece61f643 128cd85f .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/22 06:34 linux-next de2e69cfe54a 21f1765e .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/21 22:52 linux-next de2e69cfe54a 21f1765e .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/21 08:14 linux-next ab8be66e724e d88894e6 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/20 09:53 linux-next 4c43049f19a2 9c812472 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/20 08:29 linux-next 4c43049f19a2 9c812472 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/19 21:42 linux-next 4c43049f19a2 9c812472 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/19 15:36 linux-next 4c43049f19a2 9c812472 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/19 13:41 linux-next 4c43049f19a2 9c812472 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/19 12:36 linux-next 4c43049f19a2 9c812472 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/19 08:16 linux-next 4c43049f19a2 9c812472 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.