INFO: task syz.6.570:10133 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.570 state:D stack:24776 pid:10133 tgid:10131 ppid:7381 task_flags:0x400140 flags:0x00080003 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] schedule+0x165/0x360 kernel/sched/core.c:7026 io_schedule+0x81/0xe0 kernel/sched/core.c:7871 folio_wait_bit_common+0x6b5/0xb90 mm/filemap.c:1330 folio_lock include/linux/pagemap.h:1141 [inline] __get_metapage+0x40c/0xde0 fs/jfs/jfs_metapage.c:734 diWrite+0x401/0x1f40 fs/jfs/jfs_imap.c:639 txCommit+0x852/0x5430 fs/jfs/jfs_txnmgr.c:1256 jfs_commit_inode+0x2ef/0x530 fs/jfs/inode.c:114 jfs_fsync+0x181/0x1e0 fs/jfs/file.c:37 generic_write_sync include/linux/fs.h:3046 [inline] generic_file_write_iter+0x31c/0x550 mm/filemap.c:4389 do_iter_readv_writev+0x635/0x8d0 fs/read_write.c:-1 vfs_writev+0x323/0x970 fs/read_write.c:1057 do_pwritev fs/read_write.c:1153 [inline] __do_sys_pwritev2 fs/read_write.c:1211 [inline] __se_sys_pwritev2+0x17c/0x2a0 fs/read_write.c:1202 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:0x7f761daff6c9 RSP: 002b:00007f761bd5e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f761dd55fa0 RCX: 00007f761daff6c9 RDX: 0000000000000001 RSI: 0000200000000640 RDI: 0000000000000005 RBP: 00007f761db81f91 R08: 0000000000000004 R09: 0000000000000002 R10: 0000000000000091 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f761dd56038 R14: 00007f761dd55fa0 R15: 00007ffd9c41cde8 INFO: task syz.6.570:10161 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.570 state:D stack:26088 pid:10161 tgid:10131 ppid:7381 task_flags:0x400040 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] schedule+0x165/0x360 kernel/sched/core.c:7026 io_schedule+0x81/0xe0 kernel/sched/core.c:7871 folio_wait_bit_common+0x6b5/0xb90 mm/filemap.c:1330 folio_lock include/linux/pagemap.h:1141 [inline] __get_metapage+0x40c/0xde0 fs/jfs/jfs_metapage.c:734 dtSearch+0x591/0x21b0 fs/jfs/jfs_dtree.c:624 jfs_lookup+0x155/0x380 fs/jfs/namei.c:1461 __lookup_slow+0x29d/0x3d0 fs/namei.c:1816 lookup_slow+0x53/0x70 fs/namei.c:1833 walk_component fs/namei.c:2151 [inline] link_path_walk+0x935/0xea0 fs/namei.c:2519 path_parentat fs/namei.c:2723 [inline] __filename_parentat+0x246/0x670 fs/namei.c:2747 filename_parentat fs/namei.c:2765 [inline] filename_create+0xd2/0x3c0 fs/namei.c:4207 do_mkdirat+0xa0/0x590 fs/namei.c:4478 __do_sys_mkdirat fs/namei.c:4503 [inline] __se_sys_mkdirat fs/namei.c:4501 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4501 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:0x7f761dafde17 RSP: 002b:00007f761bd3ce68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f761bd3cef0 RCX: 00007f761dafde17 RDX: 00000000000001ff RSI: 0000200000000440 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000200000000240 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000440 R13: 00007f761bd3ceb0 R14: 0000000000000000 R15: 0000000000000000 INFO: task syz.6.570:10164 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.6.570 state:D stack:25576 pid:10164 tgid:10131 ppid:7381 task_flags:0x400040 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] schedule+0x165/0x360 kernel/sched/core.c:7026 io_schedule+0x81/0xe0 kernel/sched/core.c:7871 folio_wait_bit_common+0x6b5/0xb90 mm/filemap.c:1330 folio_lock include/linux/pagemap.h:1141 [inline] release_metapage+0x103/0xab0 fs/jfs/jfs_metapage.c:870 discard_metapage fs/jfs/jfs_metapage.h:88 [inline] __get_metapage+0x9a0/0xde0 fs/jfs/jfs_metapage.c:753 dtSearch+0x591/0x21b0 fs/jfs/jfs_dtree.c:624 jfs_lookup+0x155/0x380 fs/jfs/namei.c:1461 lookup_open fs/namei.c:3774 [inline] open_last_lookups fs/namei.c:3895 [inline] path_openat+0x110d/0x3840 fs/namei.c:4131 do_filp_open+0x1fa/0x410 fs/namei.c:4161 do_sys_openat2+0x121/0x1c0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1463 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:0x7f761daff6c9 RSP: 002b:00007f761bd1c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f761dd56180 RCX: 00007f761daff6c9 RDX: 0000000000000000 RSI: 0000200000000040 RDI: ffffffffffffff9c RBP: 00007f761db81f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000026 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f761dd56218 R14: 00007f761dd56180 R15: 00007ffd9c41cde8 Showing all locks held in the system: 2 locks held by kworker/u8:0/12: #0: ffff88813ff69938 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88813ff69938 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc90000117ba0 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc90000117ba0 ((reaper_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 1 lock held by khungtaskd/38: #0: ffffffff8d5aa800 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8d5aa800 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8d5aa800 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 3 locks held by kworker/u8:2/43: #0: ffff88813ff69938 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88813ff69938 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc90000b47ba0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc90000b47ba0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffffffff8e863238 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 6 locks held by kworker/u8:3/58: 3 locks held by kworker/u8:4/70: #0: ffff88814168a138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88814168a138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc9000156fba0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc9000156fba0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffff8880498c00d0 (&type->s_umount_key#79){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:562 2 locks held by dhcpcd/5465: #0: ffff888050cea920 (nlk_cb_mutex-ROUTE){+.+.}-{4:4}, at: netlink_dump+0xbd/0xe90 net/netlink/af_netlink.c:2269 #1: ffffffff8e863238 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff8e863238 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_dumpit+0x92/0x200 net/core/rtnetlink.c:6819 2 locks held by getty/5557: #0: ffff88823bf328a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90003e7e2e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1400 drivers/tty/n_tty.c:2222 3 locks held by syz.6.570/10133: #0: ffff8880498c0480 (sb_writers#22){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3111 [inline] #0: ffff8880498c0480 (sb_writers#22){.+.+}-{0:0}, at: vfs_writev+0x28e/0x970 fs/read_write.c:1055 #1: ffff88803ea1fab8 (&sb->s_type->i_mutex_key#28){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:980 [inline] #1: ffff88803ea1fab8 (&sb->s_type->i_mutex_key#28){+.+.}-{4:4}, at: jfs_fsync+0x98/0x1e0 fs/jfs/file.c:28 #2: ffff88803ea1f6e8 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530 fs/jfs/inode.c:108 1 lock held by syz.6.570/10161: #0: ffff88805d5bb678 (&type->i_mutex_dir_key#15){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:995 [inline] #0: ffff88805d5bb678 (&type->i_mutex_dir_key#15){++++}-{4:4}, at: lookup_slow+0x46/0x70 fs/namei.c:1832 1 lock held by syz.6.570/10164: #0: ffff88805d5bb678 (&type->i_mutex_dir_key#15){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:995 [inline] #0: ffff88805d5bb678 (&type->i_mutex_dir_key#15){++++}-{4:4}, at: open_last_lookups fs/namei.c:3894 [inline] #0: ffff88805d5bb678 (&type->i_mutex_dir_key#15){++++}-{4:4}, at: path_openat+0x8d7/0x3840 fs/namei.c:4131 7 locks held by syz-executor/11832: #0: ffff888034916480 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3111 [inline] #0: ffff888034916480 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x217/0xb40 fs/read_write.c:682 #1: ffff88805e68a878 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1df/0x540 fs/kernfs/file.c:343 #2: ffff888026c7b008 (kn->active#53){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff888026c7b008 (kn->active#53){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x232/0x540 fs/kernfs/file.c:344 #3: ffffffff8e0f3fd8 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: new_device_store+0x12c/0x6f0 drivers/net/netdevsim/bus.c:184 #4: ffff888039e310d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:914 [inline] #4: ffff888039e310d8 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x400 drivers/base/dd.c:1006 #5: ffff888023fa0300 (&devlink->lock_key#21){+.+.}-{4:4}, at: nsim_drv_probe+0xc2/0xba0 drivers/net/netdevsim/dev.c:1582 #6: ffffffff8e863238 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x80/0x210 net/ipv4/nexthop.c:3971 1 lock held by syz-executor/12135: #0: ffffffff8e863238 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff8e863238 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffffffff8e863238 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8e9/0x1c80 net/core/rtnetlink.c:4064 3 locks held by syz.0.902/12395: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 38 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: 58 Comm: kworker/u8:3 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: netns cleanup_net RIP: 0010:mark_usage kernel/locking/lockdep.c:4654 [inline] RIP: 0010:__lock_acquire+0x75f/0xd20 kernel/locking/lockdep.c:5191 Code: 00 31 c9 89 c2 f7 da 48 19 c9 49 09 cf 85 c0 b8 01 00 00 00 0f 45 e8 eb 4b 48 89 fb 4c 89 f6 a9 00 00 03 00 0f 84 4d 02 00 00 03 00 00 00 e8 c7 24 00 00 45 31 ff 85 c0 0f 84 34 05 00 00 83 RSP: 0018:ffffc9000124f2d0 EFLAGS: 00000006 RAX: 00000000000500dc RBX: ffff888019b09e00 RCX: 0000000000000000 RDX: 0000000000000004 RSI: ffff888019b0aa00 RDI: ffff888019b09e00 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff82567ee4 R10: dffffc0000000000 R11: ffffed100b6e2c3d R12: 0000000000000004 R13: 0000000000000004 R14: ffff888019b0aa00 R15: ffff888019b0aa20 FS: 0000000000000000(0000) GS:ffff888126ef9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff1692c9000 CR3: 0000000066628000 CR4: 00000000003526f0 Call Trace: lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868 down_read+0x97/0x1f0 kernel/locking/rwsem.c:1537 kernfs_find_and_get_ns+0x34/0xe0 fs/kernfs/dir.c:933 kernfs_find_and_get include/linux/kernfs.h:612 [inline] sysfs_unmerge_group+0x62/0x140 fs/sysfs/group.c:399 dpm_sysfs_remove+0x85/0xd0 drivers/base/power/sysfs.c:833 device_del+0x251/0x8e0 drivers/base/core.c:3853 unregister_netdevice_many_notify+0x1dde/0x2380 net/core/dev.c:12319 unregister_netdevice_many net/core/dev.c:12347 [inline] default_device_exit_batch+0x819/0x890 net/core/dev.c:12851 ops_exit_list net/core/net_namespace.c:205 [inline] ops_undo_list+0x525/0x990 net/core/net_namespace.c:252 cleanup_net+0x4de/0x820 net/core/net_namespace.c:695 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 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