INFO: task syz.7.422:10682 blocked for more than 143 seconds. Not tainted 6.12.0-rc6-syzkaller-00005-g557329bcecc2 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.422 state:D stack:25024 pid:10682 tgid:10681 ppid:10482 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x17fa/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 open_dummy_log fs/jfs/jfs_logmgr.c:1191 [inline] lmLogOpen+0x1b2/0x1040 fs/jfs/jfs_logmgr.c:1066 jfs_mount_rw+0xf1/0x6a0 fs/jfs/jfs_mount.c:257 jfs_fill_super+0x681/0xc50 fs/jfs/super.c:565 mount_bdev+0x20a/0x2d0 fs/super.c:1693 legacy_get_tree+0xee/0x190 fs/fs_context.c:662 vfs_get_tree+0x90/0x2b0 fs/super.c:1814 do_new_mount+0x2be/0xb40 fs/namespace.c:3507 do_mount fs/namespace.c:3847 [inline] __do_sys_mount fs/namespace.c:4057 [inline] __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034 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:0x7f57b477feba RSP: 002b:00007f57b5568e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f57b5568ef0 RCX: 00007f57b477feba RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007f57b5568eb0 RBP: 0000000020000040 R08: 00007f57b5568ef0 R09: 0000000000210004 R10: 0000000000210004 R11: 0000000000000246 R12: 0000000020000080 R13: 00007f57b5568eb0 R14: 00000000000062b5 R15: 00000000200002c0 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by kworker/u8:3/52: 3 locks held by kworker/u8:6/1114: 3 locks held by kworker/u8:7/1125: 4 locks held by kworker/u8:9/3479: #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc9000c4efd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc9000c4efd00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcb4890 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:580 #3: ffffffff8fcc13c8 (rtnl_mutex){+.+.}-{3:3}, at: caif_exit_net+0x6f/0x4a0 net/caif/caif_dev.c:528 1 lock held by dhcpcd/5499: #0: ffffffff8fcc13c8 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x2ce/0x1aa0 net/ipv4/devinet.c:1112 2 locks held by getty/5583: #0: ffff8880310060a0 ( &tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900032532f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:4/5879: #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90004197d00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] ffffc90004197d00 (deferred_process_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffffffff8fcc13c8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xe/0x20 net/switchdev/switchdev.c:104 2 locks held by syz-executor/7819: #0: ffff888011b8c0e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888011b8c0e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888011b8c0e0 (&type->s_umount_key#86){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed5c8a8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/9364: #0: ffff8880352b00e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880352b00e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880352b00e0 (&type->s_umount_key#86){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed5c8a8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz.7.422/10682: #0: ffff88814cf5a0e0 (&type->s_umount_key#83/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344 #1: ffffffff8ed5c8a8 (jfs_log_mutex){+.+.}-{3:3}, at: open_dummy_log fs/jfs/jfs_logmgr.c:1191 [inline] #1: ffffffff8ed5c8a8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogOpen+0x1b2/0x1040 fs/jfs/jfs_logmgr.c:1066 2 locks held by syz-executor/10797: #0: ffff88804adc60e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88804adc60e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88804adc60e0 (&type->s_umount_key#86){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed5c8a8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.4.451/10874: #0: ffff888011b8c0e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff888011b8c0e0 (&type->s_umount_key#86){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 2 locks held by syz-executor/11043: #0: ffff888030e880e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888030e880e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888030e880e0 (&type->s_umount_key#86){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed5c8a8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/11446: #0: ffff88804acf40e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88804acf40e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88804acf40e0 (&type->s_umount_key#86){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed5c8a8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz-executor/11486: #0: ffff888078c120e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff888078c120e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888078c120e0 (&type->s_umount_key#86){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 2 locks held by syz.1.569/12086: #0: ffff88806c73a0e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff88806c73a0e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88806c73a0e0 (&type->s_umount_key#86){++++}-{3:3}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed5c8a8 (jfs_log_mutex){+.+.}-{3:3}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz-executor/12475: #0: ffffffff8fcc13c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcc13c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6672 1 lock held by syz.2.665/12616: #0: ffff8880352b00e0 (&type->s_umount_key#86){++++}-{3:3}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880352b00e0 (&type->s_umount_key#86){++++}-{3:3}, at: super_lock+0x27c/0x400 fs/super.c:120 7 locks held by syz-executor/12658: #0: ffff888035390420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2931 [inline] #0: ffff888035390420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x225/0xd30 fs/read_write.c:679 #1: ffff888038f10088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1ea/0x500 fs/kernfs/file.c:325 #2: ffff8881447b51e8 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20e/0x500 fs/kernfs/file.c:326 #3: ffffffff8f55f208 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff88803f8700e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff88803f8700e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88803f8700e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293 #5: ffff88803f873250 (&devlink->lock_key#25){+.+.}-{3:3}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1675 #6: ffffffff8e93d200 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:4562 1 lock held by syz-executor/12749: #0: ffffffff8fcc13c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fcc13c8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6672 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc6-syzkaller-00005-g557329bcecc2 #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+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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 6.12.0-rc6-syzkaller-00005-g557329bcecc2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0xc59/0x2050 kernel/locking/lockdep.c:5172 Code: 00 e8 eb 64 00 00 45 31 f6 85 c0 0f 84 d0 07 00 00 48 c7 c0 40 e9 39 9a 48 c1 e8 03 48 bf 00 00 00 00 00 fc ff df 0f b6 04 38 <84> c0 0f 85 f3 0c 00 00 83 3d f8 8e c9 18 00 75 39 48 63 9c 24 88 RSP: 0018:ffffc90000bc78f0 EFLAGS: 00000806 RAX: 0000000000000004 RBX: ffffffff93c64a08 RCX: ffffffff8170bf9a RDX: 0000000000000000 RSI: 0000000000000008 RDI: dffffc0000000000 RBP: ffff8880216e0b30 R08: ffffffff94297807 R09: 1ffffffff2852f00 R10: dffffc0000000000 R11: fffffbfff2852f01 R12: ffff8880216e0000 R13: ffff8880216e0ad8 R14: 0000000000000000 R15: ffff8880216e0b50 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f23ee33f580 CR3: 000000000e734000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825 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:3229 [inline] process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310 worker_thread+0x870/0xd30 kernel/workqueue.c:3391 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