general protection fault in security_inode_getattr

Status: upstream: reported C repro on 2024/03/26 17:56
Reported-by: syzbot+bc21724b4b0f821fa06b@syzkaller.appspotmail.com
First crash: 900d, last: 10d
Similar bugs (15)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 general protection fault in security_inode_getattr origin:downstream 2 syz, C error 10 20d 900d 0/2 upstream: reported C repro on 2024/03/26 18:25
upstream general protection fault in security_inode_getattr overlayfs 2 syz, C done inconclusive 55 1218d 2236d 0/29 auto-obsoleted due to no activity on 2023/08/23 09:02
linux-5.15 general protection fault in security_inode_getattr 2 1 1030d 1030d 0/3 auto-obsoleted due to no activity on 2024/02/25 11:36
linux-5.15 general protection fault in security_inode_getattr (4) 2 1 318d 318d 0/3 auto-obsoleted due to no activity on 2026/02/06 18:28
linux-6.1 BUG: unable to handle kernel paging request in security_inode_getattr (2) 8 6 1d17h 171d 0/3 upstream: reported on 2026/03/25 18:46
android-54 general protection fault in security_inode_getattr 2 syz, C 3 531d 2196d 0/2 upstream: reported C repro on 2020/09/08 02:23
linux-6.1 general protection fault in security_inode_getattr (3) 2 1 322d 322d 0/3 auto-obsoleted due to no activity on 2026/02/02 20:46
linux-6.1 BUG: unable to handle kernel paging request in security_inode_getattr 8 6 585d 717d 0/3 auto-obsoleted due to no activity on 2025/05/15 11:02
linux-5.15 general protection fault in security_inode_getattr (3) 8 9 544d 743d 0/3 auto-obsoleted due to no activity on 2025/06/26 02:46
linux-6.1 general protection fault in security_inode_getattr (2) 2 1 479d 479d 0/3 auto-obsoleted due to no activity on 2025/08/29 15:51
android-5-15 general protection fault in security_inode_getattr origin:downstream 2 syz, C error 13 1d08h 899d 0/2 upstream: reported C repro on 2024/03/27 12:21
linux-5.15 general protection fault in security_inode_getattr (2) 2 4 868d 908d 0/3 auto-obsoleted due to no activity on 2024/08/05 16:40
linux-4.19 general protection fault in security_inode_getattr 2 syz, C error 29 1437d 2218d 0/1 upstream: reported C repro on 2020/08/16 14:26
linux-6.1 general protection fault in security_inode_getattr 2 4 825d 874d 0/3 auto-obsoleted due to no activity on 2024/09/17 16:33
linux-5.15 general protection fault in security_inode_getattr (5) 2 7 112d 200d 0/3 auto-obsoleted due to no activity on 2026/08/31 10:04
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/06/25 10:33 18m retest repro android13-5.10-lts log
2026/06/25 10:33 33m retest repro android13-5.10-lts log
2026/06/25 10:33 12m retest repro android13-5.10-lts log
2026/03/06 16:22 5m retest repro android13-5.10-lts report log
2026/03/06 16:22 8m retest repro android13-5.10-lts report log
2026/03/06 16:22 5m retest repro android13-5.10-lts report log
2025/12/20 09:25 6m retest repro android13-5.10-lts report log
2025/12/20 09:25 7m retest repro android13-5.10-lts report log
2025/12/20 09:25 6m retest repro android13-5.10-lts report log
2025/10/10 12:02 6m retest repro android13-5.10-lts report log
Fix bisection attempts (15)
Created Duration User Patch Repo Result
2026/07/31 23:02 1h16m bisect fix android13-5.10-lts OK (0) job log log
2026/06/05 14:11 1h37m bisect fix android13-5.10-lts OK (0) job log log
2026/05/06 09:22 1h41m bisect fix android13-5.10-lts OK (0) job log log
2026/04/05 16:41 1h54m bisect fix android13-5.10-lts OK (0) job log log
2026/02/20 15:23 51m bisect fix android13-5.10-lts OK (0) job log log
2026/01/21 13:34 1h09m bisect fix android13-5.10-lts OK (0) job log log
2025/11/16 18:25 1h56m bisect fix android13-5.10-lts OK (0) job log log
2025/07/30 10:23 1h30m bisect fix android13-5.10-lts OK (0) job log log
2025/06/03 18:48 44m bisect fix android13-5.10-lts OK (0) job log log
2025/03/25 17:39 52m bisect fix android13-5.10-lts OK (0) job log log
2025/02/22 08:30 44m bisect fix android13-5.10-lts OK (0) job log log
2024/10/26 11:35 1h05m bisect fix android13-5.10-lts OK (0) job log log
2024/08/20 22:47 33m bisect fix android13-5.10-lts OK (0) job log log
2024/07/21 03:30 1h00m bisect fix android13-5.10-lts OK (0) job log log
2024/06/07 09:21 32m bisect fix android13-5.10-lts OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000006: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000030-0x0000000000000037]
CPU: 0 PID: 297 Comm: syz-executor352 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:d_backing_inode include/linux/dcache.h:558 [inline]
RIP: 0010:security_inode_getattr+0x47/0x130 security/security.c:1265
Code: 4c ff 4c 8d 73 08 4c 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 37 b6 86 ff 4d 8b 36 49 83 c6 30 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 f7 e8 1a b6 86 ff 4d 8b 36 49 83 c6 0c
RSP: 0018:ffffc90000ba7610 EFLAGS: 00010206
RAX: 0000000000000006 RBX: ffffc90000ba7720 RCX: ffff88810ad34f00
RDX: 0000000000000000 RSI: ffffc90000ba7810 RDI: ffffc90000ba7720
RBP: ffffc90000ba7638 R08: ffffc90000ba772f R09: ffffc90000ba7720
R10: dffffc0000000000 R11: fffff52000174ee6 R12: ffffc90000ba7720
R13: dffffc0000000000 R14: 0000000000000030 R15: ffffc90000ba7810
FS:  000055556c9343c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000464430 CR3: 000000011f374000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 vfs_getattr+0x25/0x70 fs/stat.c:129
 ovl_getattr+0x367/0xf10 fs/overlayfs/inode.c:245
 vfs_getattr_nosec+0x217/0x6d0 fs/stat.c:95
 vfs_getattr+0x52/0x70 fs/stat.c:132
 incfs_getattr+0x299/0x390 fs/incfs/vfs.c:1702
 vfs_getattr_nosec+0x217/0x6d0 fs/stat.c:95
 vfs_getattr fs/stat.c:132 [inline]
 vfs_statx+0x178/0x530 fs/stat.c:197
 vfs_fstatat fs/stat.c:215 [inline]
 vfs_lstat include/linux/fs.h:3340 [inline]
 __do_sys_newlstat fs/stat.c:369 [inline]
 __se_sys_newlstat+0x102/0x3c0 fs/stat.c:363
 __x64_sys_newlstat+0x5b/0x70 fs/stat.c:363
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f08d1f47d79
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 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc60fc4878 EFLAGS: 00000246 ORIG_RAX: 0000000000000006
RAX: ffffffffffffffda RBX: 2f30656c69662f2e RCX: 00007f08d1f47d79
RDX: 00007f08d1f47d79 RSI: 0000000000000000 RDI: 00002000000006c0
RBP: 0032656c69662f30 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000001000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: 0000200000000000 R14: 00007f08d1fd8ca0 R15: 0000000000000002
Modules linked in:
---[ end trace d5132c05032662d8 ]---
RIP: 0010:d_backing_inode include/linux/dcache.h:558 [inline]
RIP: 0010:security_inode_getattr+0x47/0x130 security/security.c:1265
Code: 4c ff 4c 8d 73 08 4c 89 f0 48 c1 e8 03 42 80 3c 28 00 74 08 4c 89 f7 e8 37 b6 86 ff 4d 8b 36 49 83 c6 30 4c 89 f0 48 c1 e8 03 <42> 80 3c 28 00 74 08 4c 89 f7 e8 1a b6 86 ff 4d 8b 36 49 83 c6 0c
RSP: 0018:ffffc90000ba7610 EFLAGS: 00010206
RAX: 0000000000000006 RBX: ffffc90000ba7720 RCX: ffff88810ad34f00
RDX: 0000000000000000 RSI: ffffc90000ba7810 RDI: ffffc90000ba7720
RBP: ffffc90000ba7638 R08: ffffc90000ba772f R09: ffffc90000ba7720
R10: dffffc0000000000 R11: fffff52000174ee6 R12: ffffc90000ba7720
R13: dffffc0000000000 R14: 0000000000000030 R15: ffffc90000ba7810
FS:  000055556c9343c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000464430 CR3: 000000011f374000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	4c ff 4c 8d 73       	rex.WR decq 0x73(%rbp,%rcx,4)
   5:	08 4c 89 f0          	or     %cl,-0x10(%rcx,%rcx,4)
   9:	48 c1 e8 03          	shr    $0x3,%rax
   d:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1)
  12:	74 08                	je     0x1c
  14:	4c 89 f7             	mov    %r14,%rdi
  17:	e8 37 b6 86 ff       	call   0xff86b653
  1c:	4d 8b 36             	mov    (%r14),%r14
  1f:	49 83 c6 30          	add    $0x30,%r14
  23:	4c 89 f0             	mov    %r14,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	4c 89 f7             	mov    %r14,%rdi
  34:	e8 1a b6 86 ff       	call   0xff86b653
  39:	4d 8b 36             	mov    (%r14),%r14
  3c:	49 83 c6 0c          	add    $0xc,%r14

Crashes (33):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/02 14:44 android13-5.10-lts 4185c27befd4 85995287 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2026/08/16 05:14 android13-5.10-lts e334a66065d3 746171ee .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/04/06 03:20 android13-5.10-lts 094fc3778d6b 1c65791e .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/01/07 23:41 android13-5.10-lts 49e8ba0a684f f3558dbf .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/09/26 02:10 android13-5.10-lts 8d23314f588a 0d19f247 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/03/26 17:55 android13-5.10-lts e7daca75b4c3 bcd9b39f .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2026/08/23 17:36 android13-5.10-lts e334a66065d3 1e72964b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2026/06/29 10:39 android13-5.10-lts 79e905dd56a7 fb92f11c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/10/12 17:21 android13-5.10-lts 2ece552169c2 ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/09/23 16:04 android13-5.10-lts 911f602c2237 0ac7291c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/09/10 03:05 android13-5.10-lts 48647f2c6800 fdeaa69b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/09/10 02:55 android13-5.10-lts 48647f2c6800 fdeaa69b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/09/09 21:53 android13-5.10-lts 48647f2c6800 d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/09/05 16:08 android13-5.10-lts dce613ec61e0 d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/09/03 11:32 android13-5.10-lts 68c598f9eb32 96a211bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/08/17 23:26 android13-5.10-lts 1154f779f3f3 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/08/16 01:31 android13-5.10-lts 1154f779f3f3 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/08/15 09:15 android13-5.10-lts 1154f779f3f3 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/08/06 12:14 android13-5.10-lts 1154f779f3f3 ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/05/04 00:52 android13-5.10-lts ab07aeb2c93d b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2025/01/07 23:20 android13-5.10-lts 49e8ba0a684f f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/12/31 02:34 android13-5.10-lts 49e8ba0a684f d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/12/30 06:58 android13-5.10-lts 4055d754db6f d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/12/22 04:29 android13-5.10-lts 4055d754db6f d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/12/08 04:10 android13-5.10-lts 550d1177dc67 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/11/24 22:18 android13-5.10-lts b14940b90491 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/09/26 01:24 android13-5.10-lts 8d23314f588a 0d19f247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/05/06 18:33 android13-5.10-lts 70b6ab09a34b d884b519 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/04/25 06:41 android13-5.10-lts 70b6ab09a34b 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/04/12 10:50 android13-5.10-lts 4e1bc8d8e8ae 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/04/10 01:34 android13-5.10-lts 4e1bc8d8e8ae 171ec371 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/04/04 01:34 android13-5.10-lts e7daca75b4c3 51c4dcff .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
2024/03/26 17:30 android13-5.10-lts e7daca75b4c3 bcd9b39f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in security_inode_getattr
* Struck through repros no longer work on HEAD.