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: 570d, last: 13d
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 (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 general protection fault in do_renameat2 C 58 20d 563d 0/2 upstream: reported C repro on 2023/09/15 06:30
android-6-1 general protection fault in do_renameat2 origin:downstream C done 31 20d 561d 0/2 upstream: reported C repro on 2023/09/17 05:40
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/03/17 14:06 6m retest repro android13-5.15-lts report log
2025/02/14 12:57 14m retest repro android13-5.15-lts report log
2025/02/14 12:57 5m retest repro android13-5.15-lts report log
2025/02/14 12:57 5m retest repro android13-5.15-lts report log
2025/01/28 08:06 6m retest repro android13-5.15-lts report log
2025/01/06 02:52 5m retest repro android13-5.15-lts report log
2024/12/06 11:44 6m retest repro android13-5.15-lts report log
2024/12/06 11:44 14m retest repro android13-5.15-lts report log
2024/12/06 11:44 6m retest repro android13-5.15-lts report log
2024/09/27 04:56 16m 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: 1 PID: 304 Comm: syz-executor118 Not tainted 5.15.175-syzkaller-00803-g19092c8155b4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
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+0x6fd/0x1480 fs/namei.c:4933
Code: f2 e8 67 f0 fe ff 48 89 c3 48 3d 01 f0 ff ff 72 12 e8 d7 b9 b1 ff 41 89 de 48 8b 5c 24 18 e9 6f 05 00 00 49 89 de 49 c1 ee 03 <43> 0f b6 04 26 84 c0 0f 85 8a 07 00 00 48 89 5c 24 40 8b 1b be 00
RSP: 0018:ffffc90000997c20 EFLAGS: 00010206
RAX: 000000000000001b RBX: 000000000000001b RCX: ffff88810cd92780
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000
RBP: ffffc90000997ee8 R08: ffffffff81c0ec78 R09: ffffed1024258d82
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffc90000997e08 R14: 0000000000000003 R15: ffff8881212c6be0
FS:  00007fec3c4da6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fec3c53ae60 CR3: 000000011da9e000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __do_sys_rename fs/namei.c:5031 [inline]
 __se_sys_rename fs/namei.c:5029 [inline]
 __x64_sys_rename+0x86/0x90 fs/namei.c:5029
 x64_sys_call+0x266/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:83
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fec3c539539
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:00007fec3c4da218 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007fec3c5c6418 RCX: 00007fec3c539539
RDX: 00007fec3c516cb6 RSI: 0000000020000140 RDI: 0000000020000100
RBP: 00007fec3c5c6410 R08: 00007ffe085dfea7 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fec3c593034
R13: 000000000000006e R14: 0030656c69662f30 R15: 00007fec3c593054
 </TASK>
Modules linked in:
---[ end trace b9de90ce27ca0ebb ]---
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+0x6fd/0x1480 fs/namei.c:4933
Code: f2 e8 67 f0 fe ff 48 89 c3 48 3d 01 f0 ff ff 72 12 e8 d7 b9 b1 ff 41 89 de 48 8b 5c 24 18 e9 6f 05 00 00 49 89 de 49 c1 ee 03 <43> 0f b6 04 26 84 c0 0f 85 8a 07 00 00 48 89 5c 24 40 8b 1b be 00
RSP: 0018:ffffc90000997c20 EFLAGS: 00010206
RAX: 000000000000001b RBX: 000000000000001b RCX: ffff88810cd92780
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000
RBP: ffffc90000997ee8 R08: ffffffff81c0ec78 R09: ffffed1024258d82
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffffc90000997e08 R14: 0000000000000003 R15: ffff8881212c6be0
FS:  00007fec3c4da6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fec3c590118 CR3: 000000011da9e000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	f2 e8 67 f0 fe ff    	bnd call 0xfffef06d
   6:	48 89 c3             	mov    %rax,%rbx
   9:	48 3d 01 f0 ff ff    	cmp    $0xfffffffffffff001,%rax
   f:	72 12                	jb     0x23
  11:	e8 d7 b9 b1 ff       	call   0xffb1b9ed
  16:	41 89 de             	mov    %ebx,%r14d
  19:	48 8b 5c 24 18       	mov    0x18(%rsp),%rbx
  1e:	e9 6f 05 00 00       	jmp    0x592
  23:	49 89 de             	mov    %rbx,%r14
  26:	49 c1 ee 03          	shr    $0x3,%r14
* 2a:	43 0f b6 04 26       	movzbl (%r14,%r12,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 8a 07 00 00    	jne    0x7c1
  37:	48 89 5c 24 40       	mov    %rbx,0x40(%rsp)
  3c:	8b 1b                	mov    (%rbx),%ebx
  3e:	be                   	.byte 0xbe

Crashes (37):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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.