syzbot


general protection fault in do_unlinkat

Status: premoderation: reported C repro on 2025/07/15 16:32
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+182816dea312c849adc5@syzkaller.appspotmail.com
First crash: 326d, last: 11d
Bug presence (3)
Date Name Commit Repro Result
2025/07/15 android16-6.12 (ToT) a11268a7e257 C [report] general protection fault in do_unlinkat
2025/07/15 lts (merge base) e0e2f7824338 C Didn't crash
2025/07/15 upstream (ToT) 155a3c003e55 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_unlinkat 2 C done 57 11d 1070d 0/2 upstream: reported C repro on 2023/07/01 21:31
android-5-15 general protection fault in do_unlinkat origin:downstream 2 C done error 18 11d 1070d 0/2 upstream: reported C repro on 2023/07/01 22:19
android-6-1 general protection fault in do_unlinkat origin:downstream 2 C done error 14 12d 1070d 0/2 upstream: reported C repro on 2023/07/01 22:19
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/05/17 23:06 27m retest repro android16-6.12 log
2026/05/17 23:06 15m retest repro android16-6.12 log
2026/05/17 23:06 14m retest repro android16-6.12 log
2026/03/21 08:37 35m retest repro android16-6.12 report log
2026/03/06 17:31 8m retest repro android16-6.12 report log
2026/03/06 17:31 12m retest repro android16-6.12 report log
2026/03/06 17:31 7m retest repro android16-6.12 report log
2026/01/05 04:26 4m retest repro android16-6.12 error
2025/12/18 20:00 8m retest repro android16-6.12 error
2025/12/04 03:11 4m retest repro android16-6.12 error

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 UID: 0 PID: 383 Comm: syz.2.17 Not tainted syzkaller #0 abd407d91653e73ff3b9de718fd37c0b8ddb7a3a
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:__d_entry_type include/linux/dcache.h:414 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:419 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:465 [inline]
RIP: 0010:do_unlinkat+0x29c/0x5a0 fs/namei.c:4534
Code: 00 00 20 00 89 de e8 93 b8 98 ff 45 31 f6 81 fb 00 00 20 00 41 0f 95 c6 41 83 c6 eb 31 db e9 f4 00 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 04 02 00 00 41 8b 1f be 00 00 70 00 21
RSP: 0018:ffffc90000edfe00 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888114d54c00 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000edfef8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520001dbf3c R12: ffff888124b62200
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000008
FS:  00007f3b50b076c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3b50ac4ff8 CR3: 0000000115650000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 __do_sys_unlink fs/namei.c:4589 [inline]
 __se_sys_unlink fs/namei.c:4587 [inline]
 __x64_sys_unlink+0x4b/0x60 fs/namei.c:4587
 x64_sys_call+0x286c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:88
 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:0x7f3b4fb9ce59
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:00007f3b50b07028 EFLAGS: 00000246 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 00007f3b4fe15fa0 RCX: 00007f3b4fb9ce59
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000080
RBP: 00007f3b4fc32d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3b4fe16038 R14: 00007f3b4fe15fa0 R15: 00007ffd10e2a018
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__d_entry_type include/linux/dcache.h:414 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:419 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:465 [inline]
RIP: 0010:do_unlinkat+0x29c/0x5a0 fs/namei.c:4534
Code: 00 00 20 00 89 de e8 93 b8 98 ff 45 31 f6 81 fb 00 00 20 00 41 0f 95 c6 41 83 c6 eb 31 db e9 f4 00 00 00 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 04 02 00 00 41 8b 1f be 00 00 70 00 21
RSP: 0018:ffffc90000edfe00 EFLAGS: 00010202

RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff888114d54c00 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000edfef8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520001dbf3c R12: ffff888124b62200
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000008
FS:  00007f3b50b076c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3b4fbea540 CR3: 0000000115650000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	00 00                	add    %al,(%rax)
   2:	20 00                	and    %al,(%rax)
   4:	89 de                	mov    %ebx,%esi
   6:	e8 93 b8 98 ff       	call   0xff98b89e
   b:	45 31 f6             	xor    %r14d,%r14d
   e:	81 fb 00 00 20 00    	cmp    $0x200000,%ebx
  14:	41 0f 95 c6          	setne  %r14b
  18:	41 83 c6 eb          	add    $0xffffffeb,%r14d
  1c:	31 db                	xor    %ebx,%ebx
  1e:	e9 f4 00 00 00       	jmp    0x117
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 04 02 00 00    	jne    0x23b
  37:	41 8b 1f             	mov    (%r15),%ebx
  3a:	be 00 00 70 00       	mov    $0x700000,%esi
  3f:	21                   	.byte 0x21

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/25 20:08 android16-6.12 28ab3740535f c69befb3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_unlinkat
2026/02/09 08:12 android16-6.12 6aeca23b5dee 4c131dc4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_unlinkat
2025/08/02 17:08 android16-6.12 bf0fb8bb181b 7368264b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_unlinkat
2025/07/15 18:08 android16-6.12 2bd1f3631412 03fcfc4b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_unlinkat
2025/07/15 17:21 android16-6.12 2bd1f3631412 03fcfc4b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_unlinkat
2026/04/28 11:53 android16-6.12 85ec47a36e3d ce741359 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_unlinkat
2026/04/07 01:12 android16-6.12 113c5d9ef7ec 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_unlinkat
2026/04/02 01:51 android16-6.12 58c54010b62a 0cb124d5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_unlinkat
2026/03/30 23:33 android16-6.12 c9dd6d939a0d d0af506e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_unlinkat
2026/02/20 16:41 android16-6.12 879c70c90804 17d780d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_unlinkat
2026/02/09 07:32 android16-6.12 6aeca23b5dee 4c131dc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_unlinkat
2025/08/23 17:15 android16-6.12 c9198633ac9e bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_unlinkat
2025/07/15 16:31 android16-6.12 2bd1f3631412 03fcfc4b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_unlinkat
* Struck through repros no longer work on HEAD.