BUG: scheduling while atomic in kernfs_remove_by_name_ns

Status: premoderation: reported C repro on 2026/07/25 18:52
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+9e67cd70f7f07acd769d@syzkaller.appspotmail.com
First crash: 38d, last: 7m
Bug presence (3)
Date Name Commit Repro Result
2026/08/02 android16-6.12 (ToT) 1a138e24e292 C [report] BUG: scheduling while atomic in kernfs_remove
2026/08/02 lts (merge base) 8c9d5557c8e6 C Didn't crash
2026/08/02 upstream (ToT) f5a7e2ae5f0a C Didn't crash
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: unable to handle kernel NULL pointer dereference in page_fault_oops mm 10 5 735d 742d 0/29 closed as invalid on 2024/09/13 11:13

Sample crash report:
BUG: scheduling while atomic: syz-executor182/388/0x00000002
Modules linked in:
CPU: 1 UID: 0 PID: 388 Comm: syz-executor182 Not tainted syzkaller #0 998a4fffdb5e6e31f7f8340a226dd9d0893c7622
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:94
 dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
 dump_stack+0x19/0x20 lib/dump_stack.c:129
 __schedule_bug+0x12b/0x200 kernel/sched/core.c:6629
 schedule_debug kernel/sched/core.c:6656 [inline]
 __schedule+0xb85/0x20b0 kernel/sched/core.c:7700
 __schedule_loop kernel/sched/core.c:7960 [inline]
 schedule+0xc5/0x240 kernel/sched/core.c:7975
 schedule_preempt_disabled+0x14/0x30 kernel/sched/core.c:8032
 rwsem_down_write_slowpath+0x5c9/0x1b60 kernel/locking/rwsem.c:1239
 __down_write_common kernel/locking/rwsem.c:1383 [inline]
 __down_write kernel/locking/rwsem.c:1392 [inline]
 down_write+0x163/0x2b0 kernel/locking/rwsem.c:1659
 kernfs_remove_by_name_ns+0x8c/0x180 fs/kernfs/dir.c:1737
 kernfs_remove_by_name include/linux/kernfs.h:637 [inline]
 sysfs_unmerge_group+0xd7/0x130 fs/sysfs/group.c:399
 dpm_sysfs_remove+0x64/0xd0 drivers/base/power/sysfs.c:833
 device_del+0x241/0xcf0 drivers/base/core.c:3856
 device_unregister drivers/base/core.c:3922 [inline]
 device_destroy+0xb0/0x100 drivers/base/core.c:4521
 android_device_destroy+0x118/0x180 drivers/usb/gadget/android_configfs_uevent.c:223
 gadgets_drop+0x1d/0x30 drivers/usb/gadget/configfs.c:2075
 client_drop_item fs/configfs/dir.c:943 [inline]
 configfs_rmdir+0x8b7/0x9b0 fs/configfs/dir.c:1546
 vfs_rmdir+0x3db/0x560 fs/namei.c:4348
 do_rmdir+0x29a/0x590 fs/namei.c:4407
 __do_sys_rmdir fs/namei.c:4426 [inline]
 __se_sys_rmdir fs/namei.c:4424 [inline]
 __x64_sys_rmdir+0x4b/0x60 fs/namei.c:4424
 x64_sys_call+0xaf7/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:85
 do_syscall_x64 arch/x86/entry/common.c:47 [inline]
 do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f655f48c5f9
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffeae97b128 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 0031672f74656764 RCX: 00007f655f48c5f9
RDX: 00007f655f48c5f9 RSI: 00000000000001ff RDI: 0000200000000600
RBP: 00000000000f4240 R08: 0000000000000009 R09: 0000000000000009
R10: 0000000000000009 R11: 0000000000000246 R12: 0000000000005912
R13: 00007ffeae97b13c R14: 00007ffeae97b150 R15: 00007ffeae97b140
 </TASK>
BUG: scheduling while atomic: syz-executor182/388/0x00000000
Modules linked in:
CPU: 0 UID: 0 PID: 388 Comm: syz-executor182 Tainted: G        W          syzkaller #0 998a4fffdb5e6e31f7f8340a226dd9d0893c7622
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
 <TASK>
 __dump_stack+0x21/0x30 lib/dump_stack.c:94
 dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
 dump_stack+0x19/0x20 lib/dump_stack.c:129
 __schedule_bug+0x12b/0x200 kernel/sched/core.c:6629
 schedule_debug kernel/sched/core.c:6656 [inline]
 __schedule+0xb85/0x20b0 kernel/sched/core.c:7700
 __schedule_loop kernel/sched/core.c:7960 [inline]
 schedule+0xc5/0x240 kernel/sched/core.c:7975
 ptrace_stop+0x528/0x8f0 kernel/signal.c:2373
 ptrace_do_notify kernel/signal.c:2410 [inline]
 ptrace_notify+0x1de/0x290 kernel/signal.c:2422
 ptrace_report_syscall include/linux/ptrace.h:415 [inline]
 ptrace_report_syscall_exit include/linux/ptrace.h:477 [inline]
 syscall_exit_work+0x84/0x150 kernel/entry/common.c:173
 syscall_exit_to_user_mode_prepare+0x21/0x40 kernel/entry/common.c:200
 __syscall_exit_to_user_mode_work kernel/entry/common.c:205 [inline]
 syscall_exit_to_user_mode+0x15/0xb0 kernel/entry/common.c:218
 do_syscall_64+0x63/0xf0 arch/x86/entry/common.c:84
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f655f48c5f9
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffeae97b128 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: 0000000000000000 RBX: 0031672f74656764 RCX: 00007f655f48c5f9
RDX: 00007f655f48c5f9 RSI: 00000000000001ff RDI: 0000200000000600
RBP: 00000000000f4240 R08: 0000000000000009 R09: 0000000000000009
R10: 0000000000000009 R11: 0000000000000246 R12: 0000000000005912
R13: 00007ffeae97b13c R14: 00007ffeae97b150 R15: 00007ffeae97b140
 </TASK>

