INFO: task syz-executor:6281 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:21480 pid:6281 tgid:6281 ppid:1 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5325 [inline] __schedule+0x16f3/0x4c20 kernel/sched/core.c:6929 __schedule_loop kernel/sched/core.c:7011 [inline] rt_mutex_schedule+0x77/0xf0 kernel/sched/core.c:7307 rt_mutex_slowlock_block+0x5ba/0x6d0 kernel/locking/rtmutex.c:1647 __rt_mutex_slowlock kernel/locking/rtmutex.c:1721 [inline] __rt_mutex_slowlock_locked kernel/locking/rtmutex.c:1760 [inline] rt_mutex_slowlock+0x2b1/0x6e0 kernel/locking/rtmutex.c:1800 __rt_mutex_lock kernel/locking/rtmutex.c:1815 [inline] __mutex_lock_common kernel/locking/rtmutex_api.c:536 [inline] mutex_lock_nested+0x16a/0x1d0 kernel/locking/rtmutex_api.c:547 lmLogClose+0xb4/0x520 fs/jfs/jfs_logmgr.c:1443 jfs_umount+0x2ef/0x3c0 fs/jfs/jfs_umount.c:114 jfs_put_super+0x8c/0x190 fs/jfs/super.c:194 generic_shutdown_super+0x135/0x2c0 fs/super.c:642 kill_block_super+0x44/0x90 fs/super.c:1722 deactivate_locked_super+0xbc/0x130 fs/super.c:473 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1327 task_work_run+0x1d4/0x260 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xe9/0x130 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x2bd/0xfa0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8096ad01f7 RSP: 002b:00007ffd41375188 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f8096b51d7d RCX: 00007f8096ad01f7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd41375240 RBP: 00007ffd41375240 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd413762d0 R13: 00007f8096b51d7d R14: 0000000000033c15 R15: 00007ffd41376310 Showing all locks held in the system: 1 lock held by khungtaskd/39: #0: ffffffff8d7aa4c0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8d7aa4c0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8d7aa4c0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 3 locks held by dhcpcd/5466: 2 locks held by getty/5560: #0: ffff88814de230a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90003e8b2e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1400 drivers/tty/n_tty.c:2222 2 locks held by syz-executor/5809: #0: ffff888025a540d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff888025a540d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff888025a540d0 (&type->s_umount_key#61){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505 #1: ffffffff8dbe19f8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520 fs/jfs/jfs_logmgr.c:1443 2 locks held by syz-executor/6137: #0: ffff8880290dc0d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff8880290dc0d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff8880290dc0d0 (&type->s_umount_key#61){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505 #1: ffffffff8dbe19f8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520 fs/jfs/jfs_logmgr.c:1443 2 locks held by syz-executor/6281: #0: ffff88803c6c40d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff88803c6c40d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff88803c6c40d0 (&type->s_umount_key#61){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505 #1: ffffffff8dbe19f8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520 fs/jfs/jfs_logmgr.c:1443 1 lock held by syz.8.90/6608: #0: ffff888025a540d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock fs/super.c:59 [inline] #0: ffff888025a540d0 (&type->s_umount_key#61){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:121 2 locks held by syz-executor/6714: #0: ffff888082a620d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff888082a620d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff888082a620d0 (&type->s_umount_key#61){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505 #1: ffffffff8dbe19f8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520 fs/jfs/jfs_logmgr.c:1443 2 locks held by syz-executor/6729: #0: ffff8880791dc0d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff8880791dc0d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff8880791dc0d0 (&type->s_umount_key#61){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505 #1: ffffffff8dbe19f8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520 fs/jfs/jfs_logmgr.c:1443 1 lock held by syz.9.135/7021: #0: ffff888025a540d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock fs/super.c:59 [inline] #0: ffff888025a540d0 (&type->s_umount_key#61){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:121 2 locks held by syz-executor/7469: #0: ffff88805d50e0d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff88805d50e0d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff88805d50e0d0 (&type->s_umount_key#61){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:505 #1: ffffffff8dbe19f8 (jfs_log_mutex){+.+.}-{4:4}, at: lmLogClose+0xb4/0x520 fs/jfs/jfs_logmgr.c:1443 1 lock held by syz.2.180/7601: #0: ffff888025a540d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock fs/super.c:59 [inline] #0: ffff888025a540d0 (&type->s_umount_key#61){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:121 1 lock held by syz.5.288/8085: #0: ffff8880290dc0d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock fs/super.c:59 [inline] #0: ffff8880290dc0d0 (&type->s_umount_key#61){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:121 4 locks held by syz-executor/8182: #0: ffff88803423c480 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3111 [inline] #0: ffff88803423c480 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x217/0xb40 fs/read_write.c:682 #1: ffff88805ba33078 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1df/0x540 fs/kernfs/file.c:343 #2: ffff888027031d28 (kn->active#53){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff888027031d28 (kn->active#53){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x232/0x540 fs/kernfs/file.c:344 #3: ffffffff8e309718 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x12c/0x6f0 drivers/net/netdevsim/bus.c:184 1 lock held by syz.0.327/8200: #0: ffff888025a540d0 (&type->s_umount_key#61){++++}-{4:4}, at: __super_lock fs/super.c:59 [inline] #0: ffff888025a540d0 (&type->s_umount_key#61){++++}-{4:4}, at: super_lock+0x2a9/0x3b0 fs/super.c:121 7 locks held by syz-executor/8214: #0: ffff88803423c480 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3111 [inline] #0: ffff88803423c480 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x217/0xb40 fs/read_write.c:682 #1: ffff88805eaf5078 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1df/0x540 fs/kernfs/file.c:343 #2: ffff888027031e18 (kn->active#52){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff888027031e18 (kn->active#52){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x232/0x540 fs/kernfs/file.c:344 #3: ffffffff8e309718 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd1/0x360 drivers/net/netdevsim/bus.c:234 #4: ffff888023c1a0d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:914 [inline] #4: ffff888023c1a0d8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1096 [inline] #4: ffff888023c1a0d8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x800 drivers/base/dd.c:1294 #5: ffff888023c1e300 (&devlink->lock_key#11){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1721 #6: ffffffff8ea778f8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #6: ffffffff8ea778f8 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_dev_lock+0x257/0x2f0 net/core/dev.c:2142 3 locks held by syz-executor/8304: 2 locks held by syz.9.399/8441: 2 locks held by syz.8.402/8453: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 39 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline] watchdog+0xf60/0xfa0 kernel/hung_task.c:495 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 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: 8453 Comm: syz.8.402 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:unwind_next_frame+0x59/0x2390 arch/x86/kernel/unwind_orc.c:470 Code: 44 24 30 80 3c 28 00 74 08 48 89 df e8 a0 f2 ac 00 48 89 5c 24 18 49 8b 5e 48 4d 8d 6e 38 4c 89 e8 48 c1 e8 03 48 89 44 24 58 <80> 3c 28 00 74 08 4c 89 ef e8 79 f2 ac 00 4d 8b 7e 38 4d 89 f4 49 RSP: 0018:ffffc90003f27178 EFLAGS: 00000a06 RAX: 1ffff920007e4e50 RBX: ffffffff821d7af9 RCX: ac2063a489b81700 RDX: dffffc0000000000 RSI: ffffffff821d7af9 RDI: ffffc90003f27248 RBP: dffffc0000000000 R08: ffffc90003f27310 R09: 0000000000000004 R10: ffffc90003f27298 R11: ffffffff81ab0b10 R12: ffff88803b350000 R13: ffffc90003f27280 R14: ffffc90003f27248 R15: ffffc90003f27248 FS: 00007f017ab266c0(0000) GS:ffff888126cc9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f57d2dd3000 CR3: 000000004c21c000 CR4: 00000000003526f0 Call Trace: arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 save_stack+0xf7/0x1f0 mm/page_owner.c:156 __set_page_owner+0x8d/0x490 mm/page_owner.c:329 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1850 prep_new_page mm/page_alloc.c:1858 [inline] get_page_from_freelist+0x28c0/0x2960 mm/page_alloc.c:3884 __alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5183 alloc_pages_mpol+0xd1/0x380 mm/mempolicy.c:2416 folio_alloc_mpol_noprof+0x39/0xe0 mm/mempolicy.c:2435 shmem_alloc_folio mm/shmem.c:1871 [inline] shmem_alloc_and_add_folio mm/shmem.c:1910 [inline] shmem_get_folio_gfp+0x633/0x1a70 mm/shmem.c:2533 shmem_get_folio mm/shmem.c:2639 [inline] shmem_write_begin+0xef/0x2a0 mm/shmem.c:3289 generic_perform_write+0x29d/0x8c0 mm/filemap.c:4242 shmem_file_write_iter+0xfb/0x120 mm/shmem.c:3464 new_sync_write fs/read_write.c:593 [inline] vfs_write+0x5d5/0xb40 fs/read_write.c:686 ksys_write+0x14b/0x260 fs/read_write.c:738 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f017c8bd97f Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 92 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 4c 93 02 00 48 RSP: 002b:00007f017ab25df0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f017c8bd97f RDX: 0000000001000000 RSI: 00007f0172706000 RDI: 0000000000000006 RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000055bb R10: 0000000000000002 R11: 0000000000000293 R12: 0000000000000006 R13: 00007f017ab25ef0 R14: 00007f017ab25eb0 R15: 00007f0172706000