BUG: sleeping function called from invalid context at fs/inode.c:1972 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 8049, name: syz-executor preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz-executor/8049: #0: ffff88807dec20e0 (&type->s_umount_key#58){++++}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff88807dec20e0 (&type->s_umount_key#58){++++}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff88807dec20e0 (&type->s_umount_key#58){++++}-{4:4}, at: deactivate_super+0xa9/0xe0 fs/super.c:506 #1: ffff88807dec2998 (&s->s_inode_list_lock){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] #1: ffff88807dec2998 (&s->s_inode_list_lock){+.+.}-{3:3}, at: hook_sb_delete+0xae/0xd00 security/landlock/fs.c:1405 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 UID: 0 PID: 8049 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(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 __might_resched+0x495/0x610 kernel/sched/core.c:8837 iput+0x2b/0x1050 fs/inode.c:1972 hook_sb_delete+0x780/0xd00 security/landlock/fs.c:1468 security_sb_delete+0x80/0x150 security/security.c:920 generic_shutdown_super+0xaa/0x2c0 fs/super.c:635 kill_anon_super fs/super.c:1282 [inline] kill_litter_super+0x76/0xb0 fs/super.c:1292 deactivate_locked_super+0xbc/0x130 fs/super.c:474 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1317 task_work_run+0x1d4/0x260 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:44 [inline] exit_to_user_mode_loop+0xff/0x4f0 kernel/entry/common.c:75 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:226 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:256 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:159 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:194 [inline] do_syscall_64+0x2e9/0xfa0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f8c7ab909f7 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffe80098848 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f8c7ac11d7d RCX: 00007f8c7ab909f7 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe80098900 RBP: 00007ffe80098900 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe800999f0 R13: 00007f8c7ac11d7d R14: 0000000000044b7f R15: 00007ffe8009aac0