syzbot


general protection fault in do_rmdir

Status: premoderation: reported C repro on 2025/07/16 06:08
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+2d8d7a36d69a7f5cb038@syzkaller.appspotmail.com
First crash: 336d, last: 6d22h
Bug presence (3)
Date Name Commit Repro Result
2025/07/17 android16-6.12 (ToT) da324a107472 C [report] general protection fault in do_rmdir
2025/07/17 lts (merge base) e0e2f7824338 C Didn't crash
2025/07/17 upstream (ToT) e2291551827f C Didn't crash
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 general protection fault in do_rmdir 2 C 26 6d23h 922d 0/2 upstream: reported C repro on 2023/12/08 13:26
android-5-15 general protection fault in do_rmdir origin:downstream 2 C 8 28d 922d 0/2 upstream: reported C repro on 2023/12/08 13:26
android-6-1 general protection fault in do_rmdir origin:downstream 2 C done 7 10d 922d 0/2 upstream: reported C repro on 2023/12/08 13:26
Last patch testing requests (6)
Created Duration User Patch Repo Result
2026/05/16 07:07 25m retest repro android16-6.12 log
2026/04/16 15:25 7m retest repro android16-6.12 report log
2026/03/05 02:26 10m retest repro android16-6.12 report log
2026/02/05 06:18 8m retest repro android16-6.12 report log
2025/12/04 21:45 5m retest repro android16-6.12 error
2025/09/25 12:23 7m retest repro android16-6.12 report log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047]
CPU: 1 UID: 0 PID: 381 Comm: syz.2.17 Not tainted syzkaller #0 c36f08223ec58598e05683a28d55b954d63a7946
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:do_rmdir+0x1f5/0x590 fs/namei.c:4400
Code: 31 d2 e8 1e 30 ff ff 49 89 c6 48 3d 01 f0 ff ff 72 0d e8 7e bb 98 ff 45 89 f5 e9 bb 00 00 00 4d 8d 6e 30 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 ef e8 dc 61 f1 ff 49 83 7d 00 00 74 25
RSP: 0018:ffffc900010afe20 EFLAGS: 00010203
RAX: 0000000000000008 RBX: ffff888114266600 RCX: ffff88810d3dcc00
RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88811164f4c0
RBP: ffffc900010afef8 R08: ffff8881f6f50c07 R09: 1ffff1103edea180
R10: dffffc0000000000 R11: ffffed103edea181 R12: 00000000ffffff9c
R13: 0000000000000044 R14: 0000000000000014 R15: dffffc0000000000
FS:  00007f2b2e8fd6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001940 CR3: 0000000115d1e000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 __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:0x7f2b2d99ce59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2b2e8fd028 EFLAGS: 00000246 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 00007f2b2dc15fa0 RCX: 00007f2b2d99ce59
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000040
RBP: 00007f2b2da32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2b2dc16038 R14: 00007f2b2dc15fa0 R15: 00007ffde803a2c8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:do_rmdir+0x1f5/0x590 fs/namei.c:4400
Code: 31 d2 e8 1e 30 ff ff 49 89 c6 48 3d 01 f0 ff ff 72 0d e8 7e bb 98 ff 45 89 f5 e9 bb 00 00 00 4d 8d 6e 30 4c 89 e8 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 ef e8 dc 61 f1 ff 49 83 7d 00 00 74 25
RSP: 0018:ffffc900010afe20 EFLAGS: 00010203
RAX: 0000000000000008 RBX: ffff888114266600 RCX: ffff88810d3dcc00
RDX: 0000000000000000 RSI: 0000000000000003 RDI: ffff88811164f4c0
RBP: ffffc900010afef8 R08: ffff8881f6f50c07 R09: 1ffff1103edea180
R10: dffffc0000000000 R11: ffffed103edea181 R12: 00000000ffffff9c
R13: 0000000000000044 R14: 0000000000000014 R15: dffffc0000000000
FS:  00007f2b2e8fd6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001940 CR3: 0000000115d1e000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	31 d2                	xor    %edx,%edx
   2:	e8 1e 30 ff ff       	call   0xffff3025
   7:	49 89 c6             	mov    %rax,%r14
   a:	48 3d 01 f0 ff ff    	cmp    $0xfffffffffffff001,%rax
  10:	72 0d                	jb     0x1f
  12:	e8 7e bb 98 ff       	call   0xff98bb95
  17:	45 89 f5             	mov    %r14d,%r13d
  1a:	e9 bb 00 00 00       	jmp    0xda
  1f:	4d 8d 6e 30          	lea    0x30(%r14),%r13
  23:	4c 89 e8             	mov    %r13,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 38 00       	cmpb   $0x0,(%rax,%r15,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ef             	mov    %r13,%rdi
  34:	e8 dc 61 f1 ff       	call   0xfff16215
  39:	49 83 7d 00 00       	cmpq   $0x0,0x0(%r13)
  3e:	74 25                	je     0x65

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/10 16:40 android16-6.12 cf3d484a7cc5 f79bac11 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_rmdir
2026/01/22 03:54 android16-6.12 f33ca06267f8 8fc37797 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_rmdir
2025/07/16 06:56 android16-6.12 603af016e4a8 03fcfc4b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_rmdir
2026/02/19 01:40 android16-6.12 77472d8cff1f 77d4d919 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_rmdir
2026/02/18 15:20 android16-6.12 77472d8cff1f 39751c21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_rmdir
2026/01/22 03:20 android16-6.12 f33ca06267f8 8fc37797 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_rmdir
2025/10/08 11:43 android16-6.12 0729771783cd 7e2882b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_rmdir
2025/07/16 06:07 android16-6.12 603af016e4a8 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_rmdir
* Struck through repros no longer work on HEAD.