syzbot


BUG: scheduling while atomic in syslog_print

Status: premoderation: reported on 2024/04/04 17:03
Reported-by: syzbot+5fd422150c5e123e4dea@syzkaller.appspotmail.com
First crash: 30d, last: 13d

Sample crash report:
BUG: scheduling while atomic: klogd/89/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff8165eb4a>] is_module_text_address+0x1a/0x140 kernel/module.c:4811
CPU: 0 PID: 89 Comm: klogd Tainted: G        W         5.15.148-syzkaller-00013-gad06eaf051cd #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
 syslog_print+0x28a/0x990 kernel/printk/printk.c:1538
 do_syslog+0x340/0x830 kernel/printk/printk.c:1691
 __do_sys_syslog kernel/printk/printk.c:1783 [inline]
 __se_sys_syslog kernel/printk/printk.c:1781 [inline]
 __x64_sys_syslog+0x7c/0x90 kernel/printk/printk.c:1781
 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:0x7f512c1acfa7
Code: 73 01 c3 48 8b 0d 81 ce 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 67 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 51 ce 0c 00 f7 d8 64 89 01 48
RSP: 002b:00007ffe450b4798 EFLAGS: 00000206 ORIG_RAX: 0000000000000067
RAX: ffffffffffffffda RBX: 00007f512c34b4a0 RCX: 00007f512c1acfa7
RDX: 00000000000003ff RSI: 00007f512c34b4a0 RDI: 0000000000000002
RBP: 0000000000000000 R08: 0000000000000007 R09: 899dd6d3f50ec6f0
R10: 0000000000004000 R11: 0000000000000206 R12: 00007f512c34b4a0
R13: 00007f512c33b212 R14: 00007f512c34b525 R15: 00007f512c34b525
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/21 08:35 android13-5.15-lts ad06eaf051cd af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in syslog_print
2024/04/04 17:02 android13-5.15-lts 993bed180178 0ee3535e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: scheduling while atomic in syslog_print
* Struck through repros no longer work on HEAD.