INFO: task syz-executor:5815 blocked for more than 143 seconds. Not tainted 6.13.0-rc7-syzkaller-00191-gfda5e3f28400 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20096 pid:5815 tgid:5815 ppid:1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x17fb/0x4be0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x7e7/0xee0 kernel/locking/mutex.c:735 lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 jfs_umount+0x2ce/0x3a0 fs/jfs/jfs_umount.c:114 jfs_put_super+0x8a/0x190 fs/jfs/super.c:194 generic_shutdown_super+0x139/0x2d0 fs/super.c:642 kill_block_super+0x44/0x90 fs/super.c:1710 deactivate_locked_super+0xc4/0x130 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373 task_work_run+0x24f/0x310 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0xa2a/0x28e0 kernel/exit.c:938 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 __do_sys_exit_group kernel/exit.c:1098 [inline] __se_sys_exit_group kernel/exit.c:1096 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1096 x64_sys_call+0x26a8/0x26b0 arch/x86/include/generated/asm/syscalls_64.h:232 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:0x7f2ab7785d29 RSP: 002b:00007ffc218cded8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f2ab7801954 RCX: 00007f2ab7785d29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000005 R08: 00007ffc218cbc77 R09: 00007ffc218cf190 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc218cf190 R13: 00007f2ab78018f4 R14: 00005555685b64a8 R15: 0000000000000016 Showing all locks held in the system: 3 locks held by kworker/0:1/9: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc900000e7d00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc900000e7d00 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fca3588 (rtnl_mutex){+.+.}-{4:4}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 1 lock held by khungtaskd/30: #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937ae0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 5 locks held by kworker/u8:4/81: #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc9000153fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc9000153fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fc970d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0x16a/0xd50 net/core/net_namespace.c:602 #3: ffffffff8fca3588 (rtnl_mutex){+.+.}-{4:4}, at: cleanup_net+0x6af/0xd50 net/core/net_namespace.c:638 #4: ffffffff8e93cff8 (rcu_state.exp_mutex ){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] ){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976 3 locks held by kworker/u8:5/993: #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff88801ac89148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc90003a47d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc90003a47d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 #2: ffffffff8fca3588 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:285 2 locks held by getty/5570: #0: ffff88803578a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fd62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by syz-executor/5815: #0: ffff8880661de0e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880661de0e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880661de0e0 (&type->s_umount_key#66){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed55308 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/5819: #0: ffff88802a3400e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88802a3400e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88802a3400e0 (&type->s_umount_key#66){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed55308 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 3 locks held by kworker/u8:8/6208: 2 locks held by kworker/u8:9/6408: #0: ffff8881482bc148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3211 [inline] #0: ffff8881482bc148 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3317 #1: ffffc90003e77d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3212 [inline] #1: ffffc90003e77d00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3317 2 locks held by syz-executor/7587: #0: ffff888069aa20e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff888069aa20e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888069aa20e0 (&type->s_umount_key#66){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed55308 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.3.156/7621: #0: ffff88802a3400e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff88802a3400e0 (&type->s_umount_key#66){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.1.174/8094: #0: ffff8880661de0e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880661de0e0 (&type->s_umount_key#66){++++}-{4:4}, at: super_lock+0x196/0x400 fs/super.c:120 2 locks held by syz-executor/8304: #0: ffff8880838da0e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880838da0e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880838da0e0 (&type->s_umount_key#66){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed55308 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz.5.226/8956: #0: ffff888028a260e0 (&type->s_umount_key#52/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffffffff8ed55308 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz-executor/9104: #0: ffff888030b7c0e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff888030b7c0e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888030b7c0e0 (&type->s_umount_key#66){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 2 locks held by syz-executor/9656: #0: ffff888068e340e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff888068e340e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888068e340e0 (&type->s_umount_key#66){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed55308 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.7.299/9674: #0: ffff888069aa20e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff888069aa20e0 (&type->s_umount_key#66){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 7 locks held by syz-executor/9887: #0: ffff888035b3e420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline] #0: ffff888035b3e420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x225/0xd30 fs/read_write.c:675 #1: ffff888031d2ec88 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ea/0x500 fs/kernfs/file.c:325 #2: ffff888144793c38 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20e/0x500 fs/kernfs/file.c:326 #3: ffffffff8f54efc8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff88807bdd90e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff88807bdd90e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88807bdd90e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293 #5: ffff88807bdd8250 (&devlink->lock_key#18){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1675 #6: ffffffff8fca3588 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0x71/0x5c0 drivers/net/netdevsim/netdev.c:816 1 lock held by syz.1.363/10032: #0: ffff8880661de0e0 (&type->s_umount_key#66){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880661de0e0 (&type->s_umount_key#66){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 3 locks held by syz.3.366/10062: #0: ffff88802a594d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_dev_do_close net/bluetooth/hci_core.c:480 [inline] #0: ffff88802a594d80 (&hdev->req_lock){+.+.}-{4:4}, at: hci_unregister_dev+0x203/0x510 net/bluetooth/hci_core.c:2697 #1: ffff88802a594078 (&hdev->lock){+.+.}-{4:4}, at: hci_dev_close_sync+0x5c8/0x11c0 net/bluetooth/hci_sync.c:5201 #2: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #2: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz-executor/10108: #0: ffffffff8fca3588 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline] #0: ffffffff8fca3588 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x47e/0x1bd0 net/ipv4/devinet.c:987 1 lock held by sed/10134: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc7-syzkaller-00191-gfda5e3f28400 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.13.0-rc7-syzkaller-00191-gfda5e3f28400 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_wait_context kernel/locking/lockdep.c:4876 [inline] RIP: 0010:__lock_acquire+0x950/0x2100 kernel/locking/lockdep.c:5176 Code: 8c e8 64 58 e5 ff 48 ba 00 00 00 00 00 fc ff df 90 0f 0b 90 90 90 31 db 48 8d ab c4 00 00 00 48 89 e8 48 c1 e8 03 0f b6 04 10 <84> c0 0f 85 91 00 00 00 0f b6 6d 00 40 84 ed 74 32 0f b6 44 24 28 RSP: 0018:ffffc900001078f0 EFLAGS: 00000803 RAX: 0000000000000000 RBX: ffffffff93c4a6b8 RCX: ffffffff817abe62 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff94277968 RBP: ffffffff93c4a77c R08: ffffffff9427796f R09: 1ffffffff284ef2d R10: dffffc0000000000 R11: fffffbfff284ef2e R12: 0000000000000001 R13: ffff88801bee4728 R14: 0000000000000001 R15: ffff88801bee4728 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ca8546df08 CR3: 000000000e736000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5849 rcu_lock_acquire include/linux/rcupdate.h:337 [inline] rcu_read_lock include/linux/rcupdate.h:849 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3236 [inline] process_scheduled_works+0xa66/0x1840 kernel/workqueue.c:3317 worker_thread+0x870/0xd30 kernel/workqueue.c:3398 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244