BUG: sleeping function called from invalid context at fs/inode.c:1928 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 16209, name: syz.9.9953 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 2 locks held by syz.9.9953/16209: #0: ffff88807597c0e0 (&type->s_umount_key#56){+.+.}-{4:4}, at: __super_lock fs/super.c:57 [inline] #0: ffff88807597c0e0 (&type->s_umount_key#56){+.+.}-{4:4}, at: __super_lock_excl fs/super.c:72 [inline] #0: ffff88807597c0e0 (&type->s_umount_key#56){+.+.}-{4:4}, at: deactivate_super fs/super.c:505 [inline] #0: ffff88807597c0e0 (&type->s_umount_key#56){+.+.}-{4:4}, at: deactivate_super+0xd6/0x100 fs/super.c:502 #1: ffff88807597c998 (&s->s_inode_list_lock){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] #1: ffff88807597c998 (&s->s_inode_list_lock){+.+.}-{3:3}, at: hook_sb_delete security/landlock/fs.c:1279 [inline] #1: ffff88807597c998 (&s->s_inode_list_lock){+.+.}-{3:3}, at: hook_sb_delete+0x11c/0xbd0 security/landlock/fs.c:1272 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 1 UID: 0 PID: 16209 Comm: syz.9.9953 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 __might_resched+0x3c0/0x5e0 kernel/sched/core.c:8927 iput+0x1e/0x40 fs/inode.c:1928 hook_sb_delete security/landlock/fs.c:1342 [inline] hook_sb_delete+0x8bb/0xbd0 security/landlock/fs.c:1272 security_sb_delete+0x6d/0x110 security/security.c:1467 generic_shutdown_super+0xc2/0x390 fs/super.c:634 kill_anon_super fs/super.c:1281 [inline] kill_litter_super+0x70/0xa0 fs/super.c:1291 deactivate_locked_super+0xc1/0x1a0 fs/super.c:473 deactivate_super fs/super.c:506 [inline] deactivate_super+0xde/0x100 fs/super.c:502 cleanup_mnt+0x225/0x450 fs/namespace.c:1327 task_work_run+0x150/0x240 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x86f/0x2bf0 kernel/exit.c:966 do_group_exit+0xd3/0x2a0 kernel/exit.c:1107 get_signal+0x2671/0x26d0 kernel/signal.c:3034 arch_do_signal_or_restart+0x8f/0x790 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop+0x85/0x130 kernel/entry/common.c:40 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_fast_syscall_32+0x240/0x300 arch/x86/entry/syscall_32.c:309 do_fast_syscall_32+0x32/0x80 arch/x86/entry/syscall_32.c:331 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf705d579 Code: Unable to access opcode bytes at 0xf705d54f. RSP: 002b:00000000f544d60c EFLAGS: 00000296 ORIG_RAX: 00000000000000f0 RAX: fffffffffffffe00 RBX: 00000000f7424f88 RCX: 0000000000000080 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000f7424f8c RBP: 0000000000000081 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000