syzbot


general protection fault in vfs_rename

Status: upstream: reported C repro on 2023/10/15 16:52
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+a80f1dcaba9e162cda54@syzkaller.appspotmail.com
First crash: 758d, last: 13d
Bug presence (3)
Date Name Commit Repro Result
2023/10/15 android13-5.15-lts (ToT) 754f8cc9b7de C [report] general protection fault in vfs_rename
2023/10/15 lts (merge base) 35ecaa3632bf C Didn't crash
2023/10/15 upstream (ToT) 11d3f7261395 C Didn't crash
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 general protection fault in vfs_rename 2 C inconclusive 30 3d18h 758d 0/2 upstream: reported C repro on 2023/10/15 16:27
android-6-1 general protection fault in vfs_rename origin:downstream 2 C done 13 13h56m 751d 0/2 upstream: reported C repro on 2023/10/22 15:59
android-6-12 general protection fault in vfs_rename origin:downstream 2 C 6 29d 140d 0/1 premoderation: reported C repro on 2025/06/25 09:20
upstream BUG: unable to handle kernel paging request in vfs_rename overlayfs 8 6 1007d 1010d 0/29 auto-obsoleted due to no activity on 2023/06/08 14:12
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/10/29 06:06 11m retest repro android13-5.15-lts report log
2025/10/14 21:27 11m retest repro android13-5.15-lts report log
2025/10/14 21:27 10m retest repro android13-5.15-lts report log
2025/08/30 01:46 13m retest repro android13-5.15-lts report log
2025/08/14 16:33 7m retest repro android13-5.15-lts report log
2025/07/27 04:53 6m retest repro android13-5.15-lts report log
2025/07/27 04:53 6m retest repro android13-5.15-lts report log
2025/06/15 22:47 6m retest repro android13-5.15-lts report log
2025/05/22 05:21 13m retest repro android13-5.15-lts report log
2025/05/06 23:47 6m retest repro android13-5.15-lts report log
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2025/02/25 06:27 1h47m bisect fix android13-5.15-lts OK (0) job log log
2024/11/16 09:10 47m bisect fix android13-5.15-lts OK (0) job log log
2024/05/03 11:56 2h05m bisect fix android13-5.15-lts OK (0) job log log
2024/02/23 23:57 35m bisect fix android13-5.15-lts OK (0) job log log
2024/01/15 03:05 33m bisect fix android13-5.15-lts OK (0) job log log
2023/12/15 11:40 38m bisect fix android13-5.15-lts OK (0) job log log
2023/11/14 21:58 53m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000009: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000048-0x000000000000004f]
CPU: 0 PID: 374 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:vfs_rename+0x1b1/0x10d0 fs/namei.c:4729
Code: c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 97 11 f5 ff 48 8b 03 48 89 44 24 48 48 8b 44 24 30 4c 8d 70 30 4d 89 f7 49 c1 ef 03 <43> 80 3c 27 00 74 08 4c 89 f7 e8 70 11 f5 ff 49 8b 16 4c 89 6c 24
RSP: 0018:ffffc900040afb80 EFLAGS: 00010206
RAX: 0000000000000018 RBX: ffff88810cc459c0 RCX: ffff8881101862c0
RDX: 0000000000000000 RSI: 0000000000400000 RDI: 0000000000200000
RBP: ffffc900040afcf0 R08: dffffc0000000000 R09: ffffed10219858b6
R10: ffffed10219858b6 R11: 1ffff110219858b5 R12: dffffc0000000000
R13: ffff888123393600 R14: 0000000000000048 R15: 0000000000000009
FS:  00007f299375c6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000b000 CR3: 000000012cb98000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_renameat2+0x7ed/0xf60 fs/namei.c:4993
 __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:0x7f299390cfc9
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:00007f299375c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f2993b64090 RCX: 00007f299390cfc9
RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000200000000100
RBP: 00007f299398ff91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2993b64128 R14: 00007f2993b64090 R15: 00007ffe27804fd8
 </TASK>
Modules linked in:
---[ end trace dd5d794f8da4b07b ]---
RIP: 0010:vfs_rename+0x1b1/0x10d0 fs/namei.c:4729
Code: c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 97 11 f5 ff 48 8b 03 48 89 44 24 48 48 8b 44 24 30 4c 8d 70 30 4d 89 f7 49 c1 ef 03 <43> 80 3c 27 00 74 08 4c 89 f7 e8 70 11 f5 ff 49 8b 16 4c 89 6c 24
RSP: 0018:ffffc900040afb80 EFLAGS: 00010206
RAX: 0000000000000018 RBX: ffff88810cc459c0 RCX: ffff8881101862c0
RDX: 0000000000000000 RSI: 0000000000400000 RDI: 0000000000200000
RBP: ffffc900040afcf0 R08: dffffc0000000000 R09: ffffed10219858b6
R10: ffffed10219858b6 R11: 1ffff110219858b5 R12: dffffc0000000000
R13: ffff888123393600 R14: 0000000000000048 R15: 0000000000000009
FS:  00007f299375c6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f299375bf98 CR3: 000000012cb98000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	c1 e8 03             	shr    $0x3,%eax
   3:	42 80 3c 20 00       	cmpb   $0x0,(%rax,%r12,1)
   8:	74 08                	je     0x12
   a:	48 89 df             	mov    %rbx,%rdi
   d:	e8 97 11 f5 ff       	call   0xfff511a9
  12:	48 8b 03             	mov    (%rbx),%rax
  15:	48 89 44 24 48       	mov    %rax,0x48(%rsp)
  1a:	48 8b 44 24 30       	mov    0x30(%rsp),%rax
  1f:	4c 8d 70 30          	lea    0x30(%rax),%r14
  23:	4d 89 f7             	mov    %r14,%r15
  26:	49 c1 ef 03          	shr    $0x3,%r15
* 2a:	43 80 3c 27 00       	cmpb   $0x0,(%r15,%r12,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 f7             	mov    %r14,%rdi
  34:	e8 70 11 f5 ff       	call   0xfff511a9
  39:	49 8b 16             	mov    (%r14),%rdx
  3c:	4c                   	rex.WR
  3d:	89                   	.byte 0x89
  3e:	6c                   	insb   (%dx),%es:(%rdi)
  3f:	24                   	.byte 0x24

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/29 20:15 android13-5.15-lts 1edb21e89ce4 fd2207e7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2025/07/09 18:34 android13-5.15-lts 32c443bd6d40 f4e5e155 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2024/12/07 11:18 android13-5.15-lts 431fb5556be3 9ac0fdc6 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2024/03/19 14:11 android13-5.15-lts 993bed180178 e104824c .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2023/10/15 16:50 android13-5.15-lts 754f8cc9b7de f757a323 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2025/09/29 08:05 android13-5.15-lts 8d934e0056f7 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2024/08/19 12:15 android13-5.15-lts 29d153aabd54 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2024/08/19 07:14 android13-5.15-lts da92e689a0c3 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2024/08/07 16:15 android13-5.15-lts 70e1a731d986 109d2082 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2024/08/01 22:51 android13-5.15-lts 70e1a731d986 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2024/08/01 08:21 android13-5.15-lts 70e1a731d986 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2024/06/27 23:04 android13-5.15-lts 9044d25b8ff5 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2024/06/27 23:04 android13-5.15-lts 9044d25b8ff5 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2024/05/27 16:44 android13-5.15-lts 424f92bcbe8f 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
2024/05/27 07:13 android13-5.15-lts 424f92bcbe8f a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in vfs_rename
* Struck through repros no longer work on HEAD.