syzbot


BUG: scheduling while atomic in lock_sock_nested

Status: premoderation: reported on 2024/04/21 11:16
Reported-by: syzbot+e413eaf8b0eb77c236f5@syzkaller.appspotmail.com
First crash: 56d, last: 56d

Sample crash report:
BUG: scheduling while atomic: kworker/u4:5/15896/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff8400e802>] spin_lock_bh include/linux/spinlock.h:355 [inline]
[<ffffffff8400e802>] lock_sock_nested+0x92/0x300 net/core/sock.c:3502
CPU: 1 PID: 15896 Comm: kworker/u4:5 Tainted: G        W          6.1.75-syzkaller-00037-gdcb09569bbff #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: tipc_rcv tipc_conn_recv_work
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
 dump_stack+0x15/0x1b lib/dump_stack.c:113
 __schedule_bug+0x195/0x260 kernel/sched/core.c:5960
 schedule_debug kernel/sched/core.c:5987 [inline]
 __schedule+0xcf7/0x1550 kernel/sched/core.c:6622
 schedule+0xc3/0x180 kernel/sched/core.c:6805
 __lock_sock net/core/sock.c:2916 [inline]
 lock_sock_nested+0x1e4/0x300 net/core/sock.c:3504
 lock_sock include/net/sock.h:1758 [inline]
 tipc_recvmsg+0x11c/0x13b0 net/tipc/socket.c:1903
 sock_recvmsg_nosec net/socket.c:1020 [inline]
 sock_recvmsg+0xf6/0x110 net/socket.c:1038
 tipc_conn_rcv_from_sock net/tipc/topsrv.c:400 [inline]
 tipc_conn_recv_work+0x287/0x430 net/tipc/topsrv.c:423
 process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299
 worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
 kthread+0x26d/0x300 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Quota error (device loop4): do_check_range: Getting dqdh_entries 15 out of range 0-14
Quota error (device loop4): do_check_range: Getting dqdh_entries 15 out of range 0-14

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/21 11:15 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in lock_sock_nested
* Struck through repros no longer work on HEAD.