INFO: task syz.2.382:8588 blocked for more than 143 seconds. Not tainted 6.15.0-syzkaller-02198-gb1456f6dc167 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.382 state:D stack:27048 pid:8588 tgid:8567 ppid:5825 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5392 [inline] __schedule+0x16a2/0x4cb0 kernel/sched/core.c:6781 __schedule_loop kernel/sched/core.c:6859 [inline] schedule+0x165/0x360 kernel/sched/core.c:6874 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6931 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:867 [inline] open_last_lookups fs/namei.c:3804 [inline] path_openat+0x8da/0x3830 fs/namei.c:4043 do_filp_open+0x1fa/0x410 fs/namei.c:4073 do_sys_openat2+0x121/0x1c0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1463 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd2fb78e969 RSP: 002b:00007fd2fc62d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fd2fb9b6160 RCX: 00007fd2fb78e969 RDX: 0000000000000441 RSI: 0000200000000080 RDI: ffffffffffffff9c RBP: 00007fd2fb810ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000014a R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd2fb9b6160 R15: 00007ffde3198008 INFO: task syz.2.382:8589 blocked for more than 144 seconds. Not tainted 6.15.0-syzkaller-02198-gb1456f6dc167 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.382 state:D stack:28328 pid:8589 tgid:8567 ppid:5825 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5392 [inline] __schedule+0x16a2/0x4cb0 kernel/sched/core.c:6781 __schedule_loop kernel/sched/core.c:6859 [inline] schedule+0x165/0x360 kernel/sched/core.c:6874 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6931 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1578 inode_lock include/linux/fs.h:867 [inline] vfs_fileattr_set+0x14f/0xb00 fs/ioctl.c:681 do_vfs_ioctl+0x1602/0x1990 fs/ioctl.c:-1 __do_sys_ioctl fs/ioctl.c:905 [inline] __se_sys_ioctl+0x82/0x170 fs/ioctl.c:893 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fd2fb78e969 RSP: 002b:00007fd2fc60c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fd2fb9b6240 RCX: 00007fd2fb78e969 RDX: 0000200000000140 RSI: 00000000401c5820 RDI: 0000000000000006 RBP: 00007fd2fb810ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd2fb9b6240 R15: 00007ffde3198008 Showing all locks held in the system: 1 lock held by pool_workqueue_/3: 1 lock held by khungtaskd/31: #0: ffffffff8df3ca20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3ca20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8df3ca20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 4 locks held by kworker/u8:2/36: #0: ffff888140a81948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff888140a81948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319 #1: ffffc90000ac7bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000ac7bc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319 #2: ffff8880347f80e0 (&type->s_umount_key#72){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:563 #3: ffff8880510826a8 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530 fs/jfs/inode.c:102 6 locks held by kworker/u8:5/198: #0: ffff88801aef3948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801aef3948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b1/0x17a0 kernel/workqueue.c:3319 #1: ffffc90002fb7bc0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90002fb7bc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ec/0x17a0 kernel/workqueue.c:3319 #2: ffffffff8f2e47d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x145/0xbd0 net/core/net_namespace.c:608 #3: ffff88807b83a0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #3: ffff88807b83a0e8 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff88807b83a0e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x10a/0x3d0 net/devlink/core.c:506 #4: ffff88807b83f250 (&devlink->lock_key#8){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff88807b83f250 (&devlink->lock_key#8){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff88807b83f250 (&devlink->lock_key#8){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x11c/0x3d0 net/devlink/core.c:506 #5: ffffffff8df42400 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3782 5 locks held by kworker/u8:8/3491: 2 locks held by getty/5581: #0: ffff8880309330a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fee2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 4 locks held by syz.2.382/8568: 2 locks held by syz.2.382/8588: #0: ffff8880347f8428 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff888051082a58 (&type->i_mutex_dir_key#13){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #1: ffff888051082a58 (&type->i_mutex_dir_key#13){++++}-{4:4}, at: open_last_lookups fs/namei.c:3804 [inline] #1: ffff888051082a58 (&type->i_mutex_dir_key#13){++++}-{4:4}, at: path_openat+0x8da/0x3830 fs/namei.c:4043 2 locks held by syz.2.382/8589: #0: ffff8880347f8428 (sb_writers#23){.+.+}-{0:0}, at: mnt_want_write_file+0x60/0x200 fs/namespace.c:601 #1: ffff888051082a58 (&type->i_mutex_dir_key#13){++++}-{4:4}, at: inode_lock include/linux/fs.h:867 [inline] #1: ffff888051082a58 (&type->i_mutex_dir_key#13){++++}-{4:4}, at: vfs_fileattr_set+0x14f/0xb00 fs/ioctl.c:681 2 locks held by syz.8.569/9974: #0: ffff8880347f80e0 (&type->s_umount_key#72){++++}-{4:4}, at: __super_lock fs/super.c:59 [inline] #0: ffff8880347f80e0 (&type->s_umount_key#72){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:121 #1: ffff888024cae7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff888024cae7d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x19f/0xa10 fs/fs-writeback.c:2831 1 lock held by dhcpcd/10874: #0: ffff888030e10258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline] #0: ffff888030e10258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 1 lock held by dhcpcd/10875: #0: ffff88804eb2a258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline] #0: ffff88804eb2a258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 1 lock held by dhcpcd/10876: #0: ffff888030e12258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline] #0: ffff888030e12258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 1 lock held by dhcpcd/10877: #0: ffff88806cfaa258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline] #0: ffff88806cfaa258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 1 lock held by dhcpcd/10878: #0: ffff8880325d8258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline] #0: ffff8880325d8258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 1 lock held by dhcpcd/10879: #0: ffff888030e16258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline] #0: ffff888030e16258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 1 lock held by dhcpcd/10880: #0: ffff8880325da258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline] #0: ffff8880325da258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 1 lock held by dhcpcd/10881: #0: ffff888034384258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline] #0: ffff888034384258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 2 locks held by dhcpcd/10882: #0: ffff88804c852258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1651 [inline] #0: ffff88804c852258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x32/0xcd0 net/packet/af_packet.c:3252 #1: ffffffff8df42538 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #1: ffffffff8df42538 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b7/0x730 kernel/rcu/tree_exp.h:998 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-syzkaller-02198-gb1456f6dc167 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:437 kthread+0x711/0x8a0 kernel/kthread.c:464 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5807 Comm: syz-executor Not tainted 6.15.0-syzkaller-02198-gb1456f6dc167 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:rcu_is_watching+0x67/0xb0 kernel/rcu/tree.c:746 Code: 89 f7 e8 6c d9 79 00 48 c7 c3 58 bf 76 92 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 34 8b 03 65 ff 0d 59 c0 ce 10 <74> 11 83 e0 04 c1 e8 02 5b 41 5e 41 5f c3 cc cc cc cc cc e8 c1 b6 RSP: 0018:ffffc900043cf868 EFLAGS: 00000082 RAX: 0000000000019824 RBX: ffff8880b8832f58 RCX: 6ea718cc550a5700 RDX: 0000000000000000 RSI: ffffffff8bc17920 RDI: ffffffff8bc178e0 RBP: ffffc900043cf930 R08: ffffffff8f7e98b7 R09: 1ffffffff1efd316 R10: dffffc0000000000 R11: fffffbfff1efd317 R12: ffffffff89cdf470 R13: ffff888078810cc0 R14: ffffffff8d96ac60 R15: dffffc0000000000 FS: 0000555585a2d500(0000) GS:ffff8881260c7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe0f298e64 CR3: 0000000032f16000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_irq_disable+0x37/0x110 include/trace/events/preemptirq.h:36 __local_bh_enable_ip+0xce/0x1c0 kernel/softirq.c:389 tcp_recvmsg+0x220/0x810 net/ipv4/tcp.c:2879 inet_recvmsg+0x147/0x250 net/ipv4/af_inet.c:883 sock_recvmsg_nosec net/socket.c:1017 [inline] sock_recvmsg+0x1a8/0x270 net/socket.c:1039 sock_read_iter+0x231/0x2f0 net/socket.c:1109 new_sync_read fs/read_write.c:491 [inline] vfs_read+0x4cd/0x980 fs/read_write.c:572 ksys_read+0x145/0x250 fs/read_write.c:715 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f595cf8d33d Code: a8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb b5 e8 a8 48 00 00 0f 1f 84 00 00 00 00 00 80 3d 01 72 1f 00 00 74 17 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 5b c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec RSP: 002b:00007ffe563f2198 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f595cf8d33d RDX: 0000000000000004 RSI: 00007ffe563f21ac RDI: 0000000000000003 RBP: 0000000000000000 R08: 000000000e036963 R09: 7fffffffffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe563f25c0 R13: 0000000000000004 R14: 00007ffe563f21ac R15: 00007ffe563f2240