selinux/selinux-pr-20261119
Subsystems (2)
Paul Moore
maintainerLinus,
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.
Paul
--
The following changes since commit 7475ea8b58616b33c04afb976cf0fbaad9dd63fb:
Linux 7.4-rc2 (2026-11-08 16:22:20 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git
tags/selinux-pr-20261119
for you to fetch changes up to beb0ae6bcd7505e2e61babe5d98a8dd3b3f03c7f:
selinux: check MAP_SHARED_VALIDATE mappings as shared
(2026-11-09 18:32:04 -0500)
----------------------------------------------------------------
selinux/stable-7.4 PR 20261119
----------------------------------------------------------------
Stephen Smalley (1):
selinux: check MAP_SHARED_VALIDATE mappings as shared
security/selinux/hooks.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
--
paul-moore.com
Quoted 4 lines · Paul Moore
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
The pull request you sent on Thu, 19 Nov 2026 16:22:18 -0500:
The pull request you sent on Thu, 19 Nov 2026 16:22:18 -0500:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux.git tags/selinux-pr-20261119
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/65e4fd942f72a9dba0e4e257290c4fa1aa756854
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html