syzbot


general protection fault in do_renameat2

Status: upstream: reported C repro on 2023/09/17 05:40
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+0440f4da8a24a4698145@syzkaller.appspotmail.com
First crash: 866d, last: 1d08h
Cause bisection: introduced by (bisect log) :
commit 57f3ff9648991998d008ecf32f2f9e78a08bfb8b
Author: Daniel Rosenberg <drosen@google.com>
Date: Thu Dec 2 21:50:02 2021 +0000

  ANDROID: fuse-bpf v1.1

Crash: BUG: unable to handle kernel NULL pointer dereference in do_renameat2 (log)
Repro: C syz .config
  
Bug presence (3)
Date Name Commit Repro Result
2023/09/17 android14-6.1 (ToT) d3212c2dbaba C [report] general protection fault in do_renameat2
2023/09/17 lts (merge base) b1644a0031cf C Didn't crash
2023/09/17 upstream (ToT) f0b0d403eabb C Didn't crash
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in do_renameat2 origin:downstream 2 C 54 6d19h 858d 0/2 upstream: reported C repro on 2023/09/24 22:41
android-5-10 general protection fault in do_renameat2 2 C 96 6d14h 868d 0/2 upstream: reported C repro on 2023/09/15 06:30
android-6-12 general protection fault in do_renameat2 origin:downstream 2 C 16 79d 214d 0/1 premoderation: reported C repro on 2025/06/30 10:33
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/01/14 08:19 12m retest repro android14-6.1 report log
2026/01/14 08:19 6m retest repro android14-6.1 report log
2025/12/29 10:21 7m retest repro android14-6.1 report log
2025/12/29 10:21 7m retest repro android14-6.1 report log
2025/12/29 10:21 6m retest repro android14-6.1 report log
2025/12/29 10:21 6m retest repro android14-6.1 report log
2025/12/29 10:21 8m retest repro android14-6.1 report log
2025/12/03 12:32 7m retest repro android14-6.1 report log
2025/12/03 12:32 7m retest repro android14-6.1 report log
2025/12/03 12:32 5m retest repro android14-6.1 report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/06/11 07:30 46m bisect fix android14-6.1 OK (0) job log log
2024/01/20 12:34 46m bisect fix android14-6.1 OK (0) job log log
2023/12/20 19:01 53m bisect fix android14-6.1 OK (0) job log log
2023/11/20 16:39 1h04m bisect fix android14-6.1 OK (0) job log log
2023/10/19 18:06 39m bisect fix android14-6.1 OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 PID: 376 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:__d_entry_type include/linux/dcache.h:394 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:399 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:445 [inline]
RIP: 0010:do_renameat2+0x4cb/0xfd0 fs/namei.c:4982
Code: 89 c5 48 3d 01 f0 ff ff 72 0f e8 20 68 ae ff 4c 8b 64 24 20 e9 47 04 00 00 4d 89 ec 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 0f 85 20 06 00 00 41 8b 5d 00 be 00 00 70 00
RSP: 0018:ffffc90000ac7ce0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888113463300 RCX: ffff888123513cc0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888123513cc0
RBP: ffffc90000ac7ed8 R08: ffffc90000ac7bc7 R09: 1ffff92000158f78
R10: dffffc0000000000 R11: fffff52000158f79 R12: 0000000000000001
R13: 0000000000000008 R14: 1ffff92000158f01 R15: 0000000000000000
FS:  00007f815e1f26c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f815d3e8600 CR3: 000000010fe0b000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __do_sys_rename fs/namei.c:5080 [inline]
 __se_sys_rename fs/namei.c:5078 [inline]
 __x64_sys_rename+0x86/0x90 fs/namei.c:5078
 x64_sys_call+0x300/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:83
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f815d39aeb9
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:00007f815e1f2028 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f815d615fa0 RCX: 00007f815d39aeb9
RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000200000000100
RBP: 00007f815d408c1f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f815d616038 R14: 00007f815d615fa0 R15: 00007ffeef2e4518
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__d_entry_type include/linux/dcache.h:394 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:399 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:445 [inline]
RIP: 0010:do_renameat2+0x4cb/0xfd0 fs/namei.c:4982
Code: 89 c5 48 3d 01 f0 ff ff 72 0f e8 20 68 ae ff 4c 8b 64 24 20 e9 47 04 00 00 4d 89 ec 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 0f 85 20 06 00 00 41 8b 5d 00 be 00 00 70 00
RSP: 0018:ffffc90000ac7ce0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888113463300 RCX: ffff888123513cc0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888123513cc0
RBP: ffffc90000ac7ed8 R08: ffffc90000ac7bc7 R09: 1ffff92000158f78
R10: dffffc0000000000 R11: fffff52000158f79 R12: 0000000000000001
R13: 0000000000000008 R14: 1ffff92000158f01 R15: 0000000000000000
FS:  00007f815e1f26c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f815e1d0ff8 CR3: 000000010fe0b000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	89 c5                	mov    %eax,%ebp
   2:	48 3d 01 f0 ff ff    	cmp    $0xfffffffffffff001,%rax
   8:	72 0f                	jb     0x19
   a:	e8 20 68 ae ff       	call   0xffae682f
   f:	4c 8b 64 24 20       	mov    0x20(%rsp),%r12
  14:	e9 47 04 00 00       	jmp    0x460
  19:	4d 89 ec             	mov    %r13,%r12
  1c:	49 c1 ec 03          	shr    $0x3,%r12
  20:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  27:	fc ff df
* 2a:	41 0f b6 04 04       	movzbl (%r12,%rax,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 20 06 00 00    	jne    0x657
  37:	41 8b 5d 00          	mov    0x0(%r13),%ebx
  3b:	be 00 00 70 00       	mov    $0x700000,%esi

Crashes (45):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/29 02:36 android14-6.1 28238b5ea70e 0adc945e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2026/01/25 13:10 android14-6.1 5b3c238664a9 40acda8a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/11/19 02:26 android14-6.1 498f91c17b08 ef766cd7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/11/17 04:41 android14-6.1 f090d4b083a9 f7988ea4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/07/27 06:43 android14-6.1 2ff414a09808 fb8f743d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/07/15 18:18 android14-6.1 e2deb0b42a3a 03fcfc4b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/04/20 18:22 android14-6.1 bc3d1d352ab6 2a20f901 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/11/29 05:53 android14-6.1 93460febf9b8 5df23865 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/07/14 15:31 android14-6.1 96d66062d076 eaeb5c15 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/07/14 14:55 android14-6.1 96d66062d076 eaeb5c15 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/02/18 00:54 android14-6.1 92432f07d663 578f7538 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2023/09/17 05:38 android14-6.1 d3212c2dbaba 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/09/15 02:56 android14-6.1 0429b7af308c e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/06/30 03:08 android14-6.1 36d69f6a49eb fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/06/02 01:49 android14-6.1 db710ea87c32 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/05/25 10:16 android14-6.1 3c6d0251e1fb ed351ea7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/04/21 17:41 android14-6.1 bc3d1d352ab6 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/04/20 17:54 android14-6.1 bc3d1d352ab6 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/04/20 17:54 android14-6.1 bc3d1d352ab6 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/02/24 16:05 android14-6.1 a624f97c9afe d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/01/10 22:19 android14-6.1 770852bf7d99 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2025/01/10 22:19 android14-6.1 770852bf7d99 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/12/09 02:52 android14-6.1 c276c53965a8 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/09/12 21:03 android14-6.1 b18f8bbc044f 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/09/12 21:03 android14-6.1 b18f8bbc044f 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/09/08 09:39 android14-6.1 27310ed6b677 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/09/08 09:39 android14-6.1 27310ed6b677 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/09/05 11:31 android14-6.1 03a4ae5d9982 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/09/03 11:43 android14-6.1 a1895da8bd3b 326f9c5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/08/14 06:59 android14-6.1 660e1a26952b bde81f6f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/08/13 14:24 android14-6.1 79436849ef1d f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/08/12 18:25 android14-6.1 79436849ef1d 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/08/12 18:25 android14-6.1 79436849ef1d 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/08/11 11:51 android14-6.1 79436849ef1d 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/08/11 11:51 android14-6.1 79436849ef1d 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/07/30 10:51 android14-6.1 7fa70ede91bb 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/07/30 10:51 android14-6.1 7fa70ede91bb 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/07/28 16:18 android14-6.1 7fa70ede91bb 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/07/28 16:18 android14-6.1 7fa70ede91bb 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/07/14 14:18 android14-6.1 96d66062d076 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/07/14 14:18 android14-6.1 96d66062d076 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/03/31 15:11 android14-6.1 5b8114ec3c92 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/03/24 09:18 android14-6.1 d518ca9dbbe9 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/03/16 10:56 android14-6.1 ef39f76e4d24 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
2024/02/18 00:34 android14-6.1 92432f07d663 578f7538 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in do_renameat2
* Struck through repros no longer work on HEAD.