Description of problem: When a user does auditctl -R audit.rules which unloads and then loads rules that includes something like "-F dir=/var/log/audit" or "-F dir=/lib", the kernel will Oops. How reproducible: Always
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Reproducer: (while true; do ls -l /bin; done) >/dev/null & while true; do auditctl -w /var/log -p a -k ACCESS_LOGS; auditctl -D; done preferably with slab debugging turned on.
Created attachment 379850 [details] fix (combination of two mainline commits) ... and here's the fix
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2010-0178.html