syzbot


general protection fault in vfs_rename

Status: upstream: reported C repro on 2023/10/15 16:27
Reported-by: syzbot+09b752dc0e5d19163145@syzkaller.appspotmail.com
First crash: 785d, last: 19h10m
Fix bisection: the issue occurs on the latest tested release (bisect log)
  
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in vfs_rename origin:downstream 2 C 15 25d 785d 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 13d 778d 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 55d 166d 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 1034d 1036d 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/12/08 03:39 6m retest repro android13-5.10-lts report log
2025/12/08 03:39 10m retest repro android13-5.10-lts report log
2025/11/08 15:16 16m retest repro android13-5.10-lts report log
2025/10/19 19:03 11m retest repro android13-5.10-lts report log
2025/10/19 19:03 10m retest repro android13-5.10-lts report log
2025/09/30 22:23 13m retest repro android13-5.10-lts report log
2025/09/30 22:23 12m retest repro android13-5.10-lts report log
2025/09/14 22:59 9m retest repro android13-5.10-lts report log
2025/08/30 14:33 7m retest repro android13-5.10-lts report log
2025/08/08 03:54 15m retest repro android13-5.10-lts report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/05/02 20:40 2h01m bisect fix android13-5.10-lts OK (0) job log
2024/03/06 19:56 44m bisect fix android13-5.10-lts OK (0) job log log
2024/02/01 08:21 32m bisect fix android13-5.10-lts OK (0) job log log
2023/12/29 15:02 33m bisect fix android13-5.10-lts OK (0) job log log
2023/11/29 01:19 55m bisect fix android13-5.10-lts OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000007: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f]
CPU: 0 PID: 360 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+0x106/0xef0 fs/namei.c:4379
Code: c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 a2 f7 f4 ff 48 8b 03 48 89 44 24 50 4c 89 74 24 40 4d 8d 6e 30 4c 89 eb 48 c1 eb 03 <42> 80 3c 3b 00 74 08 4c 89 ef e8 7b f7 f4 ff 49 8b 55 00 4c 89 64
RSP: 0018:ffffc90002d87c20 EFLAGS: 00010203
RAX: ffff8881259e7a80 RBX: 0000000000000007 RCX: 0000000000000000
RDX: ffff88810c23cf00 RSI: 0000000000600000 RDI: 0000000000200000
RBP: ffffc90002d87d70 R08: ffffc90002d87e30 R09: 0000000000000000
R10: ffffed10219bc9a4 R11: 1ffff110219bc9a3 R12: ffff8881259e2400
R13: 000000000000003f R14: 000000000000000f R15: dffffc0000000000
FS:  00007ff2183e16c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000000c000 CR3: 000000010f9b8000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_renameat2+0x6f8/0xe60 fs/namei.c:4627
 __do_sys_rename fs/namei.c:4678 [inline]
 __se_sys_rename fs/namei.c:4676 [inline]
 __x64_sys_rename+0x86/0x90 fs/namei.c:4676
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7ff2185b3749
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:00007ff2183e1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007ff21880a180 RCX: 00007ff2185b3749
RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000200000000280
RBP: 00007ff218637f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff21880a218 R14: 00007ff21880a180 R15: 00007ffccdc782a8
Modules linked in:
---[ end trace e44ef2ffb7b5fd95 ]---
RIP: 0010:vfs_rename+0x106/0xef0 fs/namei.c:4379
Code: c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 a2 f7 f4 ff 48 8b 03 48 89 44 24 50 4c 89 74 24 40 4d 8d 6e 30 4c 89 eb 48 c1 eb 03 <42> 80 3c 3b 00 74 08 4c 89 ef e8 7b f7 f4 ff 49 8b 55 00 4c 89 64
RSP: 0018:ffffc90002d87c20 EFLAGS: 00010203
RAX: ffff8881259e7a80 RBX: 0000000000000007 RCX: 0000000000000000
RDX: ffff88810c23cf00 RSI: 0000000000600000 RDI: 0000000000200000
RBP: ffffc90002d87d70 R08: ffffc90002d87e30 R09: 0000000000000000
R10: ffffed10219bc9a4 R11: 1ffff110219bc9a3 R12: ffff8881259e2400
R13: 000000000000003f R14: 000000000000000f R15: dffffc0000000000
FS:  00007ff2183e16c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff2183e0f98 CR3: 000000010f9b8000 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 38 00       	cmpb   $0x0,(%rax,%r15,1)
   8:	74 08                	je     0x12
   a:	48 89 df             	mov    %rbx,%rdi
   d:	e8 a2 f7 f4 ff       	call   0xfff4f7b4
  12:	48 8b 03             	mov    (%rbx),%rax
  15:	48 89 44 24 50       	mov    %rax,0x50(%rsp)
  1a:	4c 89 74 24 40       	mov    %r14,0x40(%rsp)
  1f:	4d 8d 6e 30          	lea    0x30(%r14),%r13
  23:	4c 89 eb             	mov    %r13,%rbx
  26:	48 c1 eb 03          	shr    $0x3,%rbx
* 2a:	42 80 3c 3b 00       	cmpb   $0x0,(%rbx,%r15,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 ef             	mov    %r13,%rdi
  34:	e8 7b f7 f4 ff       	call   0xfff4f7b4
  39:	49 8b 55 00          	mov    0x0(%r13),%rdx
  3d:	4c                   	rex.WR
  3e:	89                   	.byte 0x89
  3f:	64                   	fs

Crashes (32):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/23 23:19 android13-5.10-lts e625d26dbfea 4fb8ef37 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/08/15 16:57 android13-5.10-lts 1154f779f3f3 1804e95e .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/06/17 21:38 android13-5.10-lts d76d4cd0623a e77fae15 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2024/12/22 08:49 android13-5.10-lts 4055d754db6f d7f584ee .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2024/06/27 23:29 android13-5.10-lts a4a2b7a82ee4 6ef39602 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2024/03/19 11:24 android13-5.10-lts dd976ecce2ce baa80228 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2023/10/15 16:15 android13-5.10-lts a27512601c2d f757a323 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/12/08 05:42 android13-5.10-lts 9286af17ed5f d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/09/16 06:29 android13-5.10-lts 911f602c2237 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/04/20 04:33 android13-5.10-lts ba8b8b193394 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/04/20 01:25 android13-5.10-lts ba8b8b193394 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/04/19 11:02 android13-5.10-lts ba8b8b193394 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/04/19 06:07 android13-5.10-lts ba8b8b193394 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/04/18 07:34 android13-5.10-lts ba8b8b193394 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/04/18 07:34 android13-5.10-lts ba8b8b193394 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/04/18 07:34 android13-5.10-lts ba8b8b193394 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/04/17 19:48 android13-5.10-lts ba8b8b193394 229db4cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/02/26 13:58 android13-5.10-lts 3f5f2283d684 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/02/25 11:03 android13-5.10-lts 3f5f2283d684 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/02/24 09:37 android13-5.10-lts 3f5f2283d684 d34966d1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/01/20 07:48 android13-5.10-lts fbe98d68b6b3 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2025/01/07 22:50 android13-5.10-lts 49e8ba0a684f f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2024/12/22 08:22 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2024/09/12 06:32 android13-5.10-lts 50f1826c82c1 d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2024/09/12 06:32 android13-5.10-lts 50f1826c82c1 d94c83d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2024/07/13 04:40 android13-5.10-lts 3feee789f446 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2024/06/27 23:06 android13-5.10-lts a4a2b7a82ee4 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2024/06/27 23:06 android13-5.10-lts a4a2b7a82ee4 6ef39602 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2024/05/27 16:43 android13-5.10-lts a8e7f812fbc1 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2024/05/27 16:42 android13-5.10-lts a8e7f812fbc1 761766e6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2024/03/19 10:58 android13-5.10-lts dd976ecce2ce baa80228 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
2023/10/15 15:47 android13-5.10-lts a27512601c2d f757a323 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in vfs_rename
* Struck through repros no longer work on HEAD.