syzbot


general protection fault in dir_rename_wrap

Status: upstream: reported C repro on 2024/07/27 08:56
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+a2b1186a2b2f5d47c3bc@syzkaller.appspotmail.com
First crash: 371d, last: 3d01h
Fix bisection: failed (error log, bisect log)
  
Bug presence (3)
Date Name Commit Repro Result
2024/07/27 android13-5.15-lts (ToT) 4edafe6c0231 C [report] general protection fault in dir_rename_wrap
2024/07/27 lts (merge base) fd63fb84ed6d C Didn't crash
2024/07/27 upstream (ToT) 3a7e02c040b1 C Didn't crash
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-54 general protection fault in dir_rename_wrap 2 C 1 139d 438d 0/2 upstream: reported C repro on 2024/05/20 23:47
android-6-1 general protection fault in dir_rename_wrap origin:downstream 2 C error 3 2d08h 434d 0/2 upstream: reported C repro on 2024/05/25 07:40
android-5-10 general protection fault in dir_rename_wrap 2 C error 4 26d 440d 0/2 upstream: reported C repro on 2024/05/19 11:46
Last patch testing requests (4)
Created Duration User Patch Repo Result
2025/07/25 01:54 15m retest repro android13-5.15-lts report log
2025/05/15 06:50 10m retest repro android13-5.15-lts report log
2025/03/06 03:43 6m retest repro android13-5.15-lts report log
2024/12/26 02:58 12m retest repro android13-5.15-lts report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/10/14 23:49 0m bisect fix android13-5.15-lts error job log
2024/09/01 01:13 57m bisect fix android13-5.15-lts OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 PID: 288 Comm: syz-executor338 Not tainted 5.15.189-syzkaller-00091-gf32b52534f1d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:dir_rename fs/incfs/vfs.c:1402 [inline]
RIP: 0010:dir_rename_wrap+0x167/0x6a0 fs/incfs/vfs.c:91
Code: 89 e7 e8 fc 44 a5 ff 4d 8b 34 24 eb 08 e8 11 ca 66 ff 45 31 f6 49 83 c6 08 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 cb 44 a5 ff 4d 8b 36 4d 85 f6 0f 84
RSP: 0018:ffffc900009e7a40 EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffff888121532860 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900009e7b70 R08: dffffc0000000000 R09: fffff5200013cf39
R10: fffff5200013cf39 R11: 1ffff9200013cf38 R12: ffff888120d84078
R13: 1ffff9200013cf54 R14: 0000000000000008 R15: ffff888121532800
FS:  00005555630cf480(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000000 CR3: 0000000124854000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 vfs_rename+0xbb6/0x10d0 fs/namei.c:4832
 do_renameat2+0x7ed/0xf60 fs/namei.c:4985
 __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+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:0x7f151a37ac49
Code: 48 83 c4 28 c3 e8 67 17 00 00 0f 1f 80 00 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd30c09d38 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 0073646165725f67 RCX: 00007f151a37ac49
RDX: 0000000000000000 RSI: 0000200000000000 RDI: 0000200000000040
RBP: 00007ffd30c09d48 R08: 00007ffd30c09d48 R09: 00007f151a347bf0
R10: 00007ffd30c09d40 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd30c09fa8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace ab98c4e68a86fa72 ]---
RIP: 0010:dir_rename fs/incfs/vfs.c:1402 [inline]
RIP: 0010:dir_rename_wrap+0x167/0x6a0 fs/incfs/vfs.c:91
Code: 89 e7 e8 fc 44 a5 ff 4d 8b 34 24 eb 08 e8 11 ca 66 ff 45 31 f6 49 83 c6 08 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 cb 44 a5 ff 4d 8b 36 4d 85 f6 0f 84
RSP: 0018:ffffc900009e7a40 EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffff888121532860 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900009e7b70 R08: dffffc0000000000 R09: fffff5200013cf39
R10: fffff5200013cf39 R11: 1ffff9200013cf38 R12: ffff888120d84078
R13: 1ffff9200013cf54 R14: 0000000000000008 R15: ffff888121532800
FS:  00005555630cf480(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055ac2918d388 CR3: 0000000124854000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	89 e7                	mov    %esp,%edi
   2:	e8 fc 44 a5 ff       	call   0xffa54503
   7:	4d 8b 34 24          	mov    (%r12),%r14
   b:	eb 08                	jmp    0x15
   d:	e8 11 ca 66 ff       	call   0xff66ca23
  12:	45 31 f6             	xor    %r14d,%r14d
  15:	49 83 c6 08          	add    $0x8,%r14
  19:	4c 89 f0             	mov    %r14,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  27:	fc ff df
* 2a:	80 3c 08 00          	cmpb   $0x0,(%rax,%rcx,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	4c 89 f7             	mov    %r14,%rdi
  33:	e8 cb 44 a5 ff       	call   0xffa54503
  38:	4d 8b 36             	mov    (%r14),%r14
  3b:	4d 85 f6             	test   %r14,%r14
  3e:	0f                   	.byte 0xf
  3f:	84                   	.byte 0x84

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/30 16:51 android13-5.15-lts f32b52534f1d f8f2b4da .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dir_rename_wrap
2025/07/30 16:12 android13-5.15-lts f32b52534f1d f8f2b4da .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dir_rename_wrap
2024/07/27 08:54 android13-5.15-lts 4edafe6c0231 46eb10b7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-15 general protection fault in dir_rename_wrap
* Struck through repros no longer work on HEAD.