Crashes (93):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/01 20:31 android16-6.12 77b3c87e00dc 587f6b29 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/09/01 20:11 android16-6.12 77b3c87e00dc 587f6b29 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/09/01 11:47 android16-6.12 77b3c87e00dc 587f6b29 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/31 11:27 android16-6.12 96b3287eace8 2f52988a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/27 22:49 android16-6.12 50e8de680435 69a01293 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/26 07:08 android16-6.12 b6d34a1fb26b 6a91adb4 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/25 20:52 android16-6.12 e8191d250396 a9a1fc32 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/25 20:26 android16-6.12 e8191d250396 a9a1fc32 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/25 01:33 android16-6.12 7f32621dc7d3 614e416a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/24 00:32 android16-6.12 e8c85685a629 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/20 02:45 android16-6.12 d47db5b1e129 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/19 02:42 android16-6.12 8dc5b20ad3ea 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/17 09:15 android16-6.12 26014f6c6077 746171ee .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/17 08:47 android16-6.12 26014f6c6077 746171ee .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/10 06:45 android16-6.12 309759bcbe6d 5d63f80b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/08 05:23 android16-6.12 b54741372957 5d63f80b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/06 16:40 android16-6.12 749a6f9d41aa c38879ea .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/05 13:26 android16-6.12 f068f96e8cc3 52aa2820 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/03 21:16 android16-6.12 5098494bc7f3 6b7c9f71 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/03 13:52 android16-6.12 5098494bc7f3 6b7c9f71 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/03 11:44 android16-6.12 5098494bc7f3 6b7c9f71 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/01 02:02 android16-6.12 1a138e24e292 7664cf44 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/07/31 20:23 android16-6.12 1a138e24e292 7664cf44 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/07/30 22:00 android16-6.12 f1c9c21d1c2f aaffb173 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/07/25 20:59 android16-6.12 579215f16d4e 492bab15 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/09/02 06:27 android16-6.12 97fb1ec747d3 587f6b29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/09/02 03:25 android16-6.12 97fb1ec747d3 587f6b29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/09/01 22:30 android16-6.12 77b3c87e00dc 587f6b29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/31 19:25 android16-6.12 be43d38e0381 316d9396 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/31 12:50 android16-6.12 96b3287eace8 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/31 10:01 android16-6.12 96b3287eace8 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/31 06:32 android16-6.12 96b3287eace8 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/31 00:10 android16-6.12 36bee94a7cf9 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/30 20:22 android16-6.12 36bee94a7cf9 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/30 19:03 android16-6.12 36bee94a7cf9 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/30 17:33 android16-6.12 36bee94a7cf9 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/30 06:28 android16-6.12 36bee94a7cf9 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/30 02:35 android16-6.12 36bee94a7cf9 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/29 16:33 android16-6.12 36bee94a7cf9 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/29 09:38 android16-6.12 36bee94a7cf9 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/29 07:05 android16-6.12 36bee94a7cf9 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/29 02:48 android16-6.12 36bee94a7cf9 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/28 21:01 android16-6.12 36bee94a7cf9 2f52988a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/28 17:37 android16-6.12 36bee94a7cf9 e2fa417d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/28 00:24 android16-6.12 50e8de680435 69a01293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/27 20:19 android16-6.12 50e8de680435 69a01293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/27 16:49 android16-6.12 50e8de680435 69a01293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/27 13:59 android16-6.12 50e8de680435 69a01293 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/27 08:24 android16-6.12 dc005eca5dc1 a2b77b9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/27 07:01 android16-6.12 dc005eca5dc1 a2b77b9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/26 20:43 android16-6.12 7ee04de323f7 a2b77b9e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/26 09:20 android16-6.12 b6d34a1fb26b 6a91adb4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/25 14:05 android16-6.12 e8191d250396 a9a1fc32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/24 22:47 android16-6.12 7f32621dc7d3 b55bd4c3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/24 01:49 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/23 15:27 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/23 11:36 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/23 10:26 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/23 07:12 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/22 16:40 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/22 09:53 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/22 04:07 android16-6.12 e8c85685a629 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/21 16:11 android16-6.12 3ab5872299d5 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/20 22:24 android16-6.12 11fb45c3d713 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/20 16:58 android16-6.12 7aa7a88586d9 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/19 18:12 android16-6.12 d47db5b1e129 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/18 14:00 android16-6.12 83f7e9ec53bb 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
2026/08/18 13:23 android16-6.12 83f7e9ec53bb 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust BUG: scheduling while atomic in kernfs_remove_by_name_ns
* Struck through repros no longer work on HEAD.