syzbot


general protection fault in vfs_rename

Status: premoderation: reported C repro on 2025/06/25 09:20
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+32d7d040e35cdeb7472b@syzkaller.appspotmail.com
First crash: 140d, last: 29d
Bug presence (3)
Date Name Commit Repro Result
2025/06/25 android16-6.12 (ToT) 22d634eb24e3 C [report] general protection fault in vfs_rename
2025/06/25 lts (merge base) e0e2f7824338 C Didn't crash
2025/06/25 upstream (ToT) 7595b66ae9de 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 4d02h 759d 0/2 upstream: reported C repro on 2023/10/15 16:27
android-5-15 general protection fault in vfs_rename origin:downstream 2 C 15 13d 759d 0/2 upstream: reported C repro on 2023/10/15 16:52
android-6-1 general protection fault in vfs_rename origin:downstream 2 C done 13 21h31m 752d 0/2 upstream: reported C repro on 2023/10/22 15:59
upstream BUG: unable to handle kernel paging request in vfs_rename overlayfs 8 6 1008d 1010d 0/29 auto-obsoleted due to no activity on 2023/06/08 14:12
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/10/28 13:13 3m retest repro android16-6.12 error
2025/09/05 03:23 7m retest repro android16-6.12 report log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f]
CPU: 1 UID: 0 PID: 387 Comm: syz.2.17 Not tainted syzkaller #0 416431dc86fefb4bb0d8a7dace54ed1f2dd81d49
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:vfs_rename+0x1b3/0x10f0 fs/namei.c:4902
Code: c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 d5 67 f1 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 ae 67 f1 ff 49 8b 16 4c 89 6c 24
RSP: 0018:ffffc90000e2fb80 EFLAGS: 00010203
RAX: 000000000000000f RBX: ffff8881113b68b0 RCX: 0000000000000000
RDX: ffff888114f02600 RSI: 0000000000600000 RDI: 0000000000200000
RBP: ffffc90000e2fcf0 R08: ffff8881f6f50b87 R09: 1ffff1103edea170
R10: dffffc0000000000 R11: ffffed103edea171 R12: dffffc0000000000
R13: ffff888128663600 R14: 000000000000003f R15: 0000000000000007
FS:  00007f8d5cf5d6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000c000 CR3: 0000000114c7a000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 do_renameat2+0x7d1/0xc80 fs/namei.c:5170
 __do_sys_rename fs/namei.c:5217 [inline]
 __se_sys_rename fs/namei.c:5215 [inline]
 __x64_sys_rename+0x86/0xa0 fs/namei.c:5215
 x64_sys_call+0x150b/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:83
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x58/0xf0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f8d5c18eec9
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:00007f8d5cf5d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f8d5c3e6180 RCX: 00007f8d5c18eec9
RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000200000000280
RBP: 00007f8d5c211f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f8d5c3e6218 R14: 00007f8d5c3e6180 R15: 00007ffe7fba9d28
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:vfs_rename+0x1b3/0x10f0 fs/namei.c:4902
Code: c1 e8 03 42 80 3c 20 00 74 08 48 89 df e8 d5 67 f1 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 ae 67 f1 ff 49 8b 16 4c 89 6c 24
RSP: 0018:ffffc90000e2fb80 EFLAGS: 00010203

RAX: 000000000000000f RBX: ffff8881113b68b0 RCX: 0000000000000000
RDX: ffff888114f02600 RSI: 0000000000600000 RDI: 0000000000200000
RBP: ffffc90000e2fcf0 R08: ffff8881f6f50b87 R09: 1ffff1103edea170
R10: dffffc0000000000 R11: ffffed103edea171 R12: dffffc0000000000
R13: ffff888128663600 R14: 000000000000003f R15: 0000000000000007
FS:  00007f8d5cf5d6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000c000 CR3: 0000000114c7a000 CR4: 00000000003526b0
----------------
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 d5 67 f1 ff       	call   0xfff167e7
  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 ae 67 f1 ff       	call   0xfff167e7
  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 (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/14 07:43 android16-6.12 4934f482a18a b6605ba8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in vfs_rename
2025/06/25 10:00 android16-6.12 030e00a2d78c 26d77996 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in vfs_rename
2025/10/14 06:43 android16-6.12 4934f482a18a b6605ba8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in vfs_rename
2025/09/21 12:04 android16-6.12 8419b8c58fd1 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in vfs_rename
2025/06/26 20:41 android16-6.12 1ccb219f8cda 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in vfs_rename
2025/06/25 09:19 android16-6.12 030e00a2d78c 26d77996 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in vfs_rename
* Struck through repros no longer work on HEAD.