BUG: scheduling while atomic in wait_on_page_bit_common

Status: upstream: reported C repro on 2026/07/20 23:24
Reported-by: syzbot+29e5c722420f194db5db@syzkaller.appspotmail.com
First crash: 6d13h, last: 6d13h
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 BUG: scheduling while atomic in wait_on_page_bit_common (2) 5 C 1 6d13h 6d13h 0/2 upstream: reported C repro on 2026/07/20 23:53
android-5-15 BUG: scheduling while atomic in wait_on_page_bit_common 5 10 796d 857d 0/2 auto-obsoleted due to no activity on 2024/08/19 22:38

Sample crash report:
erofs: (device loop2): z_erofs_readahead: readahead error at page 5 @ nid 89
erofs: (device loop2): z_erofs_readahead: readahead error at page 4 @ nid 89
erofs: (device loop2): z_erofs_readahead: readahead error at page 3 @ nid 89
erofs: (device loop2): z_erofs_readahead: readahead error at page 2 @ nid 89
erofs: (device loop2): z_erofs_get_extent_compressedlen: cannot found CBLKCNT @ lcn 1 of nid 89
erofs: (device loop2): z_erofs_readahead: readahead error at page 1 @ nid 89
BUG: scheduling while atomic: syz.2.17/385/0x00000002
Modules linked in:
Preemption disabled at:
[<ffffffff8215939c>] kmap_atomic include/linux/highmem.h:156 [inline]
[<ffffffff8215939c>] z_erofs_reload_indexes+0x1cc/0x450 fs/erofs/zmap.c:132
CPU: 1 PID: 385 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
Call Trace:
 __dump_stack+0x21/0x24 lib/dump_stack.c:77
 dump_stack_lvl+0x1a7/0x208 lib/dump_stack.c:118
 dump_stack+0x15/0x1c lib/dump_stack.c:135
 __schedule_bug+0x183/0x240 kernel/sched/core.c:4545
 schedule_debug kernel/sched/core.c:4572 [inline]
 __schedule+0xcee/0x13e0 kernel/sched/core.c:4700
 schedule+0x13c/0x1d0 kernel/sched/core.c:4884
 io_schedule+0x84/0xe0 kernel/sched/core.c:6593
 wait_on_page_bit_common+0x812/0xa80 mm/filemap.c:1282
 wait_on_page_bit_killable mm/filemap.c:1350 [inline]
 wait_on_page_locked_killable include/linux/pagemap.h:679 [inline]
 generic_file_buffered_read+0x92b/0x26d0 mm/filemap.c:2284
 generic_file_read_iter+0x10b/0x580 mm/filemap.c:2568
 call_read_iter include/linux/fs.h:2060 [inline]
 new_sync_read fs/read_write.c:415 [inline]
 vfs_read+0x62a/0xa50 fs/read_write.c:496
 ksys_read+0x14a/0x260 fs/read_write.c:634
 __do_sys_read fs/read_write.c:644 [inline]
 __se_sys_read fs/read_write.c:642 [inline]
 __x64_sys_read+0x7b/0x90 fs/read_write.c:642
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fed241b1e99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc1b4915a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007fed24439fa0 RCX: 00007fed241b1e99
RDX: 0000000000002020 RSI: 0000200000000940 RDI: 0000000000000004
RBP: 00007fed24247eaf R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fed24439fac R14: 00007fed24439fa0 R15: 00007fed24439fa0

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/07/20 23:34 android13-5.10-lts 50b3a256e550 de6a700d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 BUG: scheduling while atomic in wait_on_page_bit_common
2026/07/20 23:22 android13-5.10-lts 50b3a256e550 de6a700d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-android-5-10 BUG: scheduling while atomic in wait_on_page_bit_common
2026/07/20 23:11 android13-5.10-lts 50b3a256e550 de6a700d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: scheduling while atomic in wait_on_page_bit_common
* Struck through repros no longer work on HEAD.