Local SELinux W^X bypass via unchecked remapping
Published Oct 21, 2024 · Updated Aug 5, 2026
Security policy bypass in Linux allows local users to remap writable file-backed pages as executable despite SELinux W^X enforcement. The remap_file_pages syscall handler invokes do_mmap directly without passing the effective protections through security_mmap_file. A process must first set READ_IMPLIES_EXEC and remap its own read-write pages; the result is an RWX mapping inside the caller's SELinux-confined context.
Summary
What happened
Security policy bypass in Linux allows local users to remap writable file-backed pages as executable despite SELinux W^X enforcement. The remap_file_pages syscall handler invokes do_mmap directly without passing the effective protections through security_mmap_file. A process must first set READ_IMPLIES_EXEC and remap its own read-write pages; the result is an RWX mapping inside the caller's SELinux-confined context.
The record
- CVE
- CVE-2024-47745
- Published
- Oct 21, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-670, T1211
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 21, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=097f98edde717ce09f217d8a285fe357dcd29fd1
- Affected versionversion=3.16.59 <3.17
- Affected versionversion=4.0
- Affected versionversion=c8d78c1823f46519473949d33f0d1d33fe21ea16 <0f910dbf2f2a4a7820ba4bac7b280f7108aa05b1
- Affected versionversion=c8d78c1823f46519473949d33f0d1d33fe21ea16 <3393fddbfa947c8e1fdcc4509226905ffffd8b89
- Affected versionversion=c8d78c1823f46519473949d33f0d1d33fe21ea16 <49d3a4ad57c57227c3b0fd6cd4188b2a5ebd6178
- Affected versionversion=c8d78c1823f46519473949d33f0d1d33fe21ea16 <ce14f38d6ee9e88e37ec28427b4b93a7c33c70d3
- Affected versionversion=c8d78c1823f46519473949d33f0d1d33fe21ea16 <ea7e2d5e49c05e5db1922387b09ca74aa40f46e2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Linux CNA remap_file_pages proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo