INFO: task syz.8.1584:11250 blocked for more than 143 seconds. Not tainted 5.15.185-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.1584 state:D stack:25056 pid:11250 ppid: 7816 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 xlog_grant_head_wait+0x359/0x810 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x25e/0x380 include/linux/spinlock.h:-1 xfs_log_reserve+0x32d/0x970 fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x222/0x690 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x3fc/0x780 fs/xfs/xfs_trans.c:288 xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047 xfs_attr_set+0x778/0x1290 fs/xfs/libxfs/xfs_attr.c:772 xfs_xattr_set+0x115/0x210 fs/xfs/xfs_xattr.c:59 __vfs_setxattr+0x3e0/0x420 fs/xattr.c:182 __vfs_setxattr_noperm+0x129/0x5e0 fs/xattr.c:216 vfs_setxattr+0x168/0x2f0 fs/xattr.c:303 do_setxattr fs/xattr.c:588 [inline] setxattr+0x2da/0x300 fs/xattr.c:611 path_setxattr+0x142/0x280 fs/xattr.c:630 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:642 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f18bd9d9929 RSP: 002b:00007f18bb841038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f18bdc00fa0 RCX: 00007f18bd9d9929 RDX: 0000200000000380 RSI: 0000200000000240 RDI: 0000200000000300 RBP: 00007f18bda5bb39 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000ff27 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18bdc00fa0 R15: 00007fffd43ad8f8 INFO: task syz.8.1584:11282 blocked for more than 143 seconds. Not tainted 5.15.185-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.1584 state:D stack:29088 pid:11282 ppid: 7816 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 rwsem_down_write_slowpath+0xc46/0x11f0 kernel/locking/rwsem.c:1165 inode_lock include/linux/fs.h:787 [inline] chown_common+0x3c6/0x610 fs/open.c:674 vfs_fchown fs/open.c:748 [inline] ksys_fchown+0xe2/0x150 fs/open.c:759 __do_sys_fchown fs/open.c:767 [inline] __se_sys_fchown fs/open.c:765 [inline] __x64_sys_fchown+0x76/0x80 fs/open.c:765 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f18bd9d9929 RSP: 002b:00007f18bb820038 EFLAGS: 00000246 ORIG_RAX: 000000000000005d RAX: ffffffffffffffda RBX: 00007f18bdc01080 RCX: 00007f18bd9d9929 RDX: 000000000000ee00 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f18bda5bb39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f18bdc01080 R15: 00007fffd43ad8f8 INFO: task syz.8.1584:11284 blocked for more than 144 seconds. Not tainted 5.15.185-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.1584 state:D stack:28392 pid:11284 ppid: 7816 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 xlog_grant_head_wait+0x359/0x810 fs/xfs/xfs_log.c:256 xlog_grant_head_check+0x25e/0x380 include/linux/spinlock.h:-1 xfs_log_reserve+0x32d/0x970 fs/xfs/xfs_log.c:464 xfs_trans_reserve+0x222/0x690 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x3fc/0x780 fs/xfs/xfs_trans.c:288 xfs_trans_alloc_icreate+0x56/0x1f0 fs/xfs/xfs_trans.c:1102 xfs_create+0x5a2/0xe60 fs/xfs/xfs_inode.c:1018 xfs_generic_create+0x332/0xa20 fs/xfs/xfs_iops.c:197 vfs_mkdir+0x387/0x570 fs/namei.c:4065 do_mkdirat+0x1d7/0x5a0 fs/namei.c:4090 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4103 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f18bd9d8197 RSP: 002b:00007f18bb7fee68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f18bb7feef0 RCX: 00007f18bd9d8197 RDX: 00000000000001ff RSI: 0000200000000300 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000200000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000300 R13: 00007f18bb7feeb0 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c11bfa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3935: #0: ffff88814c52b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002ce62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 3 locks held by kworker/0:8/4258: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90003e9fd00 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8c120930 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0xa1/0x4b0 kernel/rcu/tree.c:4039 4 locks held by udevd/4304: #0: ffff88804d9679e0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xad/0xd50 fs/seq_file.c:182 #1: ffff88807d1f7488 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x51/0x3c0 fs/kernfs/file.c:112 #2: ffff88807397ca00 (kn->active#117){++++}-{0:0}, at: kernfs_seq_start+0x71/0x3c0 fs/kernfs/file.c:113 #3: ffff88802b6d8220 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:765 [inline] #3: ffff88802b6d8220 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x22/0x90 drivers/usb/core/sysfs.c:141 2 locks held by kworker/0:21/10562: #0: ffff88805f85d138 ((wq_completion)xfs-sync/loop8){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000301fd00 ((work_completion)(&(&log->l_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 3 locks held by syz.8.1584/11250: #0: ffff888023022460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377 #1: ffff888062213f00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff888062213f00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: vfs_setxattr+0x141/0x2f0 fs/xattr.c:302 #2: ffff888023022650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_inode+0xad/0x340 fs/xfs/xfs_trans.c:1047 2 locks held by syz.8.1584/11282: #0: ffff888023022460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write_file+0x5c/0x200 fs/namespace.c:421 #1: ffff888062213f00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: inode_lock include/linux/fs.h:787 [inline] #1: ffff888062213f00 (&inode->i_sb->s_type->i_mutex_dir_key){++++}-{3:3}, at: chown_common+0x3c6/0x610 fs/open.c:674 3 locks held by syz.8.1584/11284: #0: ffff888023022460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3d/0x90 fs/namespace.c:377 #1: ffff888062214680 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:822 [inline] #1: ffff888062214680 (&inode->i_sb->s_type->i_mutex_dir_key/1){+.+.}-{3:3}, at: filename_create+0x1f2/0x450 fs/namei.c:3835 #2: ffff888023022650 (sb_internal#2){.+.+}-{0:0}, at: xfs_trans_alloc_icreate+0x56/0x1f0 fs/xfs/xfs_trans.c:1102 6 locks held by kworker/1:20/11997: #0: ffff8881427d5938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90003fafd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffff888147cf0220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff888147cf0220 (&dev->mutex){....}-{3:3}, at: hub_event+0x18f/0x4fa0 drivers/usb/core/hub.c:5781 #3: ffff88802b6d8220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff88802b6d8220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x460 drivers/base/dd.c:954 #4: ffff8880211311a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff8880211311a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x460 drivers/base/dd.c:954 #5: ffff88805e1740d0 (&d->usb_mutex#2){+.+.}-{3:3}, at: rtl28xxu_ctrl_msg+0x57/0x640 drivers/media/usb/dvb-usb-v2/rtl28xxu.c:24 2 locks held by syz.0.2232/13478: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 13478 Comm: syz.0.2232 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:percpu_ref_put+0x2/0x150 include/linux/percpu-refcount.h:337 Code: 0f 94 c3 0f 84 51 ff ff ff 48 85 c0 75 e9 e9 47 ff ff ff 31 db e9 40 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 41 57 <41> 56 41 55 41 54 53 48 89 fb e8 8f fb a1 ff e8 3a fd ff ff e8 55 RSP: 0018:ffffc9000402f898 EFLAGS: 00000282 RAX: 0000000000000000 RBX: ffffc9000402f980 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88805f270010 RBP: ffffc9000402fa08 R08: dffffc0000000000 R09: fffff940002220a1 R10: fffff940002220a1 R11: 1ffffd40002220a0 R12: dffffc0000000000 R13: ffff88805f251050 R14: ffffea0001110508 R15: ffffc9000402f8a8 FS: 00007f477877a6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcaa508cab8 CR3: 000000005b800000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __mem_cgroup_uncharge_list+0x6c/0xc0 mm/memcontrol.c:7004 mem_cgroup_uncharge_list include/linux/memcontrol.h:720 [inline] release_pages+0x1843/0x1bb0 mm/swap.c:962 __pagevec_release+0x6d/0xe0 mm/swap.c:983 pagevec_release include/linux/pagevec.h:81 [inline] shmem_undo_range+0x593/0x1840 mm/shmem.c:964 shmem_fallocate+0xc9a/0xe20 mm/shmem.c:2763 vfs_fallocate+0x587/0x6f0 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0xbd/0x100 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f477a912929 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f477877a038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f477ab39fa0 RCX: 00007f477a912929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00007f477a994b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000007000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f477ab39fa0 R15: 00007ffdb68e53c8