syzbot


BUG: scheduling while atomic in folio_wait_bit_common

Status: auto-obsoleted due to no activity on 2024/07/31 19:00
Reported-by: syzbot+02d44b59afcc87529bd6@syzkaller.appspotmail.com
First crash: 241d, last: 215d

Sample crash report:
BUG: scheduling while atomic: syz-executor.4/13959/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff81ef3bb0>] ext4_es_lookup_extent+0xd0/0x950 fs/ext4/extents_status.c:1001
CPU: 0 PID: 13959 Comm: syz-executor.4 Not tainted 6.1.75-syzkaller-00080-gea3c70fb959a #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/0x1b lib/dump_stack.c:113
 __schedule_bug+0x195/0x260 kernel/sched/core.c:5964
 schedule_debug kernel/sched/core.c:5991 [inline]
 __schedule+0xcf7/0x1550 kernel/sched/core.c:6626
 schedule+0xc3/0x180 kernel/sched/core.c:6809
 io_schedule+0x8f/0x120 kernel/sched/core.c:8988
 folio_wait_bit_common+0x847/0xb80 mm/filemap.c:1310
 folio_wait_bit+0x27/0x30 mm/filemap.c:1454
 folio_wait_writeback+0x95/0x1f0 mm/page-writeback.c:3039
 wait_on_page_writeback+0x5c/0x70 mm/folio-compat.c:32
 __filemap_fdatawait_range+0x1b9/0x330 mm/filemap.c:538
 file_write_and_wait_range+0x218/0x2b0 mm/filemap.c:792
 ext4_sync_file+0x1a2/0xa50 fs/ext4/fsync.c:151
 vfs_fsync_range+0x17b/0x190 fs/sync.c:188
 generic_write_sync include/linux/fs.h:2951 [inline]
 ext4_buffered_write_iter+0x587/0x640 fs/ext4/file.c:292
 ext4_file_write_iter+0x194/0x1570
 __kernel_write_iter+0x2ff/0x710 fs/read_write.c:517
 dump_emit_page fs/coredump.c:881 [inline]
 dump_user_range+0x469/0x6f0 fs/coredump.c:908
 elf_core_dump+0x3746/0x4030 fs/binfmt_elf.c:2312
 do_coredump+0x1909/0x2730 fs/coredump.c:755
 get_signal+0x13ff/0x1820 kernel/signal.c:2866
 arch_do_signal_or_restart+0xb0/0x16f0 arch/x86/kernel/signal.c:871
 exit_to_user_mode_loop+0x74/0xa0 kernel/entry/common.c:168
 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:204
 irqentry_exit_to_user_mode+0x9/0x20 kernel/entry/common.c:310
 irqentry_exit+0x12/0x40 kernel/entry/common.c:413
 exc_page_fault+0x4f3/0x700 arch/x86/mm/fault.c:1565
 asm_exc_page_fault+0x27/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7fcf8ca7deb1
Code: 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 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:0000000000000040 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007fcf8cbabf80 RCX: 00007fcf8ca7dea9
RDX: 0000000000000000 RSI: 0000000000000040 RDI: 0000000000000000
RBP: 00007fcf8caca4a4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fcf8cbabf80 R15: 00007fff02cd7d48
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/02 18:53 android14-6.1 ea3c70fb959a 3ba885bc .config console log report info ci2-android-6-1 BUG: scheduling while atomic in folio_wait_bit_common
2024/05/02 10:37 android14-6.1 6657c436ed73 3ba885bc .config console log report info ci2-android-6-1-perf BUG: scheduling while atomic in folio_wait_bit_common
2024/04/28 00:52 android14-6.1 fa87a072a7fc 07b455f9 .config console log report info ci2-android-6-1-perf BUG: scheduling while atomic in folio_wait_bit_common
2024/04/27 19:15 android14-6.1 fa87a072a7fc 07b455f9 .config console log report info ci2-android-6-1-perf BUG: scheduling while atomic in folio_wait_bit_common
2024/04/21 21:57 android14-6.1 dcb09569bbff af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in folio_wait_bit_common
2024/04/15 19:52 android14-6.1 99aea323a3fd b9af7e61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in folio_wait_bit_common
2024/04/14 00:31 android14-6.1 cfa154389a65 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in folio_wait_bit_common
2024/04/13 18:01 android14-6.1 cfa154389a65 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf BUG: scheduling while atomic in folio_wait_bit_common
2024/04/07 03:10 android14-6.1 60534eef4739 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: scheduling while atomic in folio_wait_bit_common
* Struck through repros no longer work on HEAD.