syzbot


BUG: scheduling while atomic in print_tainted

Status: auto-obsoleted due to no activity on 2023/07/29 03:22
Subsystems: serial
[Documentation on labels]
Reported-by: syzbot+2954935ad581bb2fdf6a@syzkaller.appspotmail.com
First crash: 433d, last: 360d

Sample crash report:
BUG: scheduling while atomic: syz-executor.0/22233/0x00000002
Modules linked in:
Preemption disabled at:
[<809234c8>] gsmld_write+0x30/0x90 drivers/tty/n_gsm.c:3509
Kernel panic - not syncing: scheduling while atomic: panic_on_warn set ...
CPU: 1 PID: 22233 Comm: syz-executor.0 Not tainted 6.3.0-syzkaller #0
Hardware name: ARM-Versatile Express
Backtrace: 
[<817b2528>] (dump_backtrace) from [<817b261c>] (show_stack+0x18/0x1c arch/arm/kernel/traps.c:256)
 r7:81d81ac0 r6:82422c04 r5:60000093 r4:81d901cc
[<817b2604>] (show_stack) from [<817cec84>] (__dump_stack lib/dump_stack.c:88 [inline])
[<817b2604>] (show_stack) from [<817cec84>] (dump_stack_lvl+0x48/0x54 lib/dump_stack.c:106)
[<817cec3c>] (dump_stack_lvl) from [<817ceca8>] (dump_stack+0x18/0x1c lib/dump_stack.c:113)
 r5:00000000 r4:8264dd14
[<817cec90>] (dump_stack) from [<817b3110>] (panic+0x11c/0x36c kernel/panic.c:340)
[<817b2ff4>] (panic) from [<802422ec>] (print_tainted+0x0/0xa0 kernel/panic.c:236)
 r3:8240c488 r2:00000001 r1:81d846f4 r0:81d81ac0
 r7:822adc00
[<80242268>] (check_panic_on_warn) from [<80275e70>] (__schedule_bug+0x88/0x9c kernel/sched/core.c:5855)
[<80275de8>] (__schedule_bug) from [<817d2cf4>] (schedule_debug kernel/sched/core.c:5884 [inline])
[<80275de8>] (__schedule_bug) from [<817d2cf4>] (__schedule+0x9d8/0xc18 kernel/sched/core.c:6519)
 r5:ddde5c00 r4:00000000
[<817d231c>] (__schedule) from [<817d2f90>] (schedule+0x5c/0xac kernel/sched/core.c:6701)
 r10:00000000 r9:00000000 r8:00000000 r7:00000002 r6:82429d24 r5:84b70000
 r4:84b70000
[<817d2f34>] (schedule) from [<817d9d78>] (schedule_timeout+0xd0/0x108 kernel/time/timer.c:2143)
 r5:84b70000 r4:7fffffff
[<817d9ca8>] (schedule_timeout) from [<817d6a7c>] (___down_common kernel/locking/semaphore.c:225 [inline])
[<817d9ca8>] (schedule_timeout) from [<817d6a7c>] (__down_common+0x108/0x2b4 kernel/locking/semaphore.c:246)
 r6:82429d24 r5:84b70000 r4:7fffffff
[<817d6974>] (__down_common) from [<817d6c40>] (__down+0x18/0x1c kernel/locking/semaphore.c:254)
 r9:853276c0 r8:855ef800 r7:a0000013 r6:8552dd80 r5:8558a400 r4:82429d24
[<817d6c28>] (__down) from [<817d6c90>] (down+0x4c/0x60 kernel/locking/semaphore.c:63)
[<817d6c44>] (down) from [<802aebac>] (console_lock+0x14/0x38 kernel/printk/printk.c:2609)
 r4:8558a400
[<802aeb98>] (console_lock) from [<809323e8>] (con_flush_chars drivers/tty/vt/vt.c:3314 [inline])
[<802aeb98>] (console_lock) from [<809323e8>] (con_flush_chars+0x3c/0x54 drivers/tty/vt/vt.c:3306)
[<809323ac>] (con_flush_chars) from [<80937d8c>] (con_write+0x20/0x28 drivers/tty/vt/vt.c:3245)
 r5:8558a400 r4:00000000
[<80937d6c>] (con_write) from [<809234f4>] (gsmld_write+0x5c/0x90 drivers/tty/n_gsm.c:3512)
 r5:00000000 r4:8558a400
[<80923498>] (gsmld_write) from [<80914d90>] (do_tty_write drivers/tty/tty_io.c:1018 [inline])
[<80923498>] (gsmld_write) from [<80914d90>] (file_tty_write.constprop.0+0x13c/0x2bc drivers/tty/tty_io.c:1089)
 r9:853276c0 r8:eab99ef0 r7:00000000 r6:8558a400 r5:00000000 r4:855ef800
[<80914c54>] (file_tty_write.constprop.0) from [<80914fb8>] (tty_write+0x14/0x18 drivers/tty/tty_io.c:1110)
 r10:00004004 r9:84b70000 r8:00000000 r7:eab99f68 r6:00000000 r5:853276c0
 r4:80914fa4
[<80914fa4>] (tty_write) from [<804bd0a4>] (call_write_iter include/linux/fs.h:1851 [inline])
[<80914fa4>] (tty_write) from [<804bd0a4>] (new_sync_write fs/read_write.c:491 [inline])
[<80914fa4>] (tty_write) from [<804bd0a4>] (vfs_write+0x2c4/0x3bc fs/read_write.c:584)
[<804bcde0>] (vfs_write) from [<804bd304>] (ksys_write+0x68/0xec fs/read_write.c:637)
 r10:00000004 r9:84b70000 r8:80200288 r7:00000000 r6:00000000 r5:853276c0
 r4:853276c1
[<804bd29c>] (ksys_write) from [<804bd398>] (__do_sys_write fs/read_write.c:649 [inline])
[<804bd29c>] (ksys_write) from [<804bd398>] (sys_write+0x10/0x14 fs/read_write.c:646)
 r7:00000004 r6:0014c348 r5:00000000 r4:00000000
[<804bd388>] (sys_write) from [<80200060>] (ret_fast_syscall+0x0/0x1c arch/arm/mm/proc-v7.S:66)
Exception stack(0xeab99fa8 to 0xeab99ff0)
9fa0:                   00000000 00000000 00000004 00000000 00000000 00000000
9fc0: 00000000 00000000 0014c348 00000004 7ea323c2 76bb46d0 7ea32534 76bb420c
9fe0: 76bb4020 76bb4010 00017004 0004dfb0
Rebooting in 86400 seconds..

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/30 03:21 upstream 457391b03803 62df2017 .config console log report info ci-qemu2-arm32 BUG: scheduling while atomic in print_tainted
2023/03/19 07:42 upstream 534293368afa 7939252e .config console log report info ci-qemu2-arm32 BUG: scheduling while atomic in print_tainted
2023/02/16 04:03 upstream 033c40a89f55 6be0f1f5 .config console log report info ci-qemu2-arm32 BUG: scheduling while atomic in print_tainted
* Struck through repros no longer work on HEAD.