[GIT PULL] selinux/selinux-pr-20261119
Linus Torvalds
torvalds at linux-foundation.org
Thu Nov 19 22:17:53 UTC 2026
On Thu, 19 Nov 2026 at 13:22, Paul Moore <paul at paul-moore.com> wrote:
>
> A single SELinux fix for Linux v7.4 to fix a problem where we were not
> properly handling MAP_SHARED_VALIDATE. Please merge for the next v7.4-rcX
> release.
Bah. Horrendous, We should probably never have passed in the raw
flags, and instead passed in the flags we actually use and have
already generated (ie 'vma_flags'). There the test is just
if (vma_flags & (VM_SHARED | VM_MAYSHARE))
because we have already decoded the odd system call arguments.
Oh well. Pulled.
Linus
More information about the Linux-security-module-archive
mailing list