bisecting fixing commit since 4fccc2503536a564a4ba31a1d50439854201659f building syzkaller on 2c36e7a75f8689b3da20e1a81a2ee5391f3af6e5 testing commit 4fccc2503536a564a4ba31a1d50439854201659f compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: f7c6f79f851f8f2e1dc18e448fb6aa61c46d18890dcfcbd4851533d0787b3416 all runs: crashed: kernel panic: audit: backlog limit exceeded testing current HEAD b172b44fcb1771e083aad806fa96f3f60e2ddfac testing commit b172b44fcb1771e083aad806fa96f3f60e2ddfac compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: b362024d15d3d4b6792ae39eef45bb1d4f2963eaad096256c4b3abf7a0ccf3d1 all runs: crashed: kernel panic: audit: backlog limit exceeded revisions tested: 2, total time: 29m15.785243341s (build: 21m32.870900052s, test: 7m15.256029103s) the crash still happens on HEAD commit msg: Linux 4.19.206 crash: kernel panic: audit: backlog limit exceeded audit: audit_backlog=9 > audit_backlog_limit=2 audit: audit_lost=1 audit_rate_limit=4294967295 audit_backlog_limit=2 audit: type=1305 audit(1632248928.515:3): audit_pid=0 old=0 auid=4294967295 ses=4294967295 subj==unconfined res=1 Kernel panic - not syncing: audit: backlog limit exceeded CPU: 1 PID: 5866 Comm: syz-executor.3 Not tainted 4.19.206-syzkaller #0 audit: type=1305 audit(1632248928.515:4): audit_rate_limit=4294967295 old=0 auid=4294967295 ses=4294967295 subj==unconfined res=1 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+0x123/0x171 lib/dump_stack.c:118 panic+0x1cd/0x375 kernel/panic.c:186 audit: type=1305 audit(1632248928.515:5): audit_backlog_limit=2 old=64 auid=4294967295 ses=4294967295 subj==unconfined res=1 audit_panic.cold.22+0x28/0x28 kernel/audit.c:320 audit_log_lost kernel/audit.c:390 [inline] audit_log_lost+0x57/0x120 kernel/audit.c:362 audit_log_start kernel/audit.c:1800 [inline] audit_log_start+0x2e7/0x680 kernel/audit.c:1757 audit: audit_backlog=19 > audit_backlog_limit=2 audit: audit_lost=2 audit_rate_limit=4294967295 audit_backlog_limit=2 audit: type=1305 audit(1632248928.515:6): audit_backlog_wait_time=0 old=6000 auid=4294967295 ses=4294967295 subj==unconfined res=1 audit_log+0x73/0xf0 kernel/audit.c:2391 xt_replace_table+0x55b/0x750 net/netfilter/x_tables.c:1414 __do_replace+0x1a9/0x9b0 net/ipv6/netfilter/ip6_tables.c:1087 do_replace net/ipv6/netfilter/ip6_tables.c:1160 [inline] do_ip6t_set_ctl+0x27e/0x3f0 net/ipv6/netfilter/ip6_tables.c:1686 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x5c/0xb0 net/netfilter/nf_sockopt.c:115 ipv6_setsockopt+0x95/0xf0 net/ipv6/ipv6_sockglue.c:945 tcp_setsockopt net/ipv4/tcp.c:3108 [inline] tcp_setsockopt+0x6a/0xd0 net/ipv4/tcp.c:3102 sock_common_setsockopt+0x73/0xf0 net/core/sock.c:3072 __sys_setsockopt+0x13e/0x210 net/socket.c:2013 __do_sys_setsockopt net/socket.c:2024 [inline] __se_sys_setsockopt net/socket.c:2021 [inline] __x64_sys_setsockopt+0xb9/0x150 net/socket.c:2021 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4653ca Code: 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc7e029238 EFLAGS: 00000202 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000029 RCX: 00000000004653ca RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 00007ffc7e029260 R08: 00000000000003b8 R09: 0079746972756365 R10: 0000000000509d80 R11: 0000000000000202 R12: 0000000000000003 R13: 00007ffc7e02925c R14: 0000000000000000 R15: 0000000000509d20 Shutting down cpus with NMI Kernel Offset: disabled Rebooting in 86400 seconds..