BUG: sleeping function called from invalid context at fs/dcache.c:622
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 10537, name: syz-executor278
preempt_count: 1, expected: 0
RCU nest depth: 0, expected: 0
no locks held by syz-executor278/10537.
Preemption disabled at:
[<0000000000000000>] 0x0
CPU: 0 PID: 10537 Comm: syz-executor278 Not tainted 6.1.78-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
__might_resched+0x5cb/0x780 kernel/sched/core.c:9942
__dentry_kill+0x52e/0x650 fs/dcache.c:622
dentry_kill+0xbb/0x290
dput+0xfb/0x1d0 fs/dcache.c:914
__fput+0x5e4/0x890 fs/file_table.c:328
task_work_run+0x246/0x300 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:171
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f60273c343a
Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 f3 84 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 53 85 02 00 8b 44 24
RSP: 002b:00007ffc9d82aee0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f60273c343a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000003
R10: 0000000000000000 R11: 0000000000000293 R12: 00007ffc9d82af18
R13: 00007ffc9d82af30 R14: 00007ffc9d82af70 R15: 0000000000001b2c
</TASK>
BUG: scheduling while atomic: syz-executor278/10537/0x00000002
no locks held by syz-executor278/10537.
Modules linked in:
Preemption disabled at:
[<0000000000000000>] 0x0