Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
audit: check the length of userspace generated audit records
Commit 7561252 ("audit: always check the netlink payload length in audit_receive_msg()") fixed a number of missing message length checks, but forgot to check the length of userspace generated audit records. The good news is that you need CAP_AUDIT_WRITE to submit userspace audit records, which is generally only given to trusted processes, so the impact should be limited. Cc: [email protected] Fixes: 7561252 ("audit: always check the netlink payload length in audit_receive_msg()") Reported-by: [email protected] Signed-off-by: Paul Moore <[email protected]>
- Loading branch information