syzbot


general protection fault in do_renameat2

Status: premoderation: reported C repro on 2025/06/30 10:33
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+669c950d7f6f8335bb81@syzkaller.appspotmail.com
First crash: 243d, last: 7d19h
Bug presence (3)
Date Name Commit Repro Result
2025/07/07 android16-6.12 (ToT) 880d6538c524 C [report] general protection fault in do_renameat2
2025/07/07 lts (merge base) e0e2f7824338 C Didn't crash
2025/07/07 upstream (ToT) d7b8f8e20813 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 8d02h 888d 0/2 upstream: reported C repro on 2023/09/24 22:41
android-5-10 general protection fault in do_renameat2 2 C 100 7d16h 897d 0/2 upstream: reported C repro on 2023/09/15 06:30
android-6-1 general protection fault in do_renameat2 origin:downstream 2 C done 46 15d 895d 0/2 upstream: reported C repro on 2023/09/17 05:40
Last patch testing requests (4)
Created Duration User Patch Repo Result
2026/02/05 07:36 38m retest repro android16-6.12 report log
2025/12/24 20:58 5m retest repro android16-6.12 error
2025/11/27 04:27 4m retest repro android16-6.12 error
2025/10/15 18:21 9m retest repro android16-6.12 report log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 1 UID: 0 PID: 383 Comm: syz.2.17 Not tainted syzkaller #0 e74179280c147a83e3a201a5967fe5af4e04851c
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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_renameat2+0x403/0xc40 fs/namei.c:5126
Code: ff 48 89 c3 48 3d 01 f0 ff ff 72 0d e8 16 49 99 ff 41 89 dc e9 78 04 00 00 49 89 dd 49 c1 ed 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 44 05 00 84 c0 0f 85 1e 06 00 00 48 89 1c 24 8b 1b be 00
RSP: 0018:ffffc9000114fd40 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 000000000000001a RCX: ffff88811681a600
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88811342be50
RBP: ffffc9000114fee8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000229f24 R12: 0000000000000000
R13: 0000000000000003 R14: ffffc9000114fe40 R15: ffffc9000114fe01
FS:  00007fa7084596c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa708437ff8 CR3: 0000000113dc6000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 __do_sys_rename fs/namei.c:5225 [inline]
 __se_sys_rename fs/namei.c:5223 [inline]
 __x64_sys_rename+0x86/0xa0 fs/namei.c:5223
 x64_sys_call+0x150b/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:83
 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:0x7fa70759c629
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:00007fa708459028 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007fa707815fa0 RCX: 00007fa70759c629
RDX: 0000000000000000 RSI: 0000200000000140 RDI: 0000200000000100
RBP: 00007fa707632b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa707816038 R14: 00007fa707815fa0 R15: 00007ffd54c732c8
 </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_renameat2+0x403/0xc40 fs/namei.c:5126
Code: ff 48 89 c3 48 3d 01 f0 ff ff 72 0d e8 16 49 99 ff 41 89 dc e9 78 04 00 00 49 89 dd 49 c1 ed 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 44 05 00 84 c0 0f 85 1e 06 00 00 48 89 1c 24 8b 1b be 00
RSP: 0018:ffffc9000114fd40 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 000000000000001a RCX: ffff88811681a600
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88811342be50
RBP: ffffc9000114fee8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000229f24 R12: 0000000000000000
R13: 0000000000000003 R14: ffffc9000114fe40 R15: ffffc9000114fe01
FS:  00007fa7084596c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa708437ff8 CR3: 0000000113dc6000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	ff 48 89             	decl   -0x77(%rax)
   3:	c3                   	ret
   4:	48 3d 01 f0 ff ff    	cmp    $0xfffffffffffff001,%rax
   a:	72 0d                	jb     0x19
   c:	e8 16 49 99 ff       	call   0xff994927
  11:	41 89 dc             	mov    %ebx,%r12d
  14:	e9 78 04 00 00       	jmp    0x491
  19:	49 89 dd             	mov    %rbx,%r13
  1c:	49 c1 ed 03          	shr    $0x3,%r13
  20:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  27:	fc ff df
* 2a:	41 0f b6 44 05 00    	movzbl 0x0(%r13,%rax,1),%eax <-- trapping instruction
  30:	84 c0                	test   %al,%al
  32:	0f 85 1e 06 00 00    	jne    0x656
  38:	48 89 1c 24          	mov    %rbx,(%rsp)
  3c:	8b 1b                	mov    (%rbx),%ebx
  3e:	be                   	.byte 0xbe

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/21 06:47 android16-6.12 7712ca595283 6e7b5511 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/10/25 08:54 android16-6.12 0d6730ee6542 c0460fcd .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/07/05 18:04 android16-6.12 e2bf362ee23b 4f67c4ae .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2026/02/21 06:06 android16-6.12 7712ca595283 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/11/12 00:38 android16-6.12 0d6730ee6542 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/11/06 02:20 android16-6.12 0d6730ee6542 a6c9c731 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/10/25 08:09 android16-6.12 0d6730ee6542 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/10/01 07:59 android16-6.12 389151e65c06 65a0eece .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/09/29 15:38 android16-6.12 4560d0e9d5a5 86341da6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/09/19 17:38 android16-6.12 749cf1743eb2 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/09/16 11:44 android16-6.12 ef71e857711e e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/09/14 11:08 android16-6.12 0668e45a4339 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/09/12 13:38 android16-6.12 7d6820eee2b9 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/08/25 12:28 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_renameat2
2025/07/27 02:00 android16-6.12 e9bbc29c066a fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/07/08 05:17 android16-6.12 f6ca783ba264 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/07/05 16:59 android16-6.12 e2bf362ee23b 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
2025/06/30 10:32 android16-6.12 1493f0937f6d fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in do_renameat2
* Struck through repros no longer work on HEAD.