INFO: task syz.5.826:14699 blocked for more than 143 seconds. Not tainted 6.15.0-rc3-syzkaller-00001-g9d7a0577c9db #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.826 state:D stack:27944 pid:14699 tgid:14683 ppid:14098 task_flags:0x400040 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x1b33/0x51f0 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0x163/0x360 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 rwsem_down_write_slowpath+0xedd/0x1420 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write_nested+0x1e2/0x220 kernel/locking/rwsem.c:1694 inode_lock_nested include/linux/fs.h:902 [inline] lock_rename fs/namei.c:3265 [inline] do_renameat2+0x653/0x1410 fs/namei.c:5216 __do_sys_renameat2 fs/namei.c:5304 [inline] __se_sys_renameat2 fs/namei.c:5301 [inline] __x64_sys_renameat2+0xce/0xe0 fs/namei.c:5301 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcfb858e169 RSP: 002b:00007fcfb941c038 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007fcfb87b6080 RCX: 00007fcfb858e169 RDX: ffffffffffffff9c RSI: 0000200000000340 RDI: 0000000000000005 RBP: 00007fcfb8610a68 R08: 0000000000000002 R09: 0000000000000000 R10: 0000200000000400 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007fcfb87b6080 R15: 00007ffe358dccc8 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8ed3df20 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x30/0x180 kernel/locking/lockdep.c:6764 4 locks held by kworker/u8:3/53: #0: ffff8880216ea948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff8880216ea948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90000be7c60 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90000be7c60 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffff888025db00e0 (&type->s_umount_key#103){++++}-{4:4}, at: super_trylock_shared+0x22/0xf0 fs/super.c:562 #3: ffff8880563ff068 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x2a6/0x600 fs/jfs/inode.c:102 7 locks held by kworker/u8:4/63: #0: ffff88801bef3948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801bef3948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90001557c60 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90001557c60 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff900de7d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x17c/0xd60 net/core/net_namespace.c:608 #3: ffff88807cc520e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #3: ffff88807cc520e8 (&dev->mutex){....}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff88807cc520e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x13d/0x450 net/devlink/core.c:506 #4: ffff88807cc51250 (&devlink->lock_key#26){+.+.}-{4:4}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff88807cc51250 (&devlink->lock_key#26){+.+.}-{4:4}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff88807cc51250 (&devlink->lock_key#26){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x14f/0x450 net/devlink/core.c:506 #5: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x10d/0x690 drivers/net/netdevsim/netdev.c:1059 #6: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:336 [inline] #6: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x454/0x830 kernel/rcu/tree_exp.h:998 3 locks held by kworker/u8:5/66: #0: ffff88814d227148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88814d227148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc90001587c60 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc90001587c60 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #2: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_dad_work+0x110/0x16a0 net/ipv6/addrconf.c:4195 4 locks held by udevd/5200: #0: ffff88804954ac30 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xb4/0xda0 fs/seq_file.c:182 #1: ffff88805cfd0088 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154 #2: ffff88804615ee18 (kn->active#5){++++}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155 #3: ffff8880550dc0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #3: ffff8880550dc0e8 (&dev->mutex){....}-{4:4}, at: uevent_show+0x17d/0x340 drivers/base/core.c:2730 2 locks held by dhcpcd/5494: #0: ffff888033c686d0 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: netlink_dump+0xcd/0xeb0 net/netlink/af_netlink.c:2255 #1: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x99/0x200 net/core/rtnetlink.c:6823 2 locks held by getty/5584: #0: ffff88814e8480a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900036db2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x5bb/0x1700 drivers/tty/n_tty.c:2222 3 locks held by kworker/0:5/5884: #0: ffff88801b080d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3213 [inline] #0: ffff88801b080d48 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x990/0x18e0 kernel/workqueue.c:3319 #1: ffffc9000414fc60 ((work_completion)(&(&devlink->rwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #1: ffffc9000414fc60 ((work_completion)(&(&devlink->rwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9cb/0x18e0 kernel/workqueue.c:3319 #2: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:304 [inline] #2: ffffffff8ed43438 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x384/0x830 kernel/rcu/tree_exp.h:998 4 locks held by syz.5.826/14684: 2 locks held by syz.5.826/14699: #0: ffff888025db0420 (sb_writers#27){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:556 #1: ffff8880563ff418 (&type->i_mutex_dir_key#18/1){+.+.}-{4:4}, at: inode_lock_nested include/linux/fs.h:902 [inline] #1: ffff8880563ff418 (&type->i_mutex_dir_key#18/1){+.+.}-{4:4}, at: lock_rename fs/namei.c:3265 [inline] #1: ffff8880563ff418 (&type->i_mutex_dir_key#18/1){+.+.}-{4:4}, at: do_renameat2+0x653/0x1410 fs/namei.c:5216 1 lock held by syz-executor/16423: #0: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #0: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_newaddr+0x831/0x11b0 net/ipv6/addrconf.c:5028 2 locks held by syz.2.987/16529: #0: ffff888025db00e0 (&type->s_umount_key#103){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff888025db00e0 (&type->s_umount_key#103){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 #1: ffff888025aa87d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:387 [inline] #1: ffff888025aa87d0 (&bdi->wb_switch_rwsem){+.+.}-{4:4}, at: sync_inodes_sb+0x270/0xb50 fs/fs-writeback.c:2831 7 locks held by syz-executor/16559: #0: ffff888030a72420 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3041 [inline] #0: ffff888030a72420 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x23f/0xd10 fs/read_write.c:680 #1: ffff88805e49a488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1e2/0x510 fs/kernfs/file.c:325 #2: ffff888027f5f4b8 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x206/0x510 fs/kernfs/file.c:326 #3: ffffffff8f984ca8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x1b6/0x8c0 drivers/net/netdevsim/bus.c:166 #4: ffff8880550dc0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #4: ffff8880550dc0e8 (&dev->mutex){....}-{4:4}, at: __device_attach+0x90/0x530 drivers/base/dd.c:1005 #5: ffff8880550dd250 (&devlink->lock_key#31){+.+.}-{4:4}, at: nsim_drv_probe+0xc9/0xbc0 drivers/net/netdevsim/dev.c:1537 #6: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x87/0x270 net/ipv4/nexthop.c:3918 2 locks held by syz-executor/16664: #0: ffffffff8f87eb20 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8f87eb20 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8f87eb20 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:570 #1: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xd68/0x1fe0 net/core/rtnetlink.c:4064 2 locks held by syz-executor/16666: #0: ffffffff8f88bac0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8f88bac0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8f88bac0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:570 #1: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xd68/0x1fe0 net/core/rtnetlink.c:4064 2 locks held by syz-executor/16677: #0: ffffffff905f0250 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff905f0250 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff905f0250 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x22/0x250 net/core/rtnetlink.c:570 #1: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffffffff900eb308 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xd68/0x1fe0 net/core/rtnetlink.c:4064 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.15.0-rc3-syzkaller-00001-g9d7a0577c9db #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x4ab/0x4e0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 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+0x1058/0x10a0 kernel/hung_task.c:437 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 1141 Comm: kworker/u8:6 Not tainted 6.15.0-rc3-syzkaller-00001-g9d7a0577c9db #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:217 [inline] RIP: 0010:unwind_next_frame+0x23e/0x23b0 arch/x86/kernel/unwind_orc.c:494 Code: d3 0a 0d 00 44 0f 45 f1 41 8d 46 ff 39 e8 0f 86 1d 19 00 00 89 e8 48 8d 1c 85 28 e3 90 91 48 89 d8 48 c1 e8 03 42 0f b6 04 28 <84> c0 4d 89 ef 0f 85 44 1b 00 00 44 8b 2b 89 e8 ff c0 48 8d 1c 85 RSP: 0018:ffffc90000a080a8 EFLAGS: 00000a03 RAX: 0000000000000000 RBX: ffffffff91b44fa4 RCX: 00000000000b2bb4 RDX: 0000000000000000 RSI: ffffffff8ca0e260 RDI: ffffffff8ca0e220 RBP: 000000000008db1f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff89db1f22 R13: dffffc0000000000 R14: 00000000000b2bb4 R15: ffffffff816d9bc8 FS: 0000000000000000(0000) GS:ffff8881250cf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559663439250 CR3: 00000000344f2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x11e/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x11a/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x59/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2398 [inline] slab_free mm/slub.c:4656 [inline] kfree+0x198/0x430 mm/slub.c:4855 skb_kfree_head net/core/skbuff.c:1058 [inline] skb_free_head net/core/skbuff.c:1070 [inline] skb_release_data+0x6a3/0x8b0 net/core/skbuff.c:1097 skb_release_all net/core/skbuff.c:1162 [inline] __kfree_skb net/core/skbuff.c:1176 [inline] sk_skb_reason_drop+0x1c9/0x380 net/core/skbuff.c:1214 kfree_skb_reason include/linux/skbuff.h:1279 [inline] __netif_receive_skb_core+0x43ec/0x4bb0 net/core/dev.c:5861 __netif_receive_skb_one_core net/core/dev.c:5885 [inline] __netif_receive_skb+0x130/0x670 net/core/dev.c:6000 process_backlog+0x664/0x15c0 net/core/dev.c:6352 __napi_poll+0xcb/0x480 net/core/dev.c:7324 napi_poll net/core/dev.c:7388 [inline] net_rx_action+0x89d/0x1240 net/core/dev.c:7510 handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:579 do_softirq+0x11f/0x1e0 kernel/softirq.c:480 __local_bh_enable_ip+0x1be/0x200 kernel/softirq.c:407 local_bh_enable include/linux/bottom_half.h:33 [inline] rcu_read_unlock_bh include/linux/rcupdate.h:910 [inline] __dev_queue_xmit+0x1780/0x3f60 net/core/dev.c:4656 dev_queue_xmit include/linux/netdevice.h:3350 [inline] batadv_send_skb_packet+0x433/0x6a0 net/batman-adv/send.c:108 batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:392 [inline] batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:420 [inline] batadv_iv_send_outstanding_bat_ogm_packet+0x60b/0x7a0 net/batman-adv/bat_iv_ogm.c:1708 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xac3/0x18e0 kernel/workqueue.c:3319 worker_thread+0x870/0xd50 kernel/workqueue.c:3400 kthread+0x7b7/0x940 kernel/kthread.c:464 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245