CVE-2024-50182
kernel: secretmem: disable memfd_secret() if arch cannot set direct map
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · November 8, 2024
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel. On certain ARM64 systems, the memfd_secret() system call, intended to create secure memory regions, may appear to function correctly but fails to remove the memory from the direct map. This silent failure means that memory designated as secret is not properly protected. An attacker could potentially exploit this to access sensitive information stored in these supposedly secure memory areas, leading to information disclosure.
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
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-20 · Improper Input Validation