syzbot


general protection fault in do_renameat2

Status: upstream: reported C repro on 2023/09/24 22:41
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+3983560c9946a34ea12c@syzkaller.appspotmail.com
First crash: 826d, last: 7d03h
Bug presence (3)
Date Name Commit Repro Result
2023/09/24 android13-5.15-lts (ToT) ea586874d2f9 C [report] general protection fault in do_renameat2
2023/09/24 lts (merge base) aff03380bda4 C Didn't crash
2023/09/24 upstream (ToT) 6465e260f487 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_renameat2 2 C 94 10d 819d 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 31d 165d 0/1 premoderation: reported C repro on 2025/06/30 10:33
android-6-1 general protection fault in do_renameat2 origin:downstream 2 C done 43 9d13h 817d 0/2 upstream: reported C repro on 2023/09/17 05:40
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/12/02 04:10 19m retest repro android13-5.15-lts report log
2025/12/02 04:10 14m retest repro android13-5.15-lts report log
2025/12/02 04:10 38m retest repro android13-5.15-lts report log
2025/12/02 04:10 14m retest repro android13-5.15-lts report log
2025/11/18 03:16 8m retest repro android13-5.15-lts report log
2025/11/18 03:16 7m retest repro android13-5.15-lts report log
2025/11/18 03:16 15m retest repro android13-5.15-lts report log
2025/11/18 03:16 8m retest repro android13-5.15-lts report log
2025/11/18 03:16 6m retest repro android13-5.15-lts report log
2025/10/19 19:30 33m retest repro android13-5.15-lts report log
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2024/10/27 16:04 1h41m bisect fix android13-5.15-lts OK (0) job log log
2024/05/19 07:07 43m bisect fix android13-5.15-lts OK (0) job log log
2024/02/03 08:17 32m bisect fix android13-5.15-lts OK (0) job log log
2023/12/31 13:55 37m bisect fix android13-5.15-lts OK (0) job log log
2023/12/01 07:42 35m bisect fix android13-5.15-lts OK (0) job log log
2023/10/31 11:46 52m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 0 PID: 373 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:__d_entry_type include/linux/dcache.h:404 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:409 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:455 [inline]
RIP: 0010:do_renameat2+0x49f/0xf60 fs/namei.c:4941
Code: ff 48 89 c2 48 3d 01 f0 ff ff 72 0d 49 89 d5 e8 b7 77 b6 ff e9 36 04 00 00 49 89 d4 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 48 89 54 24 10 0f 85 e7 05 00 00 8b 1a be 00
RSP: 0018:ffffc900040afd00 EFLAGS: 00010207
RAX: dffffc0000000000 RBX: ffff8881109ec400 RCX: ffff88810c2bbb40
RDX: 000000000000001e RSI: 0000000000000004 RDI: ffff88810c2bbb40
RBP: ffffc900040afed8 R08: dffffc0000000000 R09: ffffed10219abb3e
R10: ffffed10219abb3e R11: 1ffff110219abb3d R12: 0000000000000003
R13: 0000000000000000 R14: ffffc900040afe01 R15: ffff88810cd5d990
FS:  00007f7fdb0556c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7fdb054f98 CR3: 000000012ba09000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __do_sys_rename fs/namei.c:5039 [inline]
 __se_sys_rename fs/namei.c:5037 [inline]
 __x64_sys_rename+0x86/0x90 fs/namei.c:5037
 x64_sys_call+0x680/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:83
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f7fdb2066c9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7fdb055038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f7fdb45d090 RCX: 00007f7fdb2066c9
RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000200000000100
RBP: 00007f7fdb288f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7fdb45d128 R14: 00007f7fdb45d090 R15: 00007ffef05a99b8
 </TASK>
Modules linked in:
---[ end trace 31ea0a37cc6a3899 ]---
RIP: 0010:__d_entry_type include/linux/dcache.h:404 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:409 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:455 [inline]
RIP: 0010:do_renameat2+0x49f/0xf60 fs/namei.c:4941
Code: ff 48 89 c2 48 3d 01 f0 ff ff 72 0d 49 89 d5 e8 b7 77 b6 ff e9 36 04 00 00 49 89 d4 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 48 89 54 24 10 0f 85 e7 05 00 00 8b 1a be 00
RSP: 0018:ffffc900040afd00 EFLAGS: 00010207
RAX: dffffc0000000000 RBX: ffff8881109ec400 RCX: ffff88810c2bbb40
RDX: 000000000000001e RSI: 0000000000000004 RDI: ffff88810c2bbb40
RBP: ffffc900040afed8 R08: dffffc0000000000 R09: ffffed10219abb3e
R10: ffffed10219abb3e R11: 1ffff110219abb3d R12: 0000000000000003
R13: 0000000000000000 R14: ffffc900040afe01 R15: ffff88810cd5d990
FS:  00007f7fdb0556c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7fdb054f98 CR3: 000000012ba09000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	48 89 c2             	mov    %rax,%rdx
   3:	48 3d 01 f0 ff ff    	cmp    $0xfffffffffffff001,%rax
   9:	72 0d                	jb     0x18
   b:	49 89 d5             	mov    %rdx,%r13
   e:	e8 b7 77 b6 ff       	call   0xffb677ca
  13:	e9 36 04 00 00       	jmp    0x44e
  18:	49 89 d4             	mov    %rdx,%r12
  1b:	49 c1 ec 03          	shr    $0x3,%r12
  1f:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  26:	fc ff df
