general protection fault in security_path_rename

Status: premoderation: reported C repro on 2026/01/30 13:38
Bug presence: origin:downstream
[Documentation on labels]
Reported-by: syzbot+6dd59f06efd3e732abd8@syzkaller.appspotmail.com
First crash: 270d, last: 9d06h
▶ ▼ Bug presence (3)
Date Name Commit Repro Result
2026/01/30 android16-6.12 (ToT) d60ccb82b419 C [report] general protection fault in security_path_rename
2026/01/30 lts (merge base) 0bf1a02494c7 C Didn't crash
2026/02/13 upstream (ToT) 44331bd6a610 C Didn't crash
▶ ▼ Last patch testing requests (9)
Created Duration User Patch Repo Result
2026/10/10 15:24 42m retest repro android16-6.12 report job log log
2026/10/10 15:24 14m retest repro android16-6.12 report job log log
2026/08/24 14:56 25m retest repro android16-6.12 report job log log
2026/07/07 03:38 15m retest repro android16-6.12 log
2026/07/07 03:38 45m retest repro android16-6.12 log
2026/05/31 17:15 17m retest repro android16-6.12 log
2026/04/25 07:06 45m retest repro android16-6.12 report log
2026/04/25 07:06 38m retest repro android16-6.12 report log
2026/02/14 01:33 10m retest repro android16-6.12 report log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 UID: 0 PID: 315 Comm: syz-executor147 Not tainted syzkaller #0 bcd0852b9269e5a174a9e289c8567167f3c3d1d7
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:__d_entry_type include/linux/dcache.h:414 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:419 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:465 [inline]
RIP: 0010:d_is_positive include/linux/dcache.h:475 [inline]
RIP: 0010:security_path_rename+0x95/0x2a0 security/security.c:2023
Code: 00 44 8b 2b 44 89 ee 81 e6 00 02 00 00 31 db 31 ff e8 9f 66 13 ff 41 81 e5 00 02 00 00 0f 85 cd 00 00 00 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 e4 00 00 00 41 8b 1e 89 de 81 e6 00 00
RSP: 0018:ffffc9000133fcf0 EFLAGS: 00010203
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8881073abb40 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000133fd30 R08: 0000000000000000 R09: 1ffff1103ed8a208
R10: dffffc0000000000 R11: ffffed103ed8a209 R12: ffff88811c618000
R13: 0000000000000000 R14: 000000000000000f R15: dffffc0000000000
FS:  00007f1931f946c0(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000008000 CR3: 0000000104ea8000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 do_renameat2+0x639/0xc30 fs/namei.c:5165
 __do_sys_rename fs/namei.c:5225 [inline]
 __se_sys_rename fs/namei.c:5223 [inline]
 __x64_sys_rename+0x86/0xa0 fs/namei.c:5223
 x64_sys_call+0x150b/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:83
 do_syscall_x64 arch/x86/entry/common.c:47 [inline]
 do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f1932009279
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 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 d0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1931f94218 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007f19320beb88 RCX: 00007f1932009279
RDX: 00007f1931ff91fe RSI: 00002000000068c0 RDI: 0000200000006880
RBP: 00007f19320beb80 R08: 00007f1931f946c0 R09: 33203a6b63617473
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f193208a0dc
R13: 0000200000006900 R14: 00007fff40b24e90 R15: 00007fff40b24f78
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__d_entry_type include/linux/dcache.h:414 [inline]
RIP: 0010:d_is_miss include/linux/dcache.h:419 [inline]
RIP: 0010:d_is_negative include/linux/dcache.h:465 [inline]
RIP: 0010:d_is_positive include/linux/dcache.h:475 [inline]
RIP: 0010:security_path_rename+0x95/0x2a0 security/security.c:2023
Code: 00 44 8b 2b 44 89 ee 81 e6 00 02 00 00 31 db 31 ff e8 9f 66 13 ff 41 81 e5 00 02 00 00 0f 85 cd 00 00 00 4c 89 f0 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 e4 00 00 00 41 8b 1e 89 de 81 e6 00 00
RSP: 0018:ffffc9000133fcf0 EFLAGS: 00010203
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff8881073abb40 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000133fd30 R08: 0000000000000000 R09: 1ffff1103ed8a208
R10: dffffc0000000000 R11: ffffed103ed8a209 R12: ffff88811c618000
R13: 0000000000000000 R14: 000000000000000f R15: dffffc0000000000
FS:  00007f1931f946c0(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000008000 CR3: 0000000104ea8000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
   0:	00 44 8b 2b          	add    %al,0x2b(%rbx,%rcx,4)
   4:	44 89 ee             	mov    %r13d,%esi
   7:	81 e6 00 02 00 00    	and    $0x200,%esi
   d:	31 db                	xor    %ebx,%ebx
   f:	31 ff                	xor    %edi,%edi
  11:	e8 9f 66 13 ff       	call   0xff1366b5
  16:	41 81 e5 00 02 00 00 	and    $0x200,%r13d
  1d:	0f 85 cd 00 00 00    	jne    0xf0
  23:	4c 89 f0             	mov    %r14,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 38       	movzbl (%rax,%r15,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 e4 00 00 00    	jne    0x11b
  37:	41 8b 1e             	mov    (%r14),%ebx
  3a:	89 de                	mov    %ebx,%esi
  3c:	81                   	.byte 0x81
  3d:	e6 00                	out    %al,$0x0

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/19 03:41 android16-6.12 49f96790cc76 432c0077 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in security_path_rename
2026/01/30 15:48 android16-6.12 d60ccb82b419 ae7dc18c .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in security_path_rename
2026/01/30 15:01 android16-6.12 d60ccb82b419 ae7dc18c .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in security_path_rename
2026/01/30 14:20 android16-6.12 d60ccb82b419 ae7dc18c .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in security_path_rename
2026/04/06 14:00 android16-6.12 3028163b9168 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in security_path_rename
2026/01/30 13:37 android16-6.12 d60ccb82b419 ae7dc18c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in security_path_rename
2026/01/30 13:37 android16-6.12 d60ccb82b419 ae7dc18c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in security_path_rename
2026/01/30 13:37 android16-6.12 d60ccb82b419 ae7dc18c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust general protection fault in security_path_rename
* Struck through repros no longer work on HEAD.