Bug 315561 - Audit system drops messages which are too large
Audit system drops messages which are too large
Product: Fedora
Classification: Fedora
Component: audit (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Steve Grubb
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-10-02 12:22 EDT by Eric Paris
Modified: 2008-01-01 10:37 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-01 10:37:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
strace of auditd when I exec'd ls with a huge arg list (3.05 KB, text/plain)
2007-10-02 12:35 EDT, Eric Paris
no flags Details

  None (edit)
Description Eric Paris 2007-10-02 12:22:01 EDT
Description of problem:

If the kernel sends a huge message to the audit userspace (>8k) audit userspace
(somewhere) drops the message on the floor.

The kernel doesn't typically send messages that big, but in rawhide it's
possible to send a message up to size 32k.

I'd prefer to see audit userspace handle arbitrary message size, audit that it
dropped something, really anything other than silently losing information.

(p.s. i'm fixing the kernel to not be able to send such a large message where i
know it is possible)
Comment 1 Eric Paris 2007-10-02 12:31:48 EDT
recvfrom(3, "\275$\0\0\35\5\0\0\0\0\0\0\0\0\0\0audit(1191367234.497:17):
8988, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000000}, [12]) = 8988
Comment 2 Eric Paris 2007-10-02 12:35:55 EDT
Created attachment 213671 [details]
strace of auditd when I exec'd ls with a huge arg list
Comment 3 Steve Grubb 2008-01-01 10:37:24 EST
Since 1.6.4, the audit daemon now logs that a message was too large. This is
about all that can be done given the design.

Note You need to log in before you can comment on or make changes to this bug.