syzbot


BUG: scheduling while atomic in do_sys_poll

Status: premoderation: reported on 2024/03/25 07:24
Reported-by: syzbot+a262aa8b4c1216586d17@syzkaller.appspotmail.com
First crash: 40d, last: 33d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 BUG: scheduling while atomic in do_sys_poll origin:lts C 8 18d 18d 0/2 upstream: reported C repro on 2024/04/15 22:23

Sample crash report:
BUG: scheduling while atomic: sshd/284/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff81459d0b>] spin_lock_irq include/linux/spinlock.h:388 [inline]
[<ffffffff81459d0b>] __set_current_blocked+0x11b/0x2f0 kernel/signal.c:3082
CPU: 1 PID: 284 Comm: sshd Tainted: G        W         5.15.148-syzkaller-00718-g993bed180178 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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_hrtimeout_range_clock+0x1ef/0x360 kernel/time/hrtimer.c:2307
 schedule_hrtimeout_range+0x2a/0x40 kernel/time/hrtimer.c:2353
 poll_schedule_timeout fs/select.c:243 [inline]
 do_poll fs/select.c:964 [inline]
 do_sys_poll+0xe20/0x12d0 fs/select.c:1014
 __do_sys_ppoll fs/select.c:1120 [inline]
 __se_sys_ppoll+0x29c/0x330 fs/select.c:1100
 __x64_sys_ppoll+0xbf/0xd0 fs/select.c:1100
 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:0x7f26a5992ad5
Code: 85 d2 74 0d 0f 10 02 48 8d 54 24 20 0f 11 44 24 20 64 8b 04 25 18 00 00 00 85 c0 75 27 41 b8 08 00 00 00 b8 0f 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 75 48 8b 15 24 73 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffdc1aa6370 EFLAGS: 00000246 ORIG_RAX: 000000000000010f
RAX: ffffffffffffffda RBX: 00000000000668a0 RCX: 00007f26a5992ad5
RDX: 00007ffdc1aa6390 RSI: 0000000000000004 RDI: 00005589ea4fdb20
RBP: 00005589ea4fc5e0 R08: 0000000000000008 R09: 0000000000000000
R10: 00007ffdc1aa6478 R11: 0000000000000246 R12: 00005589e9927aa4
R13: 0000000000000001 R14: 00005589e99283e8 R15: 00007ffdc1aa63f8
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/01 17:06 android13-5.15-lts 993bed180178 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_sys_poll
2024/03/31 16:50 android13-5.15-lts 993bed180178 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_sys_poll
2024/03/25 07:23 android13-5.15-lts 993bed180178 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15-perf BUG: scheduling while atomic in do_sys_poll
* Struck through repros no longer work on HEAD.