syzbot


BUG: scheduling while atomic in irqentry_exit_to_user_mode

Status: moderation: reported on 2025/03/26 13:18
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+8823bf9f493ec7d5f0dd@syzkaller.appspotmail.com
First crash: 7d03h, last: 7d03h

Sample crash report:
loop5: detected capacity change from 0 to 4096
ntfs3(loop5): Different NTFS sector size (1024) and media sector size (512).
BUG: scheduling while atomic: syz.5.2380/15513/0x00000002
1 lock held by syz.5.2380/15513:
 #0: ffff8880682e00e0 (&type->s_umount_key#98/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 fs/super.c:344
Modules linked in:
Preemption disabled at:
[<0000000000000000>] 0x0
Kernel panic - not syncing: scheduling while atomic: panic_on_warn set ...
CPU: 1 UID: 0 PID: 15513 Comm: syz.5.2380 Not tainted 6.14.0-rc7-syzkaller-00196-g88d324e69ea9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
 panic+0x349/0x880 kernel/panic.c:354
 check_panic_on_warn+0x86/0xb0 kernel/panic.c:243
 __schedule_bug+0x1b2/0x210 kernel/sched/core.c:5936
 schedule_debug kernel/sched/core.c:5965 [inline]
 __schedule+0x19dc/0x4c90 kernel/sched/core.c:6663
 __schedule_loop kernel/sched/core.c:6842 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6857
 exit_to_user_mode_loop kernel/entry/common.c:102 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
 irqentry_exit_to_user_mode+0x5e/0x250 kernel/entry/common.c:231
 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707
RIP: 000f:lock_release+0x658/0xa30
RSP: 0018:ffffc9000574f680 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 1ffff92000ae9ee2 RCX: ffffc9000574f703
RDX: 0000000000000001 RSI: ffffffff8c2ac600 RDI: ffffffff8c8100a0
RBP: ffffc9000574f7c0 R08: ffffffff903cfb77 R09: 1ffffffff2079f6e
R10: dffffc0000000000 R11: fffffbfff2079f6f R12: 1ffff92000ae9edc
R13: 0000000000000246 R14: ffffc9000574f710 R15: dffffc0000000000
 </TASK>
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/22 13:11 upstream 88d324e69ea9 c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root BUG: scheduling while atomic in irqentry_exit_to_user_mode
* Struck through repros no longer work on HEAD.