sg_write: data in/out 196608/2 bytes for SCSI command 0x28-- guessing data in; program syz-executor.4 not setting count and/or reply_len properly netlink: 'syz-executor.4': attribute type 11 has an invalid length. INFO: task syz-executor.5:4814 blocked for more than 143 seconds. Not tainted 5.10.52 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26448 pid: 4814 ppid: 417 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:3776 [inline] __schedule+0x848/0x1e80 kernel/sched/core.c:4525 schedule+0xcb/0x270 kernel/sched/core.c:4603 io_schedule+0xb6/0x130 kernel/sched/core.c:6294 bit_wait_io+0x12/0xa0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0x131/0x1c0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0xd5/0x110 kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer fs/buffer.c:69 [inline] lock_buffer include/linux/buffer_head.h:366 [inline] __sync_dirty_buffer+0x360/0x3f0 fs/buffer.c:3142 __ext4_handle_dirty_metadata+0x290/0x730 fs/ext4/ext4_jbd2.c:364 ext4_convert_inline_data_nolock+0x671/0xdc0 fs/ext4/inline.c:1237 ext4_convert_inline_data+0x31a/0x490 fs/ext4/inline.c:1986 ext4_punch_hole+0x19e/0x10d0 fs/ext4/inode.c:4010 ext4_fallocate+0xfa8/0x3bd0 fs/ext4/extents.c:4661 vfs_fallocate+0x48f/0xcb0 fs/open.c:309 ksys_fallocate fs/open.c:332 [inline] __do_sys_fallocate fs/open.c:340 [inline] __se_sys_fallocate fs/open.c:338 [inline] __x64_sys_fallocate+0xcf/0x140 fs/open.c:338 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x466609 RSP: 002b:00007f42a0fb5188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 0000000000466609 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000003 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000080003 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffed801199f R14: 00007f42a0fb5300 R15: 0000000000022000 INFO: task syz-executor.5:4844 blocked for more than 143 seconds. Not tainted 5.10.52 #1 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28344 pid: 4844 ppid: 417 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:3776 [inline] __schedule+0x848/0x1e80 kernel/sched/core.c:4525 schedule+0xcb/0x270 kernel/sched/core.c:4603 rwsem_down_write_slowpath+0x5bc/0xbf0 kernel/locking/rwsem.c:1235 __down_write kernel/locking/rwsem.c:1401 [inline] down_write+0x13c/0x150 kernel/locking/rwsem.c:1558 ext4_setattr+0xd3d/0x2220 fs/ext4/inode.c:5429 notify_change+0xb9e/0x1080 fs/attr.c:336 do_truncate+0x134/0x1f0 fs/open.c:64 handle_truncate fs/namei.c:2905 [inline] do_open fs/namei.c:3247 [inline] path_openat+0x1d4d/0x26c0 fs/namei.c:3360 do_filp_open+0x17e/0x3c0 fs/namei.c:3387 do_sys_openat2+0x16d/0x420 fs/open.c:1180 do_sys_open fs/open.c:1196 [inline] __do_sys_creat fs/open.c:1270 [inline] __se_sys_creat fs/open.c:1264 [inline] __x64_sys_creat+0xc9/0x120 fs/open.c:1264 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x466609 RSP: 002b:00007f42a0f94188 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 0000000000466609 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200001c0 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffed801199f R14: 00007f42a0f94300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/22: #0: ffffffff84df6660 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:6377 1 lock held by in:imklog/189: 2 locks held by rs:main Q:Reg/190: #0: ffff88800d06e870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:930 #1: ffff88800df9a438 (sb_writers#3){.+.+}-{0:0}, at: ksys_write+0x12d/0x250 fs/read_write.c:658 3 locks held by syz-executor.5/4814: #0: ffff888022272438 (sb_writers#3){.+.+}-{0:0}, at: ksys_fallocate fs/open.c:332 [inline] #0: ffff888022272438 (sb_writers#3){.+.+}-{0:0}, at: __do_sys_fallocate fs/open.c:340 [inline] #0: ffff888022272438 (sb_writers#3){.+.+}-{0:0}, at: __se_sys_fallocate fs/open.c:338 [inline] #0: ffff888022272438 (sb_writers#3){.+.+}-{0:0}, at: __x64_sys_fallocate+0xcf/0x140 fs/open.c:338 #1: ffff888020733e20 (&ei->i_mmap_sem){++++}-{3:3}, at: ext4_punch_hole+0x196/0x10d0 fs/ext4/inode.c:4009 #2: ffff888020733bd8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:142 [inline] #2: ffff888020733bd8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x21e/0x490 fs/ext4/inline.c:1984 3 locks held by syz-executor.5/4844: #0: ffff888022272438 (sb_writers#3){.+.+}-{0:0}, at: do_open fs/namei.c:3236 [inline] #0: ffff888022272438 (sb_writers#3){.+.+}-{0:0}, at: path_openat+0x1a3d/0x26c0 fs/namei.c:3360 #1: ffff888020733f98 (&sb->s_type->i_mutex_key#13){++++}-{3:3}, at: inode_lock include/linux/fs.h:774 [inline] #1: ffff888020733f98 (&sb->s_type->i_mutex_key#13){++++}-{3:3}, at: do_truncate+0x125/0x1f0 fs/open.c:62 #2: ffff888020733e20 (&ei->i_mmap_sem){++++}-{3:3}, at: ext4_setattr+0xd3d/0x2220 fs/ext4/inode.c:5429 =============================================