Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
* audit regressions in 4.11
@ 2017-04-09  3:02 Seth Forshee
  2017-04-09 13:14 ` Paul Moore
  0 siblings, 1 reply; 4+ messages in thread
From: Seth Forshee @ 2017-04-09  3:02 UTC (permalink / raw)
  To: Paul Moore, Eric Paris; +Cc: linux-audit, linux-kernel

I've observed audit regressions in 4.11-rc when not using a userspace
audit daemon. The most obvious issue is that audit messages are not
appearing in dmesg anymore. If a sufficient number of audit messages are
generated the kernel will also start invoking the OOM killer.

It looks like previously, when there's no auditd in userspace kauditd
would call kauditd_hold_skb(), which prints the message using printk and
either frees the skb or queues it (with a limit on the number of queued
skb's by default).

Since 5b52330bbfe6 "audit: fix auditd/kernel connection state tracking"
when there's no auditd kauditd will instead use the retry queue, which
has no limit. But it will not process the retry queue when there's no
auditd, so messages pile up there indefinitely.

Thanks,
Seth

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-09 15:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-09  3:02 audit regressions in 4.11 Seth Forshee
2017-04-09 13:14 ` Paul Moore
2017-04-09 14:40   ` Seth Forshee
2017-04-09 15:43     ` Paul Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox