INFO: task syz.3.403:5963 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.403 state:D stack:27488 pid:5963 ppid:4265 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6696 rwsem_down_read_slowpath+0x4f4/0x840 kernel/locking/rwsem.c:1094 __down_read_common kernel/locking/rwsem.c:1261 [inline] __down_read kernel/locking/rwsem.c:1274 [inline] down_read+0x94/0x2d0 kernel/locking/rwsem.c:1522 inode_lock_shared include/linux/fs.h:768 [inline] lookup_slow+0x46/0x70 fs/namei.c:1714 walk_component+0x2be/0x3f0 fs/namei.c:2006 lookup_last fs/namei.c:2463 [inline] path_lookupat+0x169/0x440 fs/namei.c:2487 filename_lookup+0x1f0/0x500 fs/namei.c:2516 user_path_at_empty+0x3e/0x60 fs/namei.c:2913 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xae/0x280 fs/xattr.c:631 __do_sys_lsetxattr fs/xattr.c:659 [inline] __se_sys_lsetxattr fs/xattr.c:655 [inline] __x64_sys_lsetxattr+0xb4/0xd0 fs/xattr.c:655 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7d9c98f749 RSP: 002b:00007f7d9abd5038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bd RAX: ffffffffffffffda RBX: 00007f7d9cbe6180 RCX: 00007f7d9c98f749 RDX: 0000200000000080 RSI: 00002000000000c0 RDI: 0000200000000100 RBP: 00007f7d9ca13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000000fe37 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7d9cbe6218 R14: 00007f7d9cbe6180 R15: 00007ffd078669c8 INFO: task syz.3.403:5967 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.403 state:D stack:29184 pid:5967 ppid:4265 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10ec/0x40b0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6696 rwsem_down_read_slowpath+0x4f4/0x840 kernel/locking/rwsem.c:1094 __down_read_common kernel/locking/rwsem.c:1261 [inline] __down_read kernel/locking/rwsem.c:1274 [inline] down_read+0x94/0x2d0 kernel/locking/rwsem.c:1522 inode_lock_shared include/linux/fs.h:768 [inline] lookup_slow+0x46/0x70 fs/namei.c:1714 walk_component+0x2be/0x3f0 fs/namei.c:2006 lookup_last fs/namei.c:2463 [inline] path_lookupat+0x169/0x440 fs/namei.c:2487 filename_lookup+0x1f0/0x500 fs/namei.c:2516 user_path_at_empty+0x3e/0x60 fs/namei.c:2913 user_path_at include/linux/namei.h:57 [inline] path_listxattr+0x9f/0x1b0 fs/xattr.c:825 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7d9c98f749 RSP: 002b:00007f7d9a7b2038 EFLAGS: 00000246 ORIG_RAX: 00000000000000c2 RAX: ffffffffffffffda RBX: 00007f7d9cbe6270 RCX: 00007f7d9c98f749 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000080 RBP: 00007f7d9ca13f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7d9cbe6308 R14: 00007f7d9cbe6270 R15: 00007ffd078669c8 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cb2b630 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cb2be50 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/27: #0: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8cb2aca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513 3 locks held by kworker/1:1/41: #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90000b27d00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:104 1 lock held by dhcpcd/3932: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x288/0x1af0 net/ipv4/devinet.c:1080 2 locks held by getty/4026: #0: ffff88814d51a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41b/0x1380 drivers/tty/n_tty.c:2198 2 locks held by kworker/1:3/4318: #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90004047d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 3 locks held by kworker/u4:7/4386: #0: ffff888017479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90004347d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263 5 locks held by kworker/u4:11/4443: #0: ffff888017616938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90004817d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd34a10 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:594 #3: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0xe5/0xa50 net/core/dev.c:11489 #4: ffffffff8cb30978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #4: ffffffff8cb30978 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x830 kernel/rcu/tree_exp.h:962 3 locks held by kworker/0:12/5860: #0: ffff88802efcc538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc9000c7dfd00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xc4/0x14d0 net/ipv6/addrconf.c:4131 2 locks held by syz.3.403/5950: 1 lock held by syz.3.403/5963: #0: ffff88805465c188 (&type->i_mutex_dir_key#22){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff88805465c188 (&type->i_mutex_dir_key#22){++++}-{3:3}, at: lookup_slow+0x46/0x70 fs/namei.c:1714 1 lock held by syz.3.403/5967: #0: ffff88805465c188 (&type->i_mutex_dir_key#22){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff88805465c188 (&type->i_mutex_dir_key#22){++++}-{3:3}, at: lookup_slow+0x46/0x70 fs/namei.c:1714 1 lock held by syz-executor/7405: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x740/0xed0 net/core/rtnetlink.c:6147 4 locks held by syz-executor/7480: #0: ffffffff8dda1570 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:860 #1: ffff88805635f698 (nlk_cb_mutex-GENERIC){+.+.}-{3:3}, at: __netlink_dump_start+0x11f/0x6f0 net/netlink/af_netlink.c:2305 #2: ffff88807cc0e2f8 (&devlink->lock_key#12){+.+.}-{3:3}, at: devl_lock net/devlink/leftover.c:275 [inline] #2: ffff88807cc0e2f8 (&devlink->lock_key#12){+.+.}-{3:3}, at: devlink_nl_cmd_port_get_dumpit+0x16e/0x560 net/devlink/leftover.c:1537 #3: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: devlink_nl_port_fill+0x298/0x910 net/devlink/leftover.c:1276 3 locks held by kworker/1:18/7679: #0: ffff88802efcc538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc90003a17d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xc4/0x14d0 net/ipv6/addrconf.c:4131 1 lock held by syz.9.726/7762: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: do_ipv6_setsockopt+0x336/0x3b20 net/ipv6/ipv6_sockglue.c:418 1 lock held by syz.9.726/7763: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x740/0xed0 net/core/rtnetlink.c:6147 1 lock held by syz.1.730/7775: #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:74 [inline] #0: ffffffff8dd416e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x740/0xed0 net/core/rtnetlink.c:6147 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 nmi_cpu_backtrace+0x3f4/0x470 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1d4/0x450 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xeee/0xf30 kernel/hung_task.c:377 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4310 Comm: kworker/u4:5 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: bat_events batadv_nc_worker RIP: 0010:rcu_preempt_read_enter kernel/rcu/tree_plugin.h:379 [inline] RIP: 0010:__rcu_read_lock+0x25/0x50 kernel/rcu/tree_plugin.h:402 Code: f4 fa ff ff 90 53 65 48 8b 1d 77 92 96 7e 48 81 c3 3c 04 00 00 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 <84> c0 75 11 ff 03 8b 03 3d 00 00 00 40 7d 02 5b c3 0f 0b eb fa 89 RSP: 0018:ffffc90003fc7bd0 EFLAGS: 00000a03 RAX: 0000000000000000 RBX: ffff88807ae2bfbc RCX: dffffc0000000000 RDX: 0000000000000000 RSI: ffffffff8a8c1700 RDI: ffffffff8adef760 RBP: ffff88807d830d88 R08: dffffc0000000000 R09: fffffbfff1c3ed56 R10: fffffbfff1c3ed56 R11: 1ffffffff1c3ed55 R12: dffffc0000000000 R13: ffff88802871a350 R14: ffff888045a78c80 R15: 00000000000001b1 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555624d95c8 CR3: 000000007697c000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:789 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xc7/0x600 net/batman-adv/network-coding.c:719 process_one_work+0x898/0x1160 kernel/workqueue.c:2292 worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295