syzbot


WARNING in generic_make_request (4)

Status: auto-obsoleted due to no activity on 2023/01/12 01:32
Reported-by: syzbot+6fbe8b87144296797810@syzkaller.appspotmail.com
First crash: 622d, last: 590d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in generic_make_request (3) 3 867d 981d 0/1 auto-closed as invalid on 2022/04/09 15:05
linux-4.19 WARNING in generic_make_request 5 1531d 1781d 0/1 auto-closed as invalid on 2020/06/14 13:31
linux-4.19 WARNING in generic_make_request (2) 5 1160d 1294d 0/1 auto-closed as invalid on 2021/06/20 14:33

Sample crash report:
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
generic_make_request: Trying to write to read-only block-device nullb0 (partno 0)
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0xa/0xf lib/fault-inject.c:149
WARNING: CPU: 1 PID: 13515 at block/blk-core.c:2183 bio_check_ro block/blk-core.c:2183 [inline]
WARNING: CPU: 1 PID: 13515 at block/blk-core.c:2183 generic_make_request_checks+0x17d9/0x22e0 block/blk-core.c:2288
Kernel panic - not syncing: panic_on_warn set ...

 should_fail_alloc_page mm/page_alloc.c:3088 [inline]
 prepare_alloc_pages mm/page_alloc.c:4346 [inline]
 __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393
 alloc_pages_current+0x193/0x2a0 mm/mempolicy.c:2197
 alloc_pages include/linux/gfp.h:532 [inline]
 __page_cache_alloc+0x76/0x90 mm/filemap.c:969
 __do_page_cache_readahead+0x1a1/0x6c0 mm/readahead.c:195
 ra_submit mm/internal.h:66 [inline]
 ondemand_readahead.isra.0+0x575/0xd40 mm/readahead.c:493
 page_cache_sync_readahead mm/readahead.c:528 [inline]
 page_cache_sync_readahead+0x275/0x520 mm/readahead.c:510
 generic_file_buffered_read mm/filemap.c:2115 [inline]
 generic_file_read_iter+0x1497/0x2b60 mm/filemap.c:2385
 blkdev_read_iter+0x127/0x1c0 fs/block_dev.c:1971
 call_read_iter include/linux/fs.h:1815 [inline]
 generic_file_splice_read+0x44a/0x6d0 fs/splice.c:308
 do_splice_to+0x10e/0x160 fs/splice.c:881
 splice_direct_to_actor+0x2b9/0x8d0 fs/splice.c:959
 do_splice_direct+0x1a7/0x270 fs/splice.c:1068
 do_sendfile+0x550/0xc30 fs/read_write.c:1447
 __do_sys_sendfile64 fs/read_write.c:1508 [inline]
 __se_sys_sendfile64+0x147/0x160 fs/read_write.c:1494
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f12638cc409
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1262241168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f12639def80 RCX: 00007f12638cc409
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003
RBP: 00007f12622411d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000100000001 R11: 0000000000000246 R12: 0000000000000002
R13: 00007ffc5c6016ef R14: 00007f1262241300 R15: 0000000000022000
CPU: 1 PID: 13515 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:bio_check_ro block/blk-core.c:2183 [inline]
RIP: 0010:generic_make_request_checks+0x17d9/0x22e0 block/blk-core.c:2288
Code: ca 0a 00 00 45 8b b6 1c 05 00 00 48 8d 74 24 68 48 89 ef e8 b9 14 06 00 48 c7 c7 00 29 b2 88 48 89 c6 44 89 f2 e8 4c 94 91 04 <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02
RSP: 0018:ffff8880b2c26dc0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff8880add80040 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff814dff01 RDI: ffffed1016584daa
RBP: ffff888054587d40 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff888054587d70
R13: ffff888054587d48 R14: 0000000000000000 R15: 0000000000000000
 generic_make_request+0x23f/0xdf0 block/blk-core.c:2412
 submit_bio+0xb1/0x430 block/blk-core.c:2576
 submit_bh_wbc+0x5a7/0x760 fs/buffer.c:3090
 __block_write_full_page+0x71a/0xf60 fs/buffer.c:1777
 block_write_full_page+0x1f3/0x260 fs/buffer.c:2951
 __writepage+0x5e/0xe0 mm/page-writeback.c:2305
 write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
 generic_writepages mm/page-writeback.c:2329 [inline]
 generic_writepages+0xdb/0x150 mm/page-writeback.c:2318
 do_writepages+0xe5/0x290 mm/page-writeback.c:2344
 __filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
 file_write_and_wait_range+0x93/0x100 mm/filemap.c:776
 blkdev_fsync+0x67/0xd0 fs/block_dev.c:638
 vfs_fsync_range+0x13a/0x220 fs/sync.c:197
 generic_write_sync include/linux/fs.h:2750 [inline]
 blkdev_write_iter+0x383/0x490 fs/block_dev.c:1946
 call_write_iter include/linux/fs.h:1821 [inline]
 do_iter_readv_writev+0x668/0x790 fs/read_write.c:681
 do_iter_write+0x182/0x5d0 fs/read_write.c:960
 vfs_iter_write+0x70/0xa0 fs/read_write.c:973
 iter_file_splice_write+0x60d/0xbb0 fs/splice.c:750
 do_splice_from fs/splice.c:852 [inline]
 direct_splice_actor+0x115/0x160 fs/splice.c:1025
 splice_direct_to_actor+0x33f/0x8d0 fs/splice.c:980
 do_splice_direct+0x1a7/0x270 fs/splice.c:1068
 do_sendfile+0x550/0xc30 fs/read_write.c:1447
 __do_sys_sendfile64 fs/read_write.c:1508 [inline]
 __se_sys_sendfile64+0x147/0x160 fs/read_write.c:1494
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f30bd9f5409
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f30bc349168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f30bdb08050 RCX: 00007f30bd9f5409
RDX: 0000000000000000 RSI: 0000000000000008 RDI: 0000000000000007
RBP: 00007f30bda50367 R08: 0000000000000000 R09: 0000000000000000
R10: 000000008000000a R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffecdf96cff R14: 00007f30bc349300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/14 01:31 linux-4.19.y 3f8a27f9e27b b884348d .config console log report info ci2-linux-4-19 WARNING in generic_make_request
2022/08/13 00:23 linux-4.19.y 3f8a27f9e27b 8dfcaa3d .config console log report info ci2-linux-4-19 WARNING in generic_make_request
* Struck through repros no longer work on HEAD.