syzbot


general protection fault in security_inode_getattr

Status: upstream: reported C repro on 2020/08/16 14:26
Reported-by: syzbot+1e644f849da2a067c121@syzkaller.appspotmail.com
First crash: 1348d, last: 567d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-1 general protection fault in security_inode_getattr C 3 3d14h 30d 0/2 upstream: reported C repro on 2024/03/26 18:25
upstream general protection fault in security_inode_getattr overlayfs C done inconclusive 55 348d 1366d 0/26 auto-obsoleted due to no activity on 2023/08/23 09:02
linux-5.15 general protection fault in security_inode_getattr 1 160d 160d 0/3 auto-obsoleted due to no activity on 2024/02/25 11:36
android-54 general protection fault in security_inode_getattr C 3 15d 1325d 0/2 upstream: reported C repro on 2020/09/08 02:23
android-5-15 general protection fault in security_inode_getattr C 1 29d 29d 0/2 upstream: reported C repro on 2024/03/27 12:21
linux-5.15 general protection fault in security_inode_getattr (2) 3 4h23m 38d 0/3 upstream: reported on 2024/03/18 14:23
linux-6.1 general protection fault in security_inode_getattr 1 3d20h 3d20h 0/3 upstream: reported on 2024/04/22 01:07
android-5-10 general protection fault in security_inode_getattr C 6 14h27m 30d 0/2 upstream: reported C repro on 2024/03/26 17:56
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2020/12/09 14:00 23m bisect fix linux-4.19.y error job log (0)
2020/10/31 15:41 39m bisect fix linux-4.19.y job log (0) log

Sample crash report:
Process accounting resumed
Process accounting resumed
Process accounting resumed
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 27513 Comm: syz-executor864 Not tainted 4.19.141-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:d_backing_inode include/linux/dcache.h:543 [inline]
RIP: 0010:security_inode_getattr+0x46/0x140 security/security.c:722
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 04 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5d 08 48 8d 7b 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d7 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b
RSP: 0018:ffff8880819ef670 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 000000000000000b RSI: ffffffff831aedae RDI: 0000000000000058
RBP: ffff8880819ef7c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88807d005e00
R13: ffff8880819ef7c0 R14: 00000000000007ff R15: 0000000000000000
FS:  00007ff201222700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000240 CR3: 0000000091c7e000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 vfs_getattr+0x22/0x60 fs/stat.c:113
 ovl_copy_up_one+0x120/0xe60 fs/overlayfs/copy_up.c:775
 ovl_copy_up_flags+0x14b/0x1c0 fs/overlayfs/copy_up.c:856
 ovl_maybe_copy_up+0x140/0x190 fs/overlayfs/copy_up.c:888
 ovl_open+0xb4/0x350 fs/overlayfs/file.c:126
 do_dentry_open+0x4aa/0x1160 fs/open.c:796
 do_last fs/namei.c:3421 [inline]
 path_openat+0x793/0x2df0 fs/namei.c:3537
 do_filp_open+0x18c/0x3f0 fs/namei.c:3567
 file_open_name+0x269/0x380 fs/open.c:1032
 acct_on kernel/acct.c:207 [inline]
 __do_sys_acct kernel/acct.c:286 [inline]
 __se_sys_acct+0xf2/0x930 kernel/acct.c:273
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x446ed9
Code: e8 dc e6 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 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 0f 83 ab 05 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ff201221db8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a3
RAX: ffffffffffffffda RBX: 00000000006dcc38 RCX: 0000000000446ed9
RDX: 0000000000402cb4 RSI: 5eb974f0897ce1b1 RDI: 0000000020000040
RBP: 00000000006dcc30 R08: 00007ff201222700 R09: 0000000000000000
R10: 00007ff201222700 R11: 0000000000000246 R12: 00000000006dcc3c
R13: 00007fff5f0f9edf R14: 00007ff2012229c0 R15: 0000000000000001
Modules linked in:
---[ end trace bf040f0623636f4c ]---
RIP: 0010:d_backing_inode include/linux/dcache.h:543 [inline]
RIP: 0010:security_inode_getattr+0x46/0x140 security/security.c:722
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 04 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5d 08 48 8d 7b 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 d7 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b
RSP: 0018:ffff8880819ef670 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 000000000000000b RSI: ffffffff831aedae RDI: 0000000000000058
RBP: ffff8880819ef7c0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88807d005e00
R13: ffff8880819ef7c0 R14: 00000000000007ff R15: 0000000000000000
FS:  00007ff201222700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1898546000 CR3: 0000000091c7e000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (29):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/24 23:30 linux-4.19.y d18b78abc0c6 67b599d1 .config console log report syz C ci2-linux-4-19
2022/10/06 19:54 linux-4.19.y 3f8a27f9e27b 80b58a42 .config console log report syz [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 general protection fault in security_inode_getattr
2021/09/07 13:49 linux-4.19.y b172b44fcb17 6ca60148 .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/09/01 17:21 linux-4.19.y e23d55af0e1f 7eb7e152 .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/08/04 12:35 linux-4.19.y 6ca2f514c578 6c236867 .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/07/29 01:10 linux-4.19.y a89b48fe9308 9a4781d4 .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/06/28 22:39 linux-4.19.y eb575cd5d7f6 9d2ab5df .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/06/24 07:11 linux-4.19.y eb575cd5d7f6 fe4ab389 .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/05/04 13:31 linux-4.19.y 97a8651cadce 06c27ff5 .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/04/14 07:16 linux-4.19.y 0f1b4cb77d7f a184b83e .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/04/13 17:21 linux-4.19.y 830a059cbba6 6a81331a .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/04/10 14:37 linux-4.19.y 830a059cbba6 6a81331a .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/04/09 02:00 linux-4.19.y b4454811f122 6a81331a .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/04/07 00:21 linux-4.19.y 2034d6f0838e 6a81331a .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/03/26 09:42 linux-4.19.y 78fec1611cbf a8529b82 .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/03/15 01:28 linux-4.19.y 030194a5b292 cc1cff8f .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/03/13 09:35 linux-4.19.y 030194a5b292 4a003785 .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/02/12 11:27 linux-4.19.y 811218eceeaa a5f86b15 .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/01/27 03:53 linux-4.19.y 2263955bf7e7 55a7d4df .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2021/01/26 00:02 linux-4.19.y 2263955bf7e7 52e37319 .config console log report info ci2-linux-4-19 general protection fault in security_inode_getattr
2020/12/28 20:10 linux-4.19.y 13d2ce42de8c 8259d56c .config console log report info ci2-linux-4-19
2020/11/09 14:00 linux-4.19.y b94de4d19498 cba33199 .config console log report info ci2-linux-4-19
2020/11/03 08:20 linux-4.19.y f5d8eef067ac cba33199 .config console log report info ci2-linux-4-19
2020/10/01 15:24 linux-4.19.y b09c34517e1a 4103fce0 .config console log report info ci2-linux-4-19
2020/09/28 08:53 linux-4.19.y 10ad6cfd5736 6bfdbe89 .config console log report info ci2-linux-4-19
2020/09/11 10:15 linux-4.19.y 67957f12548c adfb8b4e .config console log report ci2-linux-4-19
2020/09/02 05:36 linux-4.19.y f6d5cb9e2c06 abf9ba4f .config console log report ci2-linux-4-19
2020/08/17 03:43 linux-4.19.y c14d30dc9987 5ce13532 .config console log report ci2-linux-4-19
2020/08/16 14:26 linux-4.19.y c14d30dc9987 5ce13532 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.