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: 433d, last: 4d01h
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in do_renameat2 origin:downstream C 34 25d 423d 0/2 upstream: reported C repro on 2023/09/24 22:41
android-6-1 general protection fault in do_renameat2 origin:downstream C done 26 12d 431d 0/2 upstream: reported C repro on 2023/09/17 05:40
Last patch testing requests (9)
Created Duration User Patch Repo Result
2024/10/05 00:05 14m retest repro android13-5.10-lts report log
2024/10/05 00:05 13m retest repro android13-5.10-lts report log
2024/10/05 00:05 14m retest repro android13-5.10-lts report log
2024/10/05 00:05 14m retest repro android13-5.10-lts report log
2024/10/05 00:05 52m retest repro android13-5.10-lts report log
2024/05/20 13:44 13m retest repro android13-5.10-lts error
2024/05/10 09:11 2m retest repro android13-5.10-lts error
2024/03/11 13:21 5m retest repro android13-5.10-lts report log
2023/09/29 06:41 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 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
CPU: 1 PID: 288 Comm: syz-executor287 Not tainted 5.10.225-syzkaller-00513-g8d23314f588a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
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+0x790/0x1240 fs/namei.c:4577
Code: ff ff 48 89 c3 48 3d 01 f0 ff ff 72 16 e8 78 52 b6 ff 41 89 dc 48 8b 1c 24 4c 8b 6c 24 58 e9 60 03 00 00 49 89 dc 49 c1 ec 03 <43> 0f b6 04 3c 84 c0 4c 8b 6c 24 58 0f 85 18 06 00 00 48 89 5c 24
RSP: 0018:ffffc9000096fce0 EFLAGS: 00010202
RAX: 0000000000000010 RBX: 0000000000000010 RCX: ffff888120954f00
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000000
RBP: ffffc9000096fef0 R08: ffffffff81b68a38 R09: ffffed10239d673e
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002
R13: 0000000000000000 R14: ffffc9000096fe01 R15: dffffc0000000000
FS:  00007f593a9776c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a7f7f074f0 CR3: 00000001207d0000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __do_sys_renameat2 fs/namei.c:4657 [inline]
 __se_sys_renameat2 fs/namei.c:4654 [inline]
 __x64_sys_renameat2+0xdd/0xf0 fs/namei.c:4654
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f593a9b5679
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:00007f593a977218 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007f593aa443e8 RCX: 00007f593a9b5679
RDX: 0000000000000004 RSI: 0000000020000500 RDI: 0000000000000004
RBP: 00007f593aa443e0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000200001c0 R11: 0000000000000246 R12: 00007f593aa1109c
R13: 0030656c69662f2e R14: 00007f593aa110ca R15: 0031656c69662f2e
Modules linked in:
---[ end trace 82620d72bd2cc69f ]---
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+0x790/0x1240 fs/namei.c:4577
Code: ff ff 48 89 c3 48 3d 01 f0 ff ff 72 16 e8 78 52 b6 ff 41 89 dc 48 8b 1c 24 4c 8b 6c 24 58 e9 60 03 00 00 49 89 dc 49 c1 ec 03 <43> 0f b6 04 3c 84 c0 4c 8b 6c 24 58 0f 85 18 06 00 00 48 89 5c 24
RSP: 0018:ffffc9000096fce0 EFLAGS: 00010202
RAX: 0000000000000010 RBX: 0000000000000010 RCX: ffff888120954f00
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000000
RBP: ffffc9000096fef0 R08: ffffffff81b68a38 R09: ffffed10239d673e
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002
R13: 0000000000000000 R14: ffffc9000096fe01 R15: dffffc0000000000
FS:  00007f593a9776c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a7f7f074f0 CR3: 00000001207d0000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	ff 48 89             	decl   -0x77(%rax)
   3:	c3                   	ret
   4:	48 3d 01 f0 ff ff    	cmp    $0xfffffffffffff001,%rax
   a:	72 16                	jb     0x22
   c:	e8 78 52 b6 ff       	call   0xffb65289
  11:	41 89 dc             	mov    %ebx,%r12d
  14:	48 8b 1c 24          	mov    (%rsp),%rbx
  18:	4c 8b 6c 24 58       	mov    0x58(%rsp),%r13
  1d:	e9 60 03 00 00       	jmp    0x382
  22:	49 89 dc             	mov    %rbx,%r12
  25:	49 c1 ec 03          	shr    $0x3,%r12
* 29:	43 0f b6 04 3c       	movzbl (%r12,%r15,1),%eax <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	4c 8b 6c 24 58       	mov    0x58(%rsp),%r13
  35:	0f 85 18 06 00 00    	jne    0x653
  3b:	48                   	rex.W
  3c:	89                   	.byte 0x89
  3d:	5c                   	pop    %rsp
  3e:	24                   	.byte 0x24

Crashes (52):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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.