[GIT PULL] audit/audit-pr-20260730

From: Paul Moore

Date: Thu Jul 30 2026 - 17:20:17 EST


Linus,

Two audit fixes for the next Linux v7.2-rc release:

- Fix potential integer overflows in audit_log_n_string()

Similar to the earlier fix to audit_log_n_hex() that you merged earlier
in July. Expect a cleaner, and generally better fix for these
functions in an upcoming merge window, but this addresses the problem
in a small patch that should be easy for people to backport.

- Fix potential use-after-free in audit_del_rule()

Paul

--
The following changes since commit f5098b6bae761e346ebcd9da7f95622c04733cff:

Linux 7.2-rc5 (2026-07-26 14:45:48 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git
tags/audit-pr-20260730

for you to fetch changes up to 246df90b5f1a8a6e6abbd2f058b029558720adec:

audit: fix potential use-after-free in audit_del_rule()
(2026-07-29 16:19:06 -0400)

----------------------------------------------------------------
audit/stable-7.2 PR 20260730
----------------------------------------------------------------

Luxiao Xu (1):
audit: fix potential use-after-free in audit_del_rule()

Zhan Xusheng (1):
audit: fix potential integer overflow in audit_log_n_string()

kernel/audit.c | 11 +++++++++--
kernel/auditfilter.c | 6 ++++--
2 files changed, 13 insertions(+), 4 deletions(-)

--
paul-moore.com