INFO: task syz.1.208:5983 blocked for more than 143 seconds. Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.208 state:D stack:26936 pid:5983 tgid:5982 ppid:5235 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a7/0xd70 kernel/locking/mutex.c:752 br_ioctl_call+0x57/0xb0 net/socket.c:1198 dev_ifsioc+0xc20/0xe70 net/core/dev_ioctl.c:588 dev_ioctl+0x719/0x1340 net/core/dev_ioctl.c:783 sock_do_ioctl+0x240/0x460 net/socket.c:1241 sock_ioctl+0x626/0x8e0 net/socket.c:1346 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:893 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:0x7f62fc37dff9 RSP: 002b:00007f62fd11c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f62fc535f80 RCX: 00007f62fc37dff9 RDX: 0000000020000000 RSI: 00000000000089a2 RDI: 0000000000000004 RBP: 00007f62fc3f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f62fc535f80 R15: 00007ffcc91fd3c8 INFO: task syz.5.274:6197 blocked for more than 144 seconds. Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.5.274 state:D stack:27392 pid:6197 tgid:6188 ppid:5237 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x18af/0x4bd0 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6782 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6839 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a7/0xd70 kernel/locking/mutex.c:752 br_ioctl_call net/socket.c:1198 [inline] sock_ioctl+0x5c3/0x8e0 net/socket.c:1300 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:893 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:0x7f7ee957dff9 RSP: 002b:00007f7ee8fde038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7ee9736130 RCX: 00007f7ee957dff9 RDX: 0000000020000080 RSI: 00000000000089a1 RDI: 0000000000000003 RBP: 00007f7ee95f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f7ee9736130 R15: 00007fff7c8e89a8 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937e20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 3 locks held by kworker/u8:4/72: #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac81148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc900015f7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900015f7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcd2e48 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 2 locks held by kworker/u8:5/923: 3 locks held by kworker/1:2/1123: 6 locks held by kworker/u8:7/1828: #0: ffff88801bae5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801bae5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90004e6fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90004e6fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcc6350 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:580 #3: ffff888057b620e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff888057b620e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff888057b620e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x13b/0x440 net/devlink/core.c:506 #4: ffff88805c3aa250 (&devlink->lock_key#8){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff88805c3aa250 (&devlink->lock_key#8){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff88805c3aa250 (&devlink->lock_key#8){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x14d/0x440 net/devlink/core.c:506 #5: ffffffff8fcd2e48 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x71/0x5c0 drivers/net/netdevsim/netdev.c:773 2 locks held by getty/4987: #0: ffff88802e8840a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 4 locks held by kworker/1:8/5383: 1 lock held by syz.3.75/5541: #0: ffff88807c5ae420 (sb_writers#4){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff88807c5ae420 (sb_writers#4){.+.+}-{0:0}, at: vfs_fallocate+0x4fe/0x6e0 fs/open.c:332 1 lock held by syz.1.208/5983: #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: br_ioctl_call+0x57/0xb0 net/socket.c:1198 2 locks held by syz.1.208/5989: #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: br_ioctl_call net/socket.c:1198 [inline] #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x5c3/0x8e0 net/socket.c:1300 #1: ffffffff8fcd2e48 (rtnl_mutex){+.+.}-{3:3}, at: netdev_wait_allrefs_any net/core/dev.c:10678 [inline] #1: ffffffff8fcd2e48 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0x7b2/0x1000 net/core/dev.c:10797 1 lock held by syz.5.274/6197: #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: br_ioctl_call net/socket.c:1198 [inline] #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x5c3/0x8e0 net/socket.c:1300 1 lock held by syz.3.379/6479: #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: br_ioctl_call+0x57/0xb0 net/socket.c:1198 1 lock held by syz.3.379/6487: #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: br_ioctl_call net/socket.c:1198 [inline] #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x5c3/0x8e0 net/socket.c:1300 1 lock held by syz.2.505/6819: #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: br_ioctl_call+0x57/0xb0 net/socket.c:1198 1 lock held by syz.2.505/6829: #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: br_ioctl_call net/socket.c:1198 [inline] #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x5c3/0x8e0 net/socket.c:1300 4 locks held by syz-executor/7074: #0: ffff88802e456420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff88802e456420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x224/0xc90 fs/read_write.c:679 #1: ffff8880544fb088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1ea/0x500 fs/kernfs/file.c:325 #2: ffff888144b5ae18 (kn->active#50){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20e/0x500 fs/kernfs/file.c:326 #3: ffffffff8f570e28 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x1b4/0x890 drivers/net/netdevsim/bus.c:166 1 lock held by syz.3.607/7101: #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: br_ioctl_call+0x57/0xb0 net/socket.c:1198 1 lock held by syz.3.607/7106: #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: br_ioctl_call net/socket.c:1198 [inline] #0: ffffffff8fcb78a8 (br_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x5c3/0x8e0 net/socket.c:1300 7 locks held by syz-executor/7262: #0: ffff88802e456420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff88802e456420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x224/0xc90 fs/read_write.c:679 #1: ffff88803084fc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1ea/0x500 fs/kernfs/file.c:325 #2: ffff888144b5af08 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20e/0x500 fs/kernfs/file.c:326 #3: ffffffff8f570e28 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff888026cd60e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff888026cd60e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff888026cd60e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293 #5: ffff88803127f250 (&devlink->lock_key#11){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1675 #6: ffffffff8fcd2e48 (rtnl_mutex){+.+.}-{3:3}, at: netdev_wait_allrefs_any net/core/dev.c:10678 [inline] #6: ffffffff8fcd2e48 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0x7b2/0x1000 net/core/dev.c:10797 1 lock held by syz-executor/7277: #0: ffffffff8fcd2e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcd2e48 (rtnl_mutex){+.+.}-{3:3}, at: __rtnl_newlink net/core/rtnetlink.c:3749 [inline] #0: ffffffff8fcd2e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_newlink+0xab7/0x20a0 net/core/rtnetlink.c:3772 1 lock held by syz-executor/7283: #0: ffffffff8e93d3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: ffffffff8e93d3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 2 locks held by syz-executor/7286: #0: ffffffff8fcd2e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcd2e48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6672 #1: ffffffff8e93d3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #1: ffffffff8e93d3b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __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:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 24 Comm: ksoftirqd/1 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:trace_irq_disable+0x49/0x120 include/trace/events/preemptirq.h:36 Code: fe 1c 90 be 08 00 00 00 e8 44 00 62 00 48 0f a3 1d 64 5f 80 0e 73 12 e8 25 26 de ff 84 c0 75 09 80 3d 8e 1b 6a 0e 00 74 0e 5b <41> 5e e9 6b a1 53 0a 90 0f 0b 90 eb bb c6 05 77 1b 6a 0e 01 90 48 RSP: 0018:ffffc900001e7950 EFLAGS: 00000002 RAX: 0000000000000001 RBX: ffff8880458c9200 RCX: ffffffff819c9f7c RDX: 0000000000000000 RSI: ffffffff8c610280 RDI: ffffffff8c610240 RBP: 0000000000000000 R08: ffffffff901cfeef R09: 1ffffffff2039fdd R10: dffffc0000000000 R11: fffffbfff2039fde R12: ffff888142a8eb5c R13: ffffea0001163240 R14: ffff888142a8eb40 R15: 0000000000000286 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c373a64 CR3: 000000000e734000 CR4: 0000000000350ef0 Call Trace: kasan_quarantine_put+0x3d/0x230 mm/kasan/quarantine.c:207 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:2342 [inline] slab_free mm/slub.c:4579 [inline] kmem_cache_free+0x1a2/0x420 mm/slub.c:4681 dst_destroy+0x249/0x360 net/core/dst.c:121 rcu_do_batch kernel/rcu/tree.c:2567 [inline] rcu_core+0xaac/0x17a0 kernel/rcu/tree.c:2823 handle_softirqs+0x2c7/0x980 kernel/softirq.c:554 run_ksoftirqd+0xca/0x130 kernel/softirq.c:927 smpboot_thread_fn+0x546/0xa30 kernel/smpboot.c:164 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244