Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'audit-pr-20250905' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit

Pull audit fix from Paul Moore:
"A single small audit patch to fix a potential out-of-bounds read
caused by a negative array index when comparing paths"

* tag 'audit-pr-20250905' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit:
audit: fix out-of-bounds read in audit_compare_dname_path()

+1 -1
+1 -1
kernel/auditfilter.c
··· 1326 1326 1327 1327 /* handle trailing slashes */ 1328 1328 pathlen -= parentlen; 1329 - while (p[pathlen - 1] == '/') 1329 + while (pathlen > 0 && p[pathlen - 1] == '/') 1330 1330 pathlen--; 1331 1331 1332 1332 if (pathlen != dlen)