CVE-2024-47745

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.

  1. 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.

Mitigation

The issue exists if SELinux W^X policy restrictions are being used.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.77.87.8
Attack VectorLocalLocalLocal
Attack ComplexityHighLowLow
Privileges RequiredLowLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityHighHighHigh
Integrity ImpactNoneHighHigh
Availability ImpactNoneHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Other

Technical Impact: Other; Alter Execution Logic

Frequently Asked Questions

Want to get errata notifications? Sign up here.