syzbot


INFO: task hung in fsnotify_sb_delete (3)

Status: auto-obsoleted due to no activity on 2026/04/23 03:29
Subsystems: fs
[Documentation on labels]
First crash: 97d, last: 97d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in fsnotify_sb_delete fs 1 1 1711d 1711d 0/29 auto-closed as invalid on 2021/10/22 10:01
upstream INFO: task hung in fsnotify_sb_delete (2) fs 1 2 293d 295d 0/29 auto-obsoleted due to no activity on 2025/10/09 13:28

Sample crash report:
INFO: task syz-executor:16533 blocked for more than 143 seconds.
      Tainted: G             L      syzkaller #0
      Blocked by coredump.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:21408 pid:16533 tgid:16533 ppid:1      task_flags:0x40014c flags:0x00080001
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5260 [inline]
 __schedule+0x14ef/0x4fb0 kernel/sched/core.c:6867
 __schedule_loop kernel/sched/core.c:6949 [inline]
 schedule+0x164/0x360 kernel/sched/core.c:6964
 fsnotify_sb_delete+0x687/0x870 fs/notify/fsnotify.c:106
 generic_shutdown_super+0xa2/0x2c0 fs/super.c:634
 kill_anon_super+0x3b/0x70 fs/super.c:1289
 deactivate_locked_super+0xbc/0x130 fs/super.c:474
 cleanup_mnt+0x437/0x4d0 fs/namespace.c:1318
 task_work_run+0x1d9/0x270 kernel/task_work.c:233
 exit_task_work include/linux/task_work.h:40 [inline]
 do_exit+0x69b/0x2310 kernel/exit.c:971
 do_group_exit+0x21b/0x2d0 kernel/exit.c:1112
 __do_sys_exit_group kernel/exit.c:1123 [inline]
 __se_sys_exit_group kernel/exit.c:1121 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1121
 x64_sys_call+0x2210/0x2210 arch/x86/include/generated/asm/syscalls_64.h:232
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xe2/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f19c7b9acb9
RSP: 002b:00007f19c7f3b8d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f19c7c047c0 RCX: 00007f19c7b9acb9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000016 R08: 0000000000000000 R09: 00007f19c7c0471f
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f19c7f3cb90
R13: 00007f19c7c0471f R14: 0000555584cc34e8 R15: 00007f19c7f3fe40
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/31:
 #0: ffffffff8e35a360 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 #0: ffffffff8e35a360 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
 #0: ffffffff8e35a360 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
3 locks held by acpid/5187:
 #0: ffff88802860a160 (&mousedev->mutex#2){+.+.}-{4:4}, at: mousedev_close_device+0x2e/0xd0 drivers/input/mousedev.c:441
 #1: ffff8880254ad2c0 (&dev->mutex#2){+.+.}-{4:4}, at: class_mutex_constructor include/linux/mutex.h:253 [inline]
 #1: ffff8880254ad2c0 (&dev->mutex#2){+.+.}-{4:4}, at: input_close_device+0x4c/0x280 drivers/input/input.c:646
 #2: ffffffff8e360c78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline]
 #2: ffffffff8e360c78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2d0/0x770 kernel/rcu/tree_exp.h:956
2 locks held by getty/5592:
 #0: ffff8880302f50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x45c/0x13c0 drivers/tty/n_tty.c:2211
6 locks held by kworker/0:14/6863:
 #0: ffff88813fe15948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3232 [inline]
 #0: ffff88813fe15948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9d4/0x17a0 kernel/workqueue.c:3340
 #1: ffffc9000481fbc0 ((work_completion)(&intf->reset_ws)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3233 [inline]
 #1: ffffc9000481fbc0 ((work_completion)(&intf->reset_ws)){+.+.}-{0:0}, at: process_scheduled_works+0xa0f/0x17a0 kernel/workqueue.c:3340
 #2: ffff88807b5b4198 (&dev->mutex){....}-{4:4}, at: device_trylock include/linux/device.h:905 [inline]
 #2: ffff88807b5b4198 (&dev->mutex){....}-{4:4}, at: usb_lock_device_for_reset+0x123/0x340 drivers/usb/core/usb.c:907
 #3: ffff888143b9f518 (&port_dev->status_lock){+.+.}-{4:4}, at: usb_lock_port drivers/usb/core/hub.c:3252 [inline]
 #3: ffff888143b9f518 (&port_dev->status_lock){+.+.}-{4:4}, at: usb_reset_device+0x548/0xb40 drivers/usb/core/hub.c:6409
 #4: ffff888140aa9868 (hcd->address0_mutex){+.+.}-{4:4}, at: usb_reset_and_verify_device+0x38f/0x1af0 drivers/usb/core/hub.c:6204
 #5: ffffffff8f052af0 (ehci_cf_port_reset_rwsem){.+.+}-{4:4}, at: hub_port_reset+0x14e/0x1840 drivers/usb/core/hub.c:3067
1 lock held by syz-executor/16533:
 #0: ffff888078b0c0e0 (&type->s_umount_key#53){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline]
 #0: ffff888078b0c0e0 (&type->s_umount_key#53){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline]
 #0: ffff888078b0c0e0 (&type->s_umount_key#53){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:506
4 locks held by kworker/0:7/18750:
 #0: ffff88823be1c148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3232 [inline]
 #0: ffff88823be1c148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x9d4/0x17a0 kernel/workqueue.c:3340
 #1: ffffc9000c4a7bc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3233 [inline]
 #1: ffffc9000c4a7bc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0xa0f/0x17a0 kernel/workqueue.c:3340
 #2: ffff888028a00198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:895 [inline]
 #2: ffff888028a00198 (&dev->mutex){....}-{4:4}, at: hub_event+0x17f/0x4f30 drivers/usb/core/hub.c:5899
 #3: ffff888143b9f518 (&port_dev->status_lock){+.+.}-{4:4}, at: usb_lock_port drivers/usb/core/hub.c:3252 [inline]
 #3: ffff888143b9f518 (&port_dev->status_lock){+.+.}-{4:4}, at: hub_event+0x631/0x4f30 drivers/usb/core/hub.c:5952
1 lock held by syz.6.5048/24262:
 #0: ffffffff8e360b40 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x580 kernel/rcu/tree.c:3816
1 lock held by vhost-24300/24315:
1 lock held by syz.5.5058/24303:
 #0: ffffffff8e360b40 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x580 kernel/rcu/tree.c:3816
1 lock held by syz.5.5058/24304:
1 lock held by syz.5.5058/24306:
4 locks held by syz.4.5060/24317:
 #0: ffff888055a6e3c8 (&sb->s_type->i_mutex_key#13){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1027 [inline]
 #0: ffff888055a6e3c8 (&sb->s_type->i_mutex_key#13){+.+.}-{4:4}, at: __sock_release net/socket.c:661 [inline]
 #0: ffff888055a6e3c8 (&sb->s_type->i_mutex_key#13){+.+.}-{4:4}, at: sock_close+0x9b/0x240 net/socket.c:1455
 #1: ffffffff8f8147b0 ((netlink_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x54/0x90 kernel/notifier.c:379
 #2: ffff88806ace54d8 (&nft_net->commit_mutex){+.+.}-{4:4}, at: nft_rcv_nl_event+0x12e/0x670 net/netfilter/nf_tables_api.c:12136
 #3: ffffffff8e360c78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline]
 #3: ffffffff8e360c78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x38d/0x770 kernel/rcu/tree_exp.h:956
1 lock held by sed/24343:

=============================================

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/13/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x274/0x2d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:161 [inline]
 __sys_info lib/sys_info.c:157 [inline]
 sys_info+0x135/0x170 lib/sys_info.c:165
 check_hung_uninterruptible_tasks kernel/hung_task.c:346 [inline]
 watchdog+0xf90/0xfe0 kernel/hung_task.c:515
 kthread+0x726/0x8b0 kernel/kthread.c:463
 ret_from_fork+0x51b/0xa40 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 24335 Comm: dhcpcd-run-hook Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/13/2026
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4870 [inline]
RIP: 0010:__lock_acquire+0x482/0x2cf0 kernel/locking/lockdep.c:5187
Code: 41 8d 5c 24 01 49 ff cc 89 d9 83 c1 fe 78 40 45 89 e7 41 81 e7 ff ff ff 7f 83 f9 31 73 1d 4b 8d 0c bf 41 8b 8c ce 50 0b 00 00 <31> c1 ff cb 49 ff cc f7 c1 00 60 00 00 74 cf eb 17 48 c7 c7 b0 86
RSP: 0000:ffffc9000c506ff0 EFLAGS: 00000097
RAX: 0000000000020007 RBX: 0000000000000002 RCX: 00000000000585cd
RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88802f008b58 R08: ffffffff8174c0e5 R09: ffffffff8e35a360
R10: ffffc9000c5072f8 R11: ffffffff81ae5cf0 R12: 0000000000000000
R13: 0000000000000000 R14: ffff88802f008000 R15: 0000000000000000
FS:  00007f29b3e24c80(0000) GS:ffff888125928000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f29b40bfb60 CR3: 000000005de0e000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 lock_acquire+0x106/0x330 kernel/locking/lockdep.c:5868
 rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 rcu_read_lock include/linux/rcupdate.h:867 [inline]
 class_rcu_constructor include/linux/rcupdate.h:1195 [inline]
 unwind_next_frame+0xc2/0x23c0 arch/x86/kernel/unwind_orc.c:495
 arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122
 save_stack+0x122/0x230 mm/page_owner.c:165
 __set_page_owner+0x8d/0x4c0 mm/page_owner.c:341
 set_page_owner include/linux/page_owner.h:32 [inline]
 post_alloc_hook+0x228/0x280 mm/page_alloc.c:1884
 prep_new_page mm/page_alloc.c:1892 [inline]
 get_page_from_freelist+0x24dc/0x2580 mm/page_alloc.c:3945
 __alloc_frozen_pages_noprof+0x18d/0x380 mm/page_alloc.c:5240
 alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2486
 folio_alloc_mpol_noprof mm/mempolicy.c:2505 [inline]
 vma_alloc_folio_noprof+0xea/0x210 mm/mempolicy.c:2540
 folio_prealloc+0x30/0x170 mm/memory.c:-1
 wp_page_copy mm/memory.c:3722 [inline]
 do_wp_page+0x1243/0x57b0 mm/memory.c:4183
 handle_pte_fault mm/memory.c:6292 [inline]
 __handle_mm_fault mm/memory.c:6414 [inline]
 handle_mm_fault+0x1520/0x32a0 mm/memory.c:6583
 do_user_addr_fault+0xa73/0x1360 arch/x86/mm/fault.c:1336
 handle_page_fault arch/x86/mm/fault.c:1476 [inline]
 exc_page_fault+0x6a/0xc0 arch/x86/mm/fault.c:1532
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618
RIP: 0033:0x7f29b3f7d2da
Code: d0 02 00 00 39 c2 0f 84 bc 00 00 00 8b 47 1c 31 f6 85 c0 8b 07 40 0f 95 c6 c1 e6 07 89 f5 44 8d 48 f8 44 89 c9 c1 e9 03 74 46 <f0> 45 0f b1 08 89 c3 75 eb 41 f6 c1 01 75 4f 41 31 d9 41 83 e1 04
RSP: 002b:00007ffc9afbf6c0 EFLAGS: 00010246
RAX: 0000000000000008 RBX: 00007ffc9afbf6f8 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000000 RDI: 00007f29b40bfb60
RBP: 0000000000000000 R08: 00007f29b40bfb60 R09: 0000000000000000
R10: 00007f29b3e24f50 R11: 0000000000000246 R12: 0000564258aa1290
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/23 03:20 upstream a66191c590b3 82c9c083 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: task hung in fsnotify_sb_delete
* Struck through repros no longer work on HEAD.