* 29:	41 0f b6 04 04       	movzbl (%r12,%rax,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	48 89 54 24 10       	mov    %rdx,0x10(%rsp)
  35:	0f 85 e7 05 00 00    	jne    0x622
  3b:	8b 1a                	mov    (%rdx),%ebx
  3d:	be                   	.byte 0xbe

Crashes (50):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/04 00:54 android13-5.15-lts 8a8f52308945 686bf657 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/11/01 01:46 android13-5.15-lts 1edb21e89ce4 2c50b6a9 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/07/27 06:19 android13-5.15-lts a71626bd56a5 fb8f743d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/07/15 13:06 android13-5.15-lts eabc268e4fb2 03fcfc4b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/04/21 03:59 android13-5.15-lts 8034ec1338e8 2a20f901 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/01/10 22:42 android13-5.15-lts 19092c8155b4 6dbc6a9b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/07/12 21:49 android13-5.15-lts db06c48ab67e eaeb5c15 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/07/12 21:08 android13-5.15-lts db06c48ab67e eaeb5c15 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/02/25 22:21 android13-5.15-lts 993bed180178 8d446f15 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2023/09/24 22:32 android13-5.15-lts ea586874d2f9 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/12/05 22:58 android13-5.15-lts 057fdbf6d3c7 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/10/26 17:27 android13-5.15-lts 1edb21e89ce4 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/09/29 09:00 android13-5.15-lts 8d934e0056f7 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/09/05 12:56 android13-5.15-lts da3dbfdd15be d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/05/31 07:48 android13-5.15-lts 4032a894ccb2 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/05/29 22:06 android13-5.15-lts 4032a894ccb2 3d2f584d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/04/21 03:16 android13-5.15-lts 8034ec1338e8 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/01/13 05:06 android13-5.15-lts 19092c8155b4 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2025/01/10 22:17 android13-5.15-lts 19092c8155b4 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/09/12 22:38 android13-5.15-lts e6fb3b0fa87f 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/09/12 22:38 android13-5.15-lts e6fb3b0fa87f 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/09/08 09:35 android13-5.15-lts 53be7c8abe11 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/09/08 09:35 android13-5.15-lts 53be7c8abe11 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/09/05 23:47 android13-5.15-lts 53be7c8abe11 464ac2ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/08/28 14:55 android13-5.15-lts 29d153aabd54 ef3de9e8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/08/21 00:59 android13-5.15-lts 29d153aabd54 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/08/12 18:25 android13-5.15-lts 70e1a731d986 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/08/12 18:25 android13-5.15-lts 70e1a731d986 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/08/11 11:33 android13-5.15-lts 70e1a731d986 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/08/11 11:33 android13-5.15-lts 70e1a731d986 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/08/07 13:53 android13-5.15-lts 70e1a731d986 109d2082 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/08/04 21:26 android13-5.15-lts 70e1a731d986 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/07/30 09:07 android13-5.15-lts d0a6506ecafd 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/07/28 16:28 android13-5.15-lts 4edafe6c0231 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/07/28 16:27 android13-5.15-lts 4edafe6c0231 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/07/28 12:31 android13-5.15-lts 4edafe6c0231 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/07/28 12:31 android13-5.15-lts 4edafe6c0231 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/07/20 07:34 android13-5.15-lts db06c48ab67e b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/07/14 22:18 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/07/14 14:18 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/07/14 14:18 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/07/12 20:25 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/07/12 20:25 android13-5.15-lts db06c48ab67e eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/03/31 15:10 android13-5.15-lts 993bed180178 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/03/28 03:56 android13-5.15-lts 993bed180178 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/03/25 10:05 android13-5.15-lts 993bed180178 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2024/03/16 18:05 android13-5.15-lts 993bed180178 d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2023/10/01 00:55 android13-5.15-lts ea586874d2f9 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
2023/09/08 09:35 android13-5.15-lts ea586874d2f9 72324844 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in do_renameat2
* Struck through repros no longer work on HEAD.