INFO: task syz-executor:11930 blocked for more than 143 seconds. Not tainted 6.13.0-rc6-syzkaller-00051-geea6e4b4dfb8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:20544 pid:11930 tgid:11930 ppid:1 flags:0x00004006 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 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x13f/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5d0bd87057 RSP: 002b:00007fff0e1125f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f5d0bd87057 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff0e1126b0 RBP: 00007fff0e1126b0 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff0e113730 R13: 00007f5d0be018f4 R14: 00007fff0e113770 R15: 0000000000000002 Showing all locks held in the system: 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 3 locks held by kworker/u8:7/3528: 2 locks held by getty/5587: #0: ffff88814e8300a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 8 locks held by kworker/u8:10/6847: 2 locks held by syz-executor/11249: #0: ffff88804fc6e0e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88804fc6e0e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88804fc6e0e0 (&type->s_umount_key#62){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed53008 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/11394: #0: ffff88807e5e40e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88807e5e40e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88807e5e40e0 (&type->s_umount_key#62){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed53008 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/11930: #0: ffff8880567f80e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880567f80e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880567f80e0 (&type->s_umount_key#62){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed53008 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/12159: #0: ffff8880384e00e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880384e00e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880384e00e0 (&type->s_umount_key#62){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed53008 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/12382: #0: ffff88804f2360e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88804f2360e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88804f2360e0 (&type->s_umount_key#62){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed53008 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.8.780/13412: #0: ffff8880567f80e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880567f80e0 (&type->s_umount_key#62){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.0.741/13522: #0: ffff8880384e00e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880384e00e0 (&type->s_umount_key#62){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.0.741/13555: #0: ffff8880384e00e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880384e00e0 (&type->s_umount_key#62){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.6.814/13632: #0: ffff88804f2360e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff88804f2360e0 (&type->s_umount_key#62){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 1 lock held by syz.7.818/13661: #0: ffff88807e5e40e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff88807e5e40e0 (&type->s_umount_key#62){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 2 locks held by syz-executor/13775: #0: ffff888034a9e0e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff888034a9e0e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff888034a9e0e0 (&type->s_umount_key#62){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed53008 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/13856: #0: ffff8880949180e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880949180e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880949180e0 (&type->s_umount_key#62){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed53008 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/13877: #0: ffff88802fe440e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88802fe440e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff88802fe440e0 (&type->s_umount_key#62){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed53008 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 2 locks held by syz-executor/13963: #0: ffff8880520b80e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880520b80e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880520b80e0 (&type->s_umount_key#62){++++}-{4:4}, at: deactivate_super+0xb5/0xf0 fs/super.c:505 #1: ffffffff8ed53008 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb2/0x530 fs/jfs/jfs_logmgr.c:1444 1 lock held by syz.1.884/14217: #0: ffff88804fc6e0e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:56 [inline] #0: ffff88804fc6e0e0 (&type->s_umount_key#62){++++}-{4:4}, at: super_lock+0x196/0x400 fs/super.c:120 2 locks held by syz-executor/14547: #0: ffffffff8fca0a08 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fca0a08 (rtnl_mutex){+.+.}-{4:4}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6928 #1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #1: ffffffff8e93cff8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:976 1 lock held by syz.8.940/14637: #0: ffff8880567f80e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880567f80e0 (&type->s_umount_key#62){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 7 locks held by syz-executor/14671: #0: ffff888031976420 (sb_writers#8){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2964 [inline] #0: ffff888031976420 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x225/0xd30 fs/read_write.c:675 #1: ffff88807d3a8488 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1ea/0x500 fs/kernfs/file.c:325 #2: ffff888143ff1968 (kn->active#49){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x20e/0x500 fs/kernfs/file.c:326 #3: ffffffff8f54c4e8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xfc/0x480 drivers/net/netdevsim/bus.c:216 #4: ffff88805f56a0e8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff88805f56a0e8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88805f56a0e8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293 #5: ffff888029724250 (&devlink->lock_key#32){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1675 #6: ffffffff8e93cec0 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:4565 1 lock held by syz.0.942/14707: #0: ffff8880384e00e0 (&type->s_umount_key#62){++++}-{4:4}, at: __super_lock fs/super.c:58 [inline] #0: ffff8880384e00e0 (&type->s_umount_key#62){++++}-{4:4}, at: super_lock+0x27c/0x400 fs/super.c:120 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc6-syzkaller-00051-geea6e4b4dfb8 #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: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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 56 Comm: kworker/u8:3 Not tainted 6.13.0-rc6-syzkaller-00051-geea6e4b4dfb8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:find_first_bit include/linux/find.h:207 [inline] RIP: 0010:__first_node include/linux/nodemask.h:266 [inline] RIP: 0010:policy_nodemask+0x2a4/0x7e0 mm/mempolicy.c:2057 Code: 48 c1 e8 03 42 80 3c 30 00 74 08 4c 89 ef e8 d3 36 03 00 49 8b 5d 00 31 ff 48 89 de e8 05 63 9f ff 48 85 db 0f 84 57 02 00 00 17 5e 9f ff f3 48 0f bc c3 e9 52 02 00 00 e8 08 5e 9f ff e9 ee RSP: 0018:ffffc9000100f6c8 EFLAGS: 00000202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffff888022ae1e00 RDX: 0000000000000005 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffffffffffff R08: ffffffff820015ab R09: ffffffff82001363 R10: 0000000000000005 R11: ffff888022ae1e00 R12: ffffc9000100f790 R13: ffffffff9a3d6ea8 R14: dffffc0000000000 R15: 00000000000d2820 FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555559f2d5c8 CR3: 000000009ef98000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: alloc_pages_mpol_noprof+0xb8/0x680 mm/mempolicy.c:2231 alloc_slab_page+0x6a/0x110 mm/slub.c:2423 allocate_slab+0x5a/0x2b0 mm/slub.c:2589 new_slab mm/slub.c:2642 [inline] ___slab_alloc+0xc27/0x14a0 mm/slub.c:3830 __slab_alloc+0x58/0xa0 mm/slub.c:3920 __slab_alloc_node mm/slub.c:3995 [inline] slab_alloc_node mm/slub.c:4156 [inline] __do_kmalloc_node mm/slub.c:4297 [inline] __kmalloc_node_track_caller_noprof+0x2e9/0x4c0 mm/slub.c:4317 kmalloc_reserve+0x111/0x2a0 net/core/skbuff.c:609 __alloc_skb+0x1f3/0x440 net/core/skbuff.c:678 alloc_skb include/linux/skbuff.h:1323 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:748 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x261/0xb50 drivers/net/netdevsim/dev.c:851 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0xa66/0x1840 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