syzbot


BUG: scheduling while atomic in rtnl_lock

Status: auto-obsoleted due to no activity on 2024/06/18 15:08
Reported-by: syzbot+8e1770f9b9a54fa59ad8@syzkaller.appspotmail.com
First crash: 245d, last: 245d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 BUG: scheduling while atomic in rtnl_lock 1 208d 208d 0/2 auto-obsoleted due to no activity on 2024/07/26 09:11

Sample crash report:
BUG: scheduling while atomic: syz-executor.1/25210/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff840c1db6>] netlink_lock_table net/netlink/af_netlink.c:470 [inline]
[<ffffffff840c1db6>] netlink_broadcast_filtered+0x76/0x1220 net/netlink/af_netlink.c:1535
CPU: 1 PID: 25210 Comm: syz-executor.1 Tainted: G        W         5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
 dump_stack+0x15/0x17 lib/dump_stack.c:113
 __schedule_bug+0x195/0x260 kernel/sched/core.c:5707
 schedule_debug kernel/sched/core.c:5734 [inline]
 __schedule+0xd19/0x1590 kernel/sched/core.c:6402
 schedule+0x11f/0x1e0 kernel/sched/core.c:6595
 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6654
 mutex_optimistic_spin kernel/locking/mutex.c:521 [inline]
 __mutex_lock_common kernel/locking/mutex.c:620 [inline]
 __mutex_lock+0x5b5/0x1870 kernel/locking/mutex.c:755
 __mutex_lock_slowpath+0xe/0x10 kernel/locking/mutex.c:1006
 mutex_lock+0x135/0x1e0 kernel/locking/mutex.c:288
 rtnl_lock+0x15/0x20 net/core/rtnetlink.c:72
 ip_tunnel_init_net+0x27f/0x750 net/ipv4/ip_tunnel.c:1069
 ipgre_tap_init_net+0x29/0x30 net/ipv4/ip_gre.c:1701
 ops_init+0x1cf/0x4a0 net/core/net_namespace.c:135
 setup_net+0x34b/0xb50 net/core/net_namespace.c:329
 copy_net_ns+0x35c/0x5b0 net/core/net_namespace.c:473
 create_new_namespaces+0x416/0x670 kernel/nsproxy.c:110
 copy_namespaces+0x1d1/0x220 kernel/nsproxy.c:178
 copy_process+0x1174/0x3290 kernel/fork.c:2267
 kernel_clone+0x21e/0x9e0 kernel/fork.c:2662
 __do_sys_clone kernel/fork.c:2788 [inline]
 __se_sys_clone kernel/fork.c:2772 [inline]
 __x64_sys_clone+0x23f/0x290 kernel/fork.c:2772
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f2c4de01da9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2c4cb62078 EFLAGS: 00000202 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f2c4df30050 RCX: 00007f2c4de01da9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000738c0480
RBP: 00007f2c4de4e47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 000000000000000b R14: 00007f2c4df30050 R15: 00007ffd1fd625e8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/20 15:05 android13-5.15-lts 993bed180178 5b7d42ae .config console log report info ci2-android-5-15-perf BUG: scheduling while atomic in rtnl_lock
* Struck through repros no longer work on HEAD.