INFO: task syz.4.282:7334 blocked for more than 144 seconds. Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.282 state:D stack:25232 pid:7334 tgid:7285 ppid:5858 flags:0x00000004 Call Trace: <TASK> context_switch kernel/sched/core.c:5371 [inline] __schedule+0x189f/0x4c80 kernel/sched/core.c:6758 __schedule_loop kernel/sched/core.c:6835 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6850 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6907 rwsem_down_read_slowpath kernel/locking/rwsem.c:1084 [inline] __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x705/0xa40 kernel/locking/rwsem.c:1526 inode_lock_shared include/linux/fs.h:873 [inline] lookup_slow+0x45/0x70 fs/namei.c:1807 walk_component+0x2e1/0x410 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2634 filename_lookup+0x2a3/0x670 fs/namei.c:2663 filename_setxattr+0xb9/0x430 fs/xattr.c:660 path_setxattrat+0x440/0x510 fs/xattr.c:713 __do_sys_setxattr fs/xattr.c:747 [inline] __se_sys_setxattr fs/xattr.c:743 [inline] __x64_sys_setxattr+0xbc/0xe0 fs/xattr.c:743 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f17c5185d29 RSP: 002b:00007f17c5f1f038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f17c5376080 RCX: 00007f17c5185d29 RDX: 0000000000000000 RSI: 00000000200001c0 RDI: 0000000020000100 RBP: 00007f17c5201b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f17c5376080 R15: 00007fff5eac23a8 </TASK> Showing all locks held in the system: 3 locks held by kworker/0:1/9: #0: ffff88801c2a1148 ((wq_completion)pm){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801c2a1148 ((wq_completion)pm){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc900000e7c60 ((work_completion)(&hcd->wakeup_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900000e7c60 ((work_completion)(&hcd->wakeup_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffff88802891f190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #2: ffff88802891f190 (&dev->mutex){....}-{4:4}, at: usb_remote_wakeup+0x23/0x100 drivers/usb/core/hub.c:3840 3 locks held by kworker/1:0/25: #0: ffff88801ac80d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc900001f7c60 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900001f7c60 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffff88807da4a240 (&data->fib_lock){+.+.}-{4:4}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1490 1 lock held by khungtaskd/30: #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 4 locks held by acpid/5193: #0: ffff8880277a0160 (&mousedev->mutex#2){+.+.}-{4:4}, at: mousedev_open_device+0x28/0x160 drivers/input/mousedev.c:423 #1: ffff8880285ef2c0 (&dev->mutex#2){+.+.}-{4:4}, at: class_mutex_intr_constructor include/linux/mutex.h:203 [inline] #1: ffff8880285ef2c0 (&dev->mutex#2){+.+.}-{4:4}, at: input_open_device+0x57/0x360 drivers/input/input.c:582 #2: ffff8880119f9e20 (&hdev->ll_open_lock){+.+.}-{4:4}, at: hid_hw_open+0x28/0x170 drivers/hid/hid-core.c:2385 #3: ffff888032d2e8f0 (&usbhid->mutex){+.+.}-{4:4}, at: usbhid_open+0x55/0x320 drivers/hid/usbhid/hid-core.c:684 2 locks held by getty/5590: #0: ffff88814d8530a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by kworker/u8:12/6526: 4 locks held by kworker/u8:15/6532: #0: ffff888020ad3948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff888020ad3948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc90003e0fc60 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90003e0fc60 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffff8880358660e0 (&type->s_umount_key#53){++++}-{4:4}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562 #3: ffff88804db001c8 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x24a/0x590 fs/jfs/inode.c:102 4 locks held by syz.4.282/7286: 1 lock held by syz.4.282/7334: #0: ffff88804db00578 (&type->i_mutex_dir_key#8){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:873 [inline] #0: ffff88804db00578 (&type->i_mutex_dir_key#8){++++}-{4:4}, at: lookup_slow+0x45/0x70 fs/namei.c:1807 4 locks held by syz-executor/7870: 2 locks held by kworker/u8:20/8735: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc900033e7c60 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900033e7c60 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 1 lock held by syz.0.619/8823: #0: ffffffff8f03fd08 (crypto_cfg_mutex){+.+.}-{4:4}, at: crypto_netlink_rcv+0x1b/0x40 crypto/crypto_user.c:481 6 locks held by syz.6.620/8832: 3 locks held by syz.9.623/8836: 2 locks held by modprobe/8840: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x7a9/0x920 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 </TASK> Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 7286 Comm: syz.4.282 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__rcu_read_lock+0x0/0xb0 kernel/rcu/tree_plugin.h:413 Code: 00 00 00 0f 84 e9 fc ff ff e9 b9 fc ff ff e8 87 2e 4c 0a 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 55 41 57 41 56 53 49 be 00 00 00 00 00 fc ff df 65 4c RSP: 0018:ffffc90000a18290 EFLAGS: 00000246 RAX: ffffffff89b1fcf0 RBX: ffff8880621a4fb8 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000800000 RDI: 0000000000000000 RBP: 0000000000800000 R08: ffffffff89b1f60d R09: 1ffff1100c43496c R10: dffffc0000000000 R11: ffffed100c43496d R12: ffff8880621a4b60 R13: 0000000000000380 R14: 1ffff1100c43496c R15: ffff8880621a4b00 FS: 00007f17c5f406c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcdf4bff000 CR3: 0000000034646000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <NMI> </NMI> <IRQ> rcu_read_lock include/linux/rcupdate.h:847 [inline] sock_wfree+0x285/0x7b0 net/core/sock.c:2571 skb_release_head_state+0x100/0x250 net/core/skbuff.c:1177 skb_release_all net/core/skbuff.c:1188 [inline] __kfree_skb net/core/skbuff.c:1204 [inline] consume_skb+0x60/0xf0 net/core/skbuff.c:1436 nsim_start_xmit+0x1ed/0x650 drivers/net/netdevsim/netdev.c:88 __netdev_start_xmit include/linux/netdevice.h:5049 [inline] netdev_start_xmit include/linux/netdevice.h:5058 [inline] xmit_one net/core/dev.c:3590 [inline] dev_hard_start_xmit+0x27a/0x7d0 net/core/dev.c:3606 __dev_queue_xmit+0x1b73/0x3f50 net/core/dev.c:4434 neigh_output include/net/neighbour.h:539 [inline] ip6_finish_output2+0x12ad/0x1780 net/ipv6/ip6_output.c:141 ip6_finish_output+0x41e/0x840 net/ipv6/ip6_output.c:226 NF_HOOK include/linux/netfilter.h:314 [inline] ndisc_send_skb+0xb30/0x1450 net/ipv6/ndisc.c:511 addrconf_rs_timer+0x371/0x670 net/ipv6/addrconf.c:4061 call_timer_fn+0x187/0x650 kernel/time/timer.c:1793 expire_timers kernel/time/timer.c:1844 [inline] __run_timers kernel/time/timer.c:2418 [inline] __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2430 run_timer_base kernel/time/timer.c:2439 [inline] run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2449 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049 </IRQ> <TASK> asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:183 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x11/0x70 kernel/kcov.c:217 Code: 5b e9 73 08 5b 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 c0 d6 03 00 <65> 8b 15 90 b2 44 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 RSP: 0018:ffffc9000401f038 EFLAGS: 00000246 RAX: ffffffff83515749 RBX: 0000000000000000 RCX: ffff88807e503c00 RDX: ffff88807e503c00 RSI: 0000000000000000 RDI: 00000000000000ff RBP: ffffc9000401f230 R08: ffffffff83515740 R09: 0000000000000000 R10: 00300065006c0069 R11: 006605ff00000020 R12: ffff8880667a6000 R13: dffffc0000000000 R14: ffff88804db00430 R15: 0000000000000000 dtSplitRoot+0x8b9/0x1930 fs/jfs/jfs_dtree.c:1978 dtSplitUp fs/jfs/jfs_dtree.c:992 [inline] dtInsert+0x12cd/0x6c10 fs/jfs/jfs_dtree.c:870 jfs_create+0x7ba/0xbb0 fs/jfs/namei.c:137 lookup_open fs/namei.c:3649 [inline] open_last_lookups fs/namei.c:3748 [inline] path_openat+0x192f/0x3580 fs/namei.c:3984 do_filp_open+0x27f/0x4e0 fs/namei.c:4014 do_sys_openat2+0x13e/0x1d0 fs/open.c:1427 do_sys_open fs/open.c:1442 [inline] __do_sys_creat fs/open.c:1520 [inline] __se_sys_creat fs/open.c:1514 [inline] __x64_sys_creat+0x123/0x170 fs/open.c:1514 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f17c5185d29 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:00007f17c5f40038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007f17c5375fa0 RCX: 00007f17c5185d29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000e00 RBP: 00007f17c5201b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f17c5375fa0 R15: 00007fff5eac23a8 </TASK>