syzbot


general protection fault in do_renameat2

Status: upstream: reported C repro on 2023/09/15 06:30
Reported-by: syzbot+1073bb7aa0d1b919f9a7@syzkaller.appspotmail.com
First crash: 670d, last: 2d21h
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 42 1d06h 660d 0/2 upstream: reported C repro on 2023/09/24 22:41
android-6-12 general protection fault in do_renameat2 origin:downstream 2 C 4 8d14h 16d 0/1 premoderation: reported C repro on 2025/06/30 10:33
android-6-1 general protection fault in do_renameat2 origin:downstream 2 C done 39 1d01h 668d 0/2 upstream: reported C repro on 2023/09/17 05:40
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/07/13 21:51 5m retest repro android13-5.10-lts report log
2025/07/13 21:51 6m retest repro android13-5.10-lts report log
2025/06/04 08:10 1h55m retest repro android13-5.10-lts report log
2025/06/04 08:10 36m retest repro android13-5.10-lts report log
2025/05/21 06:47 6m retest repro android13-5.10-lts report log
2025/05/21 06:47 5m retest repro android13-5.10-lts report log
2025/05/21 06:47 12m retest repro android13-5.10-lts report log
2025/05/21 06:47 11m retest repro android13-5.10-lts report log
2025/05/21 06:47 11m retest repro android13-5.10-lts report log
2025/03/08 08:56 6m retest repro android13-5.10-lts report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/05/29 21:36 35m bisect fix android13-5.10-lts OK (0) job log log
2024/02/11 23:05 1h21m bisect fix android13-5.10-lts OK (0) job log log
2024/01/05 03:49 37m bisect fix android13-5.10-lts OK (0) job log log
2023/12/05 22:27 32m bisect fix android13-5.10-lts OK (0) job log log
2023/10/30 01:23 41m bisect fix android13-5.10-lts OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 0 PID: 285 Comm: syz-executor227 Not tainted 5.10.238-syzkaller-00282-gd76d4cd0623a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__d_entry_type include/linux/dcache.h:400 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:405 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:451 [inline]
RIP: 0010:do_renameat2+0x471/0xe60 fs/namei.c:4577
Code: 89 c5 48 3d 01 f0 ff ff 72 0f e8 5a f3 ba ff 4c 8b 64 24 20 e9 6a 03 00 00 4d 89 ec 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 0f 85 2f 05 00 00 41 8b 5d 00 be 00 00 70 00
RSP: 0018:ffffc90000b67d80 EFLAGS: 00010207
RAX: dffffc0000000000 RBX: 00000000ffffff9c RCX: ffff88811e0013c0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88811e0013c0
RBP: ffffc90000b67f08 R08: dffffc0000000000 R09: ffffed1024184c2e
R10: ffffed1024184c2e R11: 1ffff11024184c2d R12: 0000000000000003
R13: 000000000000001e R14: ffff8881206d3300 R15: 0000000000000001
FS:  00007fa6b107f6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556e6c324898 CR3: 0000000106de8000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __do_sys_rename fs/namei.c:4670 [inline]
 __se_sys_rename fs/namei.c:4668 [inline]
 __x64_sys_rename+0x86/0x90 fs/namei.c:4668
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7fa6b10de539
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fa6b107f218 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007fa6b116b3f8 RCX: 00007fa6b10de539
RDX: 00007fa6b10bbc96 RSI: 00002000000000c0 RDI: 0000200000000100
RBP: 00007fa6b116b3f0 R08: 00007fff121df697 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa6b1138034
R13: 0000200000008280 R14: 0000200000000100 R15: 00007fff121df698
Modules linked in:
---[ end trace 1826db1548a8f167 ]---
RIP: 0010:__d_entry_type include/linux/dcache.h:400 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:405 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:451 [inline]
RIP: 0010:do_renameat2+0x471/0xe60 fs/namei.c:4577
Code: 89 c5 48 3d 01 f0 ff ff 72 0f e8 5a f3 ba ff 4c 8b 64 24 20 e9 6a 03 00 00 4d 89 ec 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 0f 85 2f 05 00 00 41 8b 5d 00 be 00 00 70 00
RSP: 0018:ffffc90000b67d80 EFLAGS: 00010207
RAX: dffffc0000000000 RBX: 00000000ffffff9c RCX: ffff88811e0013c0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88811e0013c0
RBP: ffffc90000b67f08 R08: dffffc0000000000 R09: ffffed1024184c2e
R10: ffffed1024184c2e R11: 1ffff11024184c2d R12: 0000000000000003
R13: 000000000000001e R14: ffff8881206d3300 R15: 0000000000000001
FS:  00007fa6b107f6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000556e6c324898 CR3: 0000000106de8000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	89 c5                	mov    %eax,%ebp
   2:	48 3d 01 f0 ff ff    	cmp    $0xfffffffffffff001,%rax
   8:	72 0f                	jb     0x19
   a:	e8 5a f3 ba ff       	call   0xffbaf369
   f:	4c 8b 64 24 20       	mov    0x20(%rsp),%r12
  14:	e9 6a 03 00 00       	jmp    0x383
  19:	4d 89 ec             	mov    %r13,%r12
  1c:	49 c1 ec 03          	shr    $0x3,%r12
  20:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  27:	fc ff df
* 2a:	41 0f b6 04 04       	movzbl (%r12,%rax,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 2f 05 00 00    	jne    0x566
  37:	41 8b 5d 00          	mov    0x0(%r13),%ebx
  3b:	be 00 00 70 00       	mov    $0x700000,%esi

Crashes (75):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/20 09:53 android13-5.10-lts d76d4cd0623a ed3e87f7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/06/20 00:19 android13-5.10-lts d76d4cd0623a ed3e87f7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/04/08 16:09 android13-5.10-lts 2afb6720c0dc a775275d .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/12/29 21:47 android13-5.10-lts 4055d754db6f d3ccff63 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/09/18 22:50 android13-5.10-lts 8d23314f588a c673ca06 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/09/15 07:46 android13-5.10-lts 8d23314f588a 08d8a733 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/01 06:02 android13-5.10-lts a4a2b7a82ee4 757f06b1 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/02/25 15:27 android13-5.10-lts dd976ecce2ce 8d446f15 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2023/09/15 06:28 android13-5.10-lts a27512601c2d 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/06/29 15:21 android13-5.10-lts 59e9a7228857 fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/06/22 23:42 android13-5.10-lts d76d4cd0623a d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/05/04 20:01 android13-5.10-lts ab07aeb2c93d b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/04/27 20:34 android13-5.10-lts ba8b8b193394 c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/04/27 10:38 android13-5.10-lts ba8b8b193394 c6b4fb39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/04/17 19:46 android13-5.10-lts ba8b8b193394 229db4cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/04/17 04:40 android13-5.10-lts ba8b8b193394 a95239b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/04/17 02:07 android13-5.10-lts ba8b8b193394 a95239b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/04/13 20:08 android13-5.10-lts e0b88ee5f09c 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/04/13 15:37 android13-5.10-lts e0b88ee5f09c 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/03/11 09:54 android13-5.10-lts 3f5f2283d684 16256247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/01/18 21:40 android13-5.10-lts fbe98d68b6b3 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/01/10 22:10 android13-5.10-lts 49e8ba0a684f 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/12/29 21:18 android13-5.10-lts 4055d754db6f d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/11/27 16:54 android13-5.10-lts 139a6bb26d9d 52b38cc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/11/17 16:42 android13-5.10-lts 6a01908517df cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/10/13 18:10 android13-5.10-lts e5e5644ea27f 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/10/06 15:39 android13-5.10-lts e5e5644ea27f d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/09/12 15:15 android13-5.10-lts 8d23314f588a 60e1a995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/09/10 09:35 android13-5.10-lts 1c5354a314ea 784df80e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/09/08 09:33 android13-5.10-lts 1c5354a314ea 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/08/31 08:25 android13-5.10-lts 1c5354a314ea 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/08/21 00:44 android13-5.10-lts 0890c03b8b7d 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/08/21 00:44 android13-5.10-lts 0890c03b8b7d 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/08/21 00:44 android13-5.10-lts 0890c03b8b7d 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/08/15 15:55 android13-5.10-lts 0890c03b8b7d e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/08/12 18:21 android13-5.10-lts fd58936f3c1f 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/08/12 18:21 android13-5.10-lts fd58936f3c1f 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/08/11 11:31 android13-5.10-lts fd58936f3c1f 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/08/11 11:31 android13-5.10-lts fd58936f3c1f 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/08/11 10:02 android13-5.10-lts fd58936f3c1f 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/08/02 15:23 android13-5.10-lts fd58936f3c1f 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/30 10:47 android13-5.10-lts fd58936f3c1f 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/30 10:47 android13-5.10-lts fd58936f3c1f 5187fc86 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/28 16:20 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/28 16:20 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/28 09:34 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/27 00:30 android13-5.10-lts fd58936f3c1f 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/21 23:36 android13-5.10-lts 1240968f7644 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/14 14:16 android13-5.10-lts 3feee789f446 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/14 14:16 android13-5.10-lts 3feee789f446 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/09 20:26 android13-5.10-lts 3feee789f446 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/09 20:26 android13-5.10-lts 3feee789f446 79d68ada .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/06 17:40 android13-5.10-lts 3feee789f446 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/01 05:41 android13-5.10-lts a4a2b7a82ee4 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/07/01 05:40 android13-5.10-lts a4a2b7a82ee4 757f06b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/04/26 08:53 android13-5.10-lts 70b6ab09a34b 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/04/20 19:25 android13-5.10-lts 8d3bb9cb3b7d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/04/20 07:39 android13-5.10-lts c449d2a618ef af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/04/16 14:10 android13-5.10-lts 4e1bc8d8e8ae 0d592ce4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/04/14 20:17 android13-5.10-lts 4e1bc8d8e8ae c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/04/14 01:32 android13-5.10-lts 4e1bc8d8e8ae c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/03/31 15:05 android13-5.10-lts e7daca75b4c3 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/03/28 10:36 android13-5.10-lts e7daca75b4c3 120789fd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/03/23 09:59 android13-5.10-lts e7daca75b4c3 0ea90952 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/03/23 01:03 android13-5.10-lts e7daca75b4c3 4b6cdce6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/02/26 13:18 android13-5.10-lts dd976ecce2ce 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2024/02/22 21:12 android13-5.10-lts dd976ecce2ce 8d446f15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2023/11/05 06:22 android13-5.10-lts d30b996835c0 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2023/09/15 06:00 android13-5.10-lts a27512601c2d 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
* Struck through repros no longer work on HEAD.