syzbot


kernel panic: audit: out of memory in audit_log_start

Status: closed as invalid on 2020/02/27 15:45
Reported-by: syzbot+87ac46526766cd721767@syzkaller.appspotmail.com
First crash: 1018d, last: 1015d
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 kernel panic: audit: out of memory in audit_log_start 1 1015d 1015d 0/1 auto-closed as invalid on 2020/06/23 08:51
upstream kernel panic: audit: out of memory in audit_log_start 1 1016d 1016d 0/24 closed as dup on 2020/02/27 15:42

Sample crash report:
RSP: 002b:00007f4a9718ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f4a9718f6d4 RCX: 000000000045c429
RDX: 0000000000022040 RSI: 0000000020000180 RDI: ffffffffffffff9c
RBP: 000000000076bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 00000000000007b1 R14: 00000000004ca1d8 R15: 0000000000000009
Kernel panic - not syncing: audit: out of memory in audit_log_start
CPU: 0 PID: 15105 Comm: syz-executor.5 Not tainted 5.4.22-syzkaller-01097-gc6059ac63293 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1b0/0x228 lib/dump_stack.c:118
 panic+0x26c/0x719 kernel/panic.c:221
 audit_panic kernel/audit.c:306 [inline]
 audit_log_lost+0x1d7/0x1e0 kernel/audit.c:376
 audit_log_start+0x55b/0x9a0 kernel/audit.c:1795
 common_lsm_audit+0xd9/0x17b0 security/lsm_audit.c:449
 slow_avc_audit+0x23b/0x3c0 security/selinux/avc.c:782
 audit_inode_permission+0x1b7/0x280 security/selinux/hooks.c:3039
 selinux_inode_permission+0x558/0x680 security/selinux/hooks.c:3092
 security_inode_permission+0xa4/0x130 security/security.c:1203
 inode_permission2+0xe6/0x600 fs/namei.c:463
 may_o_create fs/namei.c:3143 [inline]
 lookup_open fs/namei.c:3295 [inline]
 do_last fs/namei.c:3434 [inline]
 path_openat+0x1413/0x42d0 fs/namei.c:3646
 do_filp_open+0x1f7/0x430 fs/namei.c:3676
 do_sys_open+0x36f/0x7a0 fs/open.c:1109
 __do_sys_openat fs/open.c:1136 [inline]
 __se_sys_openat fs/open.c:1130 [inline]
 __x64_sys_openat+0xa2/0xb0 fs/open.c:1130
 do_syscall_64+0xc0/0x100 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45c429
Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f4a9718ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f4a9718f6d4 RCX: 000000000045c429
RDX: 0000000000022040 RSI: 0000000020000180 RDI: ffffffffffffff9c
RBP: 000000000076bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 00000000000007b1 R14: 00000000004ca1d8 R15: 0000000000000009
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-android-5-4-kasan 2020/02/24 20:57 https://android.googlesource.com/kernel/common android-5.4 c6059ac63293 1253d6f0 .config log report
ci2-android-5-4-kasan 2020/02/24 01:54 https://android.googlesource.com/kernel/common android-5.4 e12432318607 d801cb02 .config log report
ci2-android-5-4-kasan 2020/02/22 03:37 https://android.googlesource.com/kernel/common android-5.4 e12432318607 2ffa6679 .config log report
* Struck through repros no longer work on HEAD.