syzbot


BUG: scheduling while atomic in ext4_file_read_iter

Status: premoderation: reported on 2024/04/13 17:29
Reported-by: syzbot+f10688da6a67216f452c@syzkaller.appspotmail.com
First crash: 21d, last: 21d

Sample crash report:
BUG: scheduling while atomic: syz-executor.2/4230/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff81fd116f>] jbd2_log_wait_commit+0x20f/0x360 fs/jbd2/journal.c:714
CPU: 0 PID: 4230 Comm: syz-executor.2 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_preempt_disabled+0x13/0x20 kernel/sched/core.c:6654
 rwsem_down_read_slowpath kernel/locking/rwsem.c:1071 [inline]
 __down_read_common kernel/locking/rwsem.c:1287 [inline]
 __down_read kernel/locking/rwsem.c:1300 [inline]
 down_read+0x8c8/0xf80 kernel/locking/rwsem.c:1551
 inode_lock_shared include/linux/fs.h:816 [inline]
 ext4_dio_read_iter fs/ext4/file.c:63 [inline]
 ext4_file_read_iter+0x1b6/0x4b0 fs/ext4/file.c:130
 call_read_iter include/linux/fs.h:2196 [inline]
 generic_file_splice_read+0x4aa/0x780 fs/splice.c:311
 do_splice_to fs/splice.c:796 [inline]
 splice_direct_to_actor+0x439/0xbe0 fs/splice.c:870
 do_splice_direct+0x27f/0x3c0 fs/splice.c:979
 do_sendfile+0x616/0xfe0 fs/read_write.c:1249
 __do_sys_sendfile64 fs/read_write.c:1317 [inline]
 __se_sys_sendfile64 fs/read_write.c:1303 [inline]
 __x64_sys_sendfile64+0x1ce/0x230 fs/read_write.c:1303
 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:0x7efd88c61e69
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:00007efd879d50c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007efd88d8ff80 RCX: 00007efd88c61e69
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000003
RBP: 00007efd88cae47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000800000009 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007efd88d8ff80 R15: 00007ffc66688358
 </TASK>

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