INFO: task syz.8.1321:18845 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.8.1321 state:D stack:25800 pid:18845 tgid:18844 ppid:10008 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 schedule_timeout+0x9a/0x270 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:100 [inline] __wait_for_common kernel/sched/completion.c:121 [inline] wait_for_common kernel/sched/completion.c:132 [inline] wait_for_completion+0x2bf/0x5d0 kernel/sched/completion.c:153 kthread_flush_worker+0x1c6/0x240 kernel/kthread.c:1564 __alloc_workqueue+0x1470/0x1b70 kernel/workqueue.c:5795 alloc_workqueue_noprof+0xd4/0x210 kernel/workqueue.c:5818 btrfs_alloc_workqueue+0x1ec/0x2d0 fs/btrfs/async-thread.c:112 btrfs_init_workqueues+0x2c4/0x6c0 fs/btrfs/disk-io.c:1987 open_ctree+0x141d/0x3d20 fs/btrfs/disk-io.c:3426 btrfs_fill_super fs/btrfs/super.c:987 [inline] btrfs_get_tree_super fs/btrfs/super.c:1952 [inline] btrfs_get_tree_subvol fs/btrfs/super.c:2089 [inline] btrfs_get_tree+0xf5a/0x1830 fs/btrfs/super.c:2123 vfs_get_tree+0x92/0x2b0 fs/super.c:1752 do_new_mount+0x2a2/0xa30 fs/namespace.c:3750 do_mount fs/namespace.c:4078 [inline] __do_sys_mount fs/namespace.c:4278 [inline] __se_sys_mount+0x317/0x410 fs/namespace.c:4255 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe32f51066a RSP: 002b:00007fe32d775e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fe32d775ef0 RCX: 00007fe32f51066a RDX: 0000200000000280 RSI: 0000200000005600 RDI: 00007fe32d775eb0 RBP: 0000200000000280 R08: 00007fe32d775ef0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000005600 R13: 00007fe32d775eb0 R14: 00000000000055b1 R15: 0000200000000000 Showing all locks held in the system: 1 lock held by khungtaskd/38: #0: ffffffff8d3aa300 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8d3aa300 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8d3aa300 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 6 locks held by kworker/u8:2/43: 7 locks held by kworker/u8:3/57: 4 locks held by kworker/u8:5/1000: 5 locks held by kworker/u8:7/1175: 3 locks held by kworker/u8:8/1387: 3 locks held by kworker/u8:9/1395: #0: ffff88813ff29938 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline] #0: ffff88813ff29938 ((wq_completion)events_unbound#2){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346 #1: ffffc90005547bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline] #1: ffffc90005547bc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346 #2: ffffffff8e65f438 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:303 1 lock held by udevd/5174: 2 locks held by dhcpcd/5468: #0: ffffffff8e643898 (vlan_ioctl_mutex){+.+.}-{4:4}, at: sock_ioctl+0x5f1/0x790 net/socket.c:1337 #1: ffffffff8e65f438 (rtnl_mutex){+.+.}-{4:4}, at: vlan_ioctl_handler+0xd0/0x650 net/8021q/vlan.c:577 2 locks held by getty/5565: #0: ffff88823bf268a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90003e832e0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x444/0x1400 drivers/tty/n_tty.c:2222 2 locks held by kworker/u8:10/6163: 2 locks held by udevd/13579: 1 lock held by syz.8.1321/18845: #0: ffff88804ecba0d0 (&type->s_umount_key#58/1){+.+.}-{4:4}, at: alloc_super+0x204/0x990 fs/super.c:345 7 locks held by syz-executor/20404: #0: ffff8880340e4488 (sb_writers#7){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:3103 [inline] #0: ffff8880340e4488 (sb_writers#7){.+.+}-{0:0}, at: vfs_write+0x217/0xb40 fs/read_write.c:682 #1: ffff888050753478 (&of->mutex){+.+.}-{4:4}, at: kernfs_fop_write_iter+0x1df/0x540 fs/kernfs/file.c:343 #2: ffff888144fc2878 (kn->active#52){.+.+}-{0:0}, at: kernfs_get_active_of fs/kernfs/file.c:80 [inline] #2: ffff888144fc2878 (kn->active#52){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x232/0x540 fs/kernfs/file.c:344 #3: ffffffff8ded8698 (nsim_bus_dev_list_lock){+.+.}-{4:4}, at: del_device_store+0xd1/0x360 drivers/net/netdevsim/bus.c:234 #4: ffff88805cb460d8 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:914 [inline] #4: ffff88805cb460d8 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1096 [inline] #4: ffff88805cb460d8 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xb6/0x800 drivers/base/dd.c:1294 #5: ffff88805cb44300 (&devlink->lock_key#50){+.+.}-{4:4}, at: nsim_drv_remove+0x50/0x160 drivers/net/netdevsim/dev.c:1721 #6: ffffffff8e65f438 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:130 [inline] #6: ffffffff8e65f438 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_dev_lock+0x257/0x2f0 net/core/dev.c:2142 2 locks held by syz-executor/20663: #0: ffffffff8ddd1be0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8ddd1be0 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8ddd1be0 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:570 #1: ffffffff8e65f438 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff8e65f438 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #1: ffffffff8e65f438 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8e9/0x1c80 net/core/rtnetlink.c:4064 1 lock held by syz-executor/21029: #0: ffffffff8e65f438 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #0: ffffffff8e65f438 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:341 [inline] #0: ffffffff8e65f438 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x8e9/0x1c80 net/core/rtnetlink.c:4064 2 locks held by syz.5.1577/21046: #0: ffff88804c51e0d0 (&type->s_umount_key#58/1){+.+.}-{4:4}, at: alloc_super+0x204/0x990 fs/super.c:345 #1: ffffffff8d00efd8 (bit_wait_table + i){+.+.}-{3:3}, at: spin_lock include/linux/spinlock_rt.h:44 [inline] #1: ffffffff8d00efd8 (bit_wait_table + i){+.+.}-{3:3}, at: finish_wait kernel/sched/wait.c:394 [inline] #1: ffffffff8d00efd8 (bit_wait_table + i){+.+.}-{3:3}, at: __wait_on_bit+0x1ff/0x300 kernel/sched/wait_bit.c:55 2 locks held by syz.9.1579/21050: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 38 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/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+0x436/0x7d0 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5174 Comm: udevd Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 RIP: 0010:__read_once_word_nocheck+0x3/0x10 include/asm-generic/rwonce.h:67 Code: ac 00 48 ba 00 00 00 00 00 fc ff df e9 88 fc ff ff 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 8b 07 cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc90003c7f130 EFLAGS: 00000202 RAX: ffffffff822a6708 RBX: ffffc90003c7fe98 RCX: 1ffff9200078fe01 RDX: ffffffff8f4a1486 RSI: 0000000000000002 RDI: ffffc90003c7fe98 RBP: 1ffff9200078fe42 R08: 0000000000000005 R09: ffffffff81724d15 R10: ffffc90003c7f258 R11: ffffffff81a9a810 R12: ffffc90003c80000 R13: 1ffff9200078fe43 R14: ffffc90003c7f208 R15: ffffc90003c78000 FS: 00007f90006d7880(0000) GS:ffff88812703b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbe1c9ea051 CR3: 0000000035418000 CR4: 00000000003526f0 Call Trace: deref_stack_reg arch/x86/kernel/unwind_orc.c:406 [inline] unwind_next_frame+0xc3c/0x2390 arch/x86/kernel/unwind_orc.c:585 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:56 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:77 __kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:587 kasan_save_free_info mm/kasan/kasan.h:406 [inline] poison_slab_object mm/kasan/common.c:252 [inline] __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:284 kasan_slab_free include/linux/kasan.h:234 [inline] slab_free_hook mm/slub.c:2514 [inline] slab_free mm/slub.c:6566 [inline] kfree+0x197/0x950 mm/slub.c:6773 tomoyo_check_open_permission+0x2c2/0x3b0 security/tomoyo/file.c:786 security_file_open+0xb1/0x270 security/security.c:3183 do_dentry_open+0x378/0x1350 fs/open.c:942 vfs_open+0x3b/0x350 fs/open.c:1095 do_open fs/namei.c:3975 [inline] path_openat+0x2ef1/0x3840 fs/namei.c:4134 do_filp_open+0x1fa/0x410 fs/namei.c:4161 do_sys_openat2+0x121/0x1c0 fs/open.c:1435 do_sys_open fs/open.c:1450 [inline] __do_sys_openat fs/open.c:1466 [inline] __se_sys_openat fs/open.c:1461 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1461 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f9000833c3a Code: 41 89 f2 48 89 54 24 e0 41 83 e2 40 75 2a 89 f0 f7 d0 a9 00 00 41 00 74 1f 89 f2 b8 01 01 00 00 48 89 fe bf 9c ff ff ff 0f 05 <48> 3d 00 f0 ff ff 77 2e c3 0f 1f 44 00 00 48 8d 44 24 08 c7 44 24 RSP: 002b:00007ffda234f4a8 EFLAGS: 00000206 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055626ba20d90 RCX: 00007f9000833c3a RDX: 0000000000090800 RSI: 000055626b963870 RDI: 00000000ffffff9c RBP: 000055626b963870 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000206 R12: 000055626b96e7b0 R13: 00000000000000ff R14: 000055625c068be0 R15: 00007ffda234f730