MINIX-fs: mounting unchecked file system, running fsck is recommended MINIX-fs: mounting unchecked file system, running fsck is recommended MINIX-fs: mounting unchecked file system, running fsck is recommended MINIX-fs: mounting unchecked file system, running fsck is recommended attempt to access beyond end of device BUG: unable to handle kernel NULL pointer dereference at (null) IP: test_and_set_bit arch/x86/include/asm/bitops.h:220 [inline] IP: test_and_set_bit_lock arch/x86/include/asm/bitops.h:234 [inline] IP: trylock_buffer include/linux/buffer_head.h:367 [inline] IP: lock_buffer include/linux/buffer_head.h:373 [inline] IP: alloc_branch fs/minix/itree_common.c:88 [inline] IP: get_block+0x6a3/0x1100 fs/minix/itree_common.c:191 loop5: rw=0, want=129050, limit=52 PGD 8c377067 P4D 8c377067 PUD 8bc83067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 13899 Comm: syz-executor.1 Not tainted 4.14.183-syzkaller #0 buffer_io_error: 11 callbacks suppressed Buffer I/O error on dev loop5, logical block 64524, async page read Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880a4894540 task.stack: ffff8880460a8000 RIP: 0010:test_and_set_bit arch/x86/include/asm/bitops.h:220 [inline] RIP: 0010:test_and_set_bit_lock arch/x86/include/asm/bitops.h:234 [inline] RIP: 0010:trylock_buffer include/linux/buffer_head.h:367 [inline] RIP: 0010:lock_buffer include/linux/buffer_head.h:373 [inline] RIP: 0010:alloc_branch fs/minix/itree_common.c:88 [inline] RIP: 0010:get_block+0x6a3/0x1100 fs/minix/itree_common.c:191 RSP: 0018:ffff8880460af808 EFLAGS: 00010246 attempt to access beyond end of device RAX: 0000000000000007 RBX: ffff8880460af910 RCX: 1ffffffff0fe7914 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff8880a4894564 RBP: ffff8880460af988 R08: 0000000000000001 R09: 0000000000000003 R10: ffff8880a4894e40 R11: ffff8880a4894540 R12: ffff8880513c5578 loop5: rw=0, want=31006, limit=52 R13: ffff8880460af8d4 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fb1eb9b7700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Buffer I/O error on dev loop5, logical block 15502, async page read CR2: 0000000000000000 CR3: 00000000a55bf000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: attempt to access beyond end of device loop5: rw=0, want=446, limit=52 minix_get_block+0xd6/0x100 fs/minix/inode.c:379 Buffer I/O error on dev loop5, logical block 222, async page read __block_write_begin_int+0x33a/0x1000 fs/buffer.c:2038 attempt to access beyond end of device __block_write_begin fs/buffer.c:2088 [inline] block_write_begin+0x58/0x260 fs/buffer.c:2147 loop5: rw=0, want=129050, limit=52 minix_write_begin+0x35/0xc0 fs/minix/inode.c:415 generic_perform_write+0x1c9/0x420 mm/filemap.c:3047 Buffer I/O error on dev loop5, logical block 64524, async page read __generic_file_write_iter+0x227/0x590 mm/filemap.c:3172 attempt to access beyond end of device generic_file_write_iter+0x36f/0x650 mm/filemap.c:3200 call_write_iter include/linux/fs.h:1778 [inline] new_sync_write fs/read_write.c:469 [inline] __vfs_write+0x44e/0x630 fs/read_write.c:482 loop5: rw=0, want=31006, limit=52 Buffer I/O error on dev loop5, logical block 15502, async page read vfs_write+0x17f/0x4d0 fs/read_write.c:544 attempt to access beyond end of device SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 loop5: rw=0, want=446, limit=52 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 Buffer I/O error on dev loop5, logical block 222, async page read entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45ca69 RSP: 002b:00007fb1eb9b6c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000050cf60 RCX: 000000000045ca69 audit: type=1800 audit(1591770341.048:496): pid=13890 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor.4" name="file0" dev="sda1" ino=16608 res=0 RDX: 000000000000fd14 RSI: 0000000020000000 RDI: 0000000000000005 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff audit: type=1800 audit(1591770341.078:497): pid=13889 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor.3" name="file0" dev="sda1" ino=16610 res=0 R13: 0000000000000cfc R14: 00000000004cf542 R15: 00007fb1eb9b76d4 Code: audit: type=1800 audit(1591770341.078:498): pid=13899 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor.1" name="file0" dev="sda1" ino=16611 res=0 ef audit: type=1800 audit(1591770341.128:499): pid=13888 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed" comm="syz-executor.5" name="/" dev="loop5" ino=1 res=0 08 00 00 49 8b bf 28 01 00 00 b9 08 00 00 00 e8 13 57 c6 ff 31 d2 be 74 01 00 00 48 c7 c7 e0 e7 99 86 49 89 c7 e8 6d 28 6d ff 49 0f ba 2f 02 0f 83 1e fe ff ff e8 cc c8 89 ff 4c 89 ff e8 RIP: test_and_set_bit arch/x86/include/asm/bitops.h:220 [inline] RSP: ffff8880460af808 RIP: test_and_set_bit_lock arch/x86/include/asm/bitops.h:234 [inline] RSP: ffff8880460af808 RIP: trylock_buffer include/linux/buffer_head.h:367 [inline] RSP: ffff8880460af808 RIP: lock_buffer include/linux/buffer_head.h:373 [inline] RSP: ffff8880460af808 RIP: alloc_branch fs/minix/itree_common.c:88 [inline] RSP: ffff8880460af808 RIP: get_block+0x6a3/0x1100 fs/minix/itree_common.c:191 RSP: ffff8880460af808 CR2: 0000000000000000 ---[ end trace ebacd392acb47e38 ]---