CVE-2024-47745
kernel: mm: call the security_mmap_file() LSM hook in remap_file_pages()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 21, 2024
Updated · August 5, 2026
Description
A flaw was found in the remap_file_pages function in mm/mmap.c in the Linux kernel, where it does not properly restrict execute access. This vulnerability allows local users to bypass intended SELinux W^X policy restrictions.
Statement
This issue affects the Linux kernel shipping with Red Hat Enterprise Linux 8 and 9.
This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 7 and before.
This flaw breach confidentiality due to bypassing incorrect SELinux policy.
Red Hat has assessed the severity as moderate for the following reasons.
1.First, while the vulnerability allows a bypass of security enforcement (W^X via SELinux), it must be triggered under a narrow sequence: the process must use READ_IMPLIES_EXEC personality and then call remap_file_pages() on RW pages. That is not necessarily common in many workloads.
- Even if a bypass is possible, it does not necessarily guarantee full root escalation or total system compromise; the benefit depends on what code or memory segments can be manipulated, if at all.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
The issue exists if SELinux W^X policy restrictions are being used.
CVSS / CWE
CVSS 3.1 · 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
CWE-670 · Always-Incorrect Control Flow Implementation