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: 716d, last: 2d19h
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 43 6d03h 706d 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 6 5d18h 61d 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 40 6d19h 714d 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 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 PID: 283 Comm: syz-executor211 Not tainted 5.10.240-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/14/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 1a f4 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:ffffc90000b47d80 EFLAGS: 00010202

RAX: dffffc0000000000 RBX: 00000000ffffff9c RCX: ffff88811fff62c0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88811fff62c0
RBP: ffffc90000b47f08 R08: dffffc0000000000 R09: ffffed10238febe8
R10: ffffed10238febe8 R11: 1ffff110238febe7 R12: 0000000000000001
R13: 0000000000000008 R14: ffff8881079e5500 R15: 0000000000000001
FS:  00007fa851fde6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000003000 CR3: 0000000106b92000 CR4: 00000000003506a0
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:0x7fa85201c4f9
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:00007fa851fde218 EFLAGS: 00000246
 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007fa8520a9408 RCX: 00007fa85201c4f9
RDX: 00007fa85201c4f9 RSI: 00002000000000c0 RDI: 0000200000000100
RBP: 00007fa8520a9400 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fa85207602c
R13: 0000200000002140 R14: 00007fa85207400c R15: 0000200000000000
Modules linked in:
---[ end trace 25ac6a544223de34 ]---
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 1a f4 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:ffffc90000b47d80 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 00000000ffffff9c RCX: ffff88811fff62c0
RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88811fff62c0
RBP: ffffc90000b47f08 R08: dffffc0000000000 R09: ffffed10238febe8
R10: ffffed10238febe8 R11: 1ffff110238febe7 R12: 0000000000000001
R13: 0000000000000008 R14: ffff8881079e5500 R15: 0000000000000001
FS:  00007fa851fde6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa8520730d8 CR3: 0000000106b92000 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 1a f4 ba ff       	call   0xffbaf429
   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 (86):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/23 23:47 android13-5.10-lts 1154f779f3f3 bf27483f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/08/20 05:02 android13-5.10-lts 1154f779f3f3 79512909 .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 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/08/28 11:41 android13-5.10-lts 1154f779f3f3 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/08/22 15:57 android13-5.10-lts 1154f779f3f3 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/08/15 12:42 android13-5.10-lts 1154f779f3f3 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/08/11 08:30 android13-5.10-lts 1154f779f3f3 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/08/11 08:30 android13-5.10-lts 1154f779f3f3 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/08/11 04:40 android13-5.10-lts 1154f779f3f3 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/08/03 13:14 android13-5.10-lts 1154f779f3f3 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/07/29 16:50 android13-5.10-lts ad9a98ef27a4 c4a95487 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_renameat2
2025/07/20 04:21 android13-5.10-lts 6de38b5f6c2b 7117feec .config console log report info [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/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.