Buffer I/O error on dev loop3, logical block 2459534949, async page read attempt to access beyond end of device loop3: rw=0, want=2761009532, limit=272 Buffer I/O error on dev loop3, logical block 1380504765, async page read INFO: task syz-executor.1:15580 blocked for more than 140 seconds. Not tainted 4.19.164-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D30104 15580 8130 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] vfs_setxattr+0xc7/0x270 fs/xattr.c:254 setxattr+0x23d/0x330 fs/xattr.c:520 __do_sys_fsetxattr fs/xattr.c:575 [inline] __se_sys_fsetxattr+0x14d/0x1b0 fs/xattr.c:564 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45e219 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f221e6e0c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000be RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e219 RDX: 00000000200001c0 RSI: 0000000020000180 RDI: 0000000000000007 RBP: 000000000119c078 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 000000000119c034 R13: 00007fffb14ba78f R14: 00007f221e6e19c0 R15: 000000000119c034 INFO: task syz-executor.2:15583 blocked for more than 140 seconds. Not tainted 4.19.164-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29968 15583 8132 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:589 [inline] rwsem_down_write_failed+0x3aa/0x760 kernel/locking/rwsem-xadd.c:618 call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:117 __down_write arch/x86/include/asm/rwsem.h:142 [inline] down_write+0x4f/0x90 kernel/locking/rwsem.c:72 inode_lock include/linux/fs.h:748 [inline] vfs_setxattr+0xc7/0x270 fs/xattr.c:254 setxattr+0x23d/0x330 fs/xattr.c:520 __do_sys_fsetxattr fs/xattr.c:575 [inline] __se_sys_fsetxattr+0x14d/0x1b0 fs/xattr.c:564 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45e219 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f33e8e2ec68 EFLAGS: 00000246 ORIG_RAX: 00000000000000be RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e219 RDX: 00000000200001c0 RSI: 0000000020000180 RDI: 0000000000000007 RBP: 000000000119c078 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 000000000119c034 R13: 00007fffedf5fa6f R14: 00007f33e8e2f9c0 R15: 000000000119c034 Showing all locks held in the system: 1 lock held by khungtaskd/1560: #0: 000000009194b6f4 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4440 1 lock held by kswapd0/1964: 1 lock held by in:imklog/7803: #0: 00000000063f735e (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 3 locks held by syz-executor.4/15566: 3 locks held by syz-executor.1/15568: 2 locks held by syz-executor.1/15580: #0: 00000000169917d3 (sb_writers#17){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000169917d3 (sb_writers#17){.+.+}, at: mnt_want_write_file+0x63/0x1d0 fs/namespace.c:418 #1: 00000000b8b44257 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000b8b44257 (&type->i_mutex_dir_key#9){+.+.}, at: vfs_setxattr+0xc7/0x270 fs/xattr.c:254 3 locks held by syz-executor.2/15575: 2 locks held by syz-executor.2/15583: #0: 00000000f2deee97 (sb_writers#17){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000f2deee97 (sb_writers#17){.+.+}, at: mnt_want_write_file+0x63/0x1d0 fs/namespace.c:418 #1: 00000000f47a2b49 (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000f47a2b49 (&type->i_mutex_dir_key#9){+.+.}, at: vfs_setxattr+0xc7/0x270 fs/xattr.c:254 2 locks held by syz-executor.5/15604: #0: 000000004be948a0 (sb_writers#17){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 000000004be948a0 (sb_writers#17){.+.+}, at: mnt_want_write_file+0x63/0x1d0 fs/namespace.c:418 #1: 00000000d80b45df (&type->i_mutex_dir_key#9){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #1: 00000000d80b45df (&type->i_mutex_dir_key#9){+.+.}, at: vfs_setxattr+0xc7/0x270 fs/xattr.c:254 4 locks held by syz-executor.5/15605: 7 locks held by syz-executor.3/15893: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1560 Comm: khungtaskd Not tainted 4.19.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2fe lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1eb lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 15568 Comm: syz-executor.1 Not tainted 4.19.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x50 kernel/kcov.c:100 Code: 00 6e 88 4c 89 25 ec 58 bf 0b 41 bc f4 ff ff ff e8 20 fa ea ff 48 c7 05 d6 58 bf 0b 00 00 00 00 e9 39 ec ff ff 90 48 8b 34 24 <65> 48 8b 04 25 80 df 01 00 65 8b 15 0c 0e 9d 7e 81 e2 00 01 1f 00 RSP: 0018:ffff888238ff7830 EFLAGS: 00000202 RAX: 0000000000000002 RBX: 0000000000000001 RCX: ffffffff81b34060 RDX: 0000000000000001 RSI: ffffffff81b3406d RDI: 0000000000000001 RBP: 000000000000000f R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: 00000000003545c4 R14: ffffea0008c74500 R15: ffff888046413930 FS: 00007f221e702700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055c8c02f15b8 CR3: 000000023a418000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: constant_test_bit arch/x86/include/asm/bitops.h:317 [inline] PagePrivate include/linux/page-flags.h:304 [inline] __find_get_block_slow fs/buffer.c:213 [inline] __find_get_block+0x62d/0xde0 fs/buffer.c:1295 __getblk_slow+0x14a/0x9e0 fs/buffer.c:1040 __getblk_gfp fs/buffer.c:1321 [inline] __bread_gfp+0x218/0x300 fs/buffer.c:1366 sb_bread include/linux/buffer_head.h:309 [inline] get_branch fs/minix/itree_common.c:46 [inline] get_block+0x288/0x1420 fs/minix/itree_common.c:166 minix_get_block+0xbb/0x110 fs/minix/inode.c:401 block_read_full_page+0x288/0xd10 fs/buffer.c:2259 do_read_cache_page+0x533/0x1170 mm/filemap.c:2828 read_mapping_page include/linux/pagemap.h:402 [inline] dir_get_page fs/minix/dir.c:70 [inline] minix_empty_dir+0x16f/0x990 fs/minix/dir.c:372 minix_rmdir+0x3d/0xd0 fs/minix/namei.c:174 vfs_rmdir.part.0+0x10f/0x3d0 fs/namei.c:3882 vfs_rmdir fs/namei.c:3868 [inline] do_rmdir+0x3fd/0x490 fs/namei.c:3943 __do_sys_unlinkat fs/namei.c:4105 [inline] __se_sys_unlinkat fs/namei.c:4099 [inline] __x64_sys_unlinkat+0xdf/0x120 fs/namei.c:4099 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45e219 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f221e701c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000107 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045e219 RDX: 0000000000000200 RSI: 0000000020000140 RDI: 0000000000000007 RBP: 000000000119bfc0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007fffb14ba78f R14: 00007f221e7029c0 R15: 000000000119bf8c