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-20220209' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit

Pull audit fix from Paul Moore:
"Another audit fix, this time a single rather small but important fix
for an oops/page-fault caused by improperly accessing userspace
memory"

* tag 'audit-pr-20220209' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit:
audit: don't deref the syscall args when checking the openat2 open_how::flags

+1 -1
+1 -1
kernel/auditsc.c
··· 185 185 case AUDITSC_EXECVE: 186 186 return mask & AUDIT_PERM_EXEC; 187 187 case AUDITSC_OPENAT2: 188 - return mask & ACC_MODE((u32)((struct open_how *)ctx->argv[2])->flags); 188 + return mask & ACC_MODE((u32)ctx->openat2.flags); 189 189 default: 190 190 return 0; 191 191 }