syzbot


general protection fault in do_unlinkat

Status: upstream: reported C repro on 2023/07/01 21:31
Reported-by: syzbot+d2f9d314d09d40e0ea57@syzkaller.appspotmail.com
First crash: 790d, last: 13d
Cause bisection: introduced by (bisect log) :
commit 6be5b06e4195b002c52a1c2c82573ea7a76ce111
Author: Daniel Rosenberg <drosen@google.com>
Date: Thu Dec 2 22:38:56 2021 +0000

  ANDROID: fuse-bpf v1

Crash: general protection fault in do_unlinkat (log)
Repro: C syz .config
  
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-12 general protection fault in do_unlinkat origin:downstream 2 C 5 6d14h 45d 0/1 premoderation: reported C repro on 2025/07/15 16:32
android-5-15 general protection fault in do_unlinkat origin:downstream 2 C done 10 2d17h 790d 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 8 11d 790d 0/2 upstream: reported C repro on 2023/07/01 22:19
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/08/16 23:08 7m retest repro android13-5.10-lts report log
2025/08/16 23:08 16m retest repro android13-5.10-lts report log
2025/08/16 23:08 16m retest repro android13-5.10-lts report log
2025/08/16 23:08 15m retest repro android13-5.10-lts report log
2025/08/16 23:08 16m retest repro android13-5.10-lts report log
2025/06/21 22:45 10m retest repro android13-5.10-lts report log
2025/05/30 11:18 11m retest repro android13-5.10-lts error
2025/05/30 11:18 13m retest repro android13-5.10-lts report log
2025/05/30 11:18 14m retest repro android13-5.10-lts report log
2025/05/30 11:18 11m retest repro android13-5.10-lts report log
Fix bisection attempts (10)
Created Duration User Patch Repo Result
2025/07/23 03:39 3h52m bisect fix android13-5.10-lts OK (0) job log log
2025/05/15 12:52 2h31m bisect fix android13-5.10-lts OK (0) job log log
2025/01/28 23:39 53m bisect fix android13-5.10-lts OK (0) job log log
2024/06/12 14:45 59m bisect fix android13-5.10-lts OK (0) job log log
2024/02/29 12:45 1h22m bisect fix android13-5.10-lts OK (0) job log log
2024/01/27 20:45 45m bisect fix android13-5.10-lts OK (0) job log log
2023/12/27 19:32 34m bisect fix android13-5.10-lts OK (0) job log log
2023/11/27 01:20 40m bisect fix android13-5.10-lts OK (0) job log log
2023/10/27 05:13 45m bisect fix android13-5.10-lts OK (0) job log log
2023/09/26 05:00 39m bisect fix android13-5.10-lts OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f]
CPU: 1 PID: 283 Comm: syz-executor268 Not tainted 5.10.240-syzkaller-00225-g1154f779f3f3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:do_unlinkat+0x26f/0x670 fs/namei.c:4029
Code: 44 89 ee e8 f3 27 bb ff 45 31 ff 41 81 fd 00 00 20 00 41 0f 95 c7 41 83 c7 eb e9 95 00 00 00 49 8d 7e 30 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 95 13 f5 ff 49 8b 5e 30 4c 89 f0 48 c1 e8
RSP: 0018:ffffc90000b17e00 EFLAGS: 00010203
RAX: 0000000000000007 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8881055a3b40 RSI: 0000000000000000 RDI: 000000000000003d
RBP: ffffc90000b17f00 R08: dffffc0000000000 R09: ffffed1024305250
R10: ffffed1024305250 R11: 1ffff1102430524f R12: 1ffff1102430524a
R13: dffffc0000000000 R14: 000000000000000d R15: ffff888121829250
FS:  00007fa49cf846c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000a000 CR3: 000000011b8a8000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __do_sys_unlinkat fs/namei.c:4077 [inline]
 __se_sys_unlinkat fs/namei.c:4070 [inline]
 __x64_sys_unlinkat+0xd8/0xf0 fs/namei.c:4070
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fa49cfc2539
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa49cf84218 EFLAGS: 00000246 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 00007fa49d04f3e8 RCX: 00007fa49cfc2539
RDX: 0000000000000000 RSI: 0000200000000040 RDI: 00000000ffffff9c
RBP: 00007fa49d04f3e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa49d01c03c
R13: 0000200000008280 R14: 00007fa49d01a016 R15: 00002000000020c0
Modules linked in:
---[ end trace 221d672efa29993b ]---
RIP: 0010:do_unlinkat+0x26f/0x670 fs/namei.c:4029
Code: 44 89 ee e8 f3 27 bb ff 45 31 ff 41 81 fd 00 00 20 00 41 0f 95 c7 41 83 c7 eb e9 95 00 00 00 49 8d 7e 30 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 74 05 e8 95 13 f5 ff 49 8b 5e 30 4c 89 f0 48 c1 e8
RSP: 0018:ffffc90000b17e00 EFLAGS: 00010203

RAX: 0000000000000007 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8881055a3b40 RSI: 0000000000000000 RDI: 000000000000003d
RBP: ffffc90000b17f00 R08: dffffc0000000000 R09: ffffed1024305250
R10: ffffed1024305250 R11: 1ffff1102430524f R12: 1ffff1102430524a
R13: dffffc0000000000 R14: 000000000000000d R15: ffff888121829250
FS:  00007fa49cf846c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000a000 CR3: 000000011b8a8000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	44 89 ee             	mov    %r13d,%esi
   3:	e8 f3 27 bb ff       	call   0xffbb27fb
   8:	45 31 ff             	xor    %r15d,%r15d
   b:	41 81 fd 00 00 20 00 	cmp    $0x200000,%r13d
  12:	41 0f 95 c7          	setne  %r15b
  16:	41 83 c7 eb          	add    $0xffffffeb,%r15d
  1a:	e9 95 00 00 00       	jmp    0xb4
  1f:	49 8d 7e 30          	lea    0x30(%r14),%rdi
  23:	48 89 f8             	mov    %rdi,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 05                	je     0x36
  31:	e8 95 13 f5 ff       	call   0xfff513cb
  36:	49 8b 5e 30          	mov    0x30(%r14),%rbx
  3a:	4c 89 f0             	mov    %r14,%rax
  3d:	48                   	rex.W
  3e:	c1                   	.byte 0xc1
  3f:	e8                   	.byte 0xe8

Crashes (43):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/02 16:20 android13-5.10-lts 1154f779f3f3 7368264b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2025/03/14 17:56 android13-5.10-lts fc9aa81462ee e2826670 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2025/02/25 06:34 android13-5.10-lts 3f5f2283d684 d34966d1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/10/24 21:40 android13-5.10-lts e5e5644ea27f 0d144d1a .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/10/13 06:55 android13-5.10-lts e5e5644ea27f 084d8178 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/07/29 02:00 android13-5.10-lts fd58936f3c1f 46eb10b7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/03/30 11:31 android13-5.10-lts e7daca75b4c3 6baf5069 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2023/07/01 21:23 android13-5.10-lts 28cc6246b5e7 bfc47836 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2025/08/02 15:18 android13-5.10-lts 1154f779f3f3 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2025/02/28 10:17 android13-5.10-lts 3f5f2283d684 6a8fcbc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2025/02/25 05:51 android13-5.10-lts 3f5f2283d684 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/12/08 02:22 android13-5.10-lts 550d1177dc67 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/11/27 02:41 android13-5.10-lts 139a6bb26d9d e9a9a9f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/11/25 11:04 android13-5.10-lts b14940b90491 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/11/24 09:51 android13-5.10-lts b14940b90491 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/11/18 04:20 android13-5.10-lts 6a01908517df cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/11/10 14:55 android13-5.10-lts 6a01908517df 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/11/04 13:13 android13-5.10-lts e5e5644ea27f f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/11/02 14:57 android13-5.10-lts e5e5644ea27f f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/11/01 01:08 android13-5.10-lts e5e5644ea27f 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/10/30 09:44 android13-5.10-lts e5e5644ea27f 66aeb999 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/10/18 11:54 android13-5.10-lts e5e5644ea27f 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/10/08 17:29 android13-5.10-lts e5e5644ea27f 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/10/04 11:27 android13-5.10-lts e5e5644ea27f d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/09/18 17:22 android13-5.10-lts 8d23314f588a c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/09/15 02:42 android13-5.10-lts 8d23314f588a 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/09/08 08:29 android13-5.10-lts 1c5354a314ea 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/09/02 01:35 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/08/28 06:02 android13-5.10-lts 0890c03b8b7d 6c853ff9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/08/23 07:45 android13-5.10-lts 0890c03b8b7d ce8a9099 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/07/30 08:22 android13-5.10-lts fd58936f3c1f 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/07/29 05:08 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/07/29 01:07 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/06/28 09:44 android13-5.10-lts a4a2b7a82ee4 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/05/13 12:31 android13-5.10-lts 70b6ab09a34b 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/04/21 12:55 android13-5.10-lts 8d3bb9cb3b7d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/04/14 19:53 android13-5.10-lts 4e1bc8d8e8ae c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/04/14 17:16 android13-5.10-lts 4e1bc8d8e8ae c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/04/08 11:45 android13-5.10-lts e7daca75b4c3 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2024/03/30 11:11 android13-5.10-lts e7daca75b4c3 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2023/07/18 11:23 android13-5.10-lts 59b65efafe20 20f8b3c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2023/07/05 04:06 android13-5.10-lts e07da8ef0aeb 80298b6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
2023/07/01 21:06 android13-5.10-lts 28cc6246b5e7 bfc47836 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_unlinkat
* Struck through repros no longer work on HEAD.