Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-50182

published high CVSS 3.1 · 7.1

secretmem: disable memfd_secret() if arch cannot set direct map

Published
08 Nov 2024, 05:38:23 UTC
Updated
05 Aug 2026, 11:42:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 to < d0ae6ffa1aeb297aef89f49cfb894a83c329ebad · 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 to < 5ea0b7af38754d2b45ead9257bca47e84662e926 · 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 to < 7caf966390e6e4ebf42775df54e7ee1f280ce677 · 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 to < 757786abe4547eb3d9d0e8350a63bdb0f9824af2 · 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 to < 532b53cebe58f34ce1c0f34d866f5c0e335c53c6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 5.15.169 through 5.15.* (unaffected · semver) · 6.1.113 through 6.1.* (unaffected · semver) · 6.6.57 through 6.6.* (unaffected · semver) · 6.11.4 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2025-060 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-794 Fixed Not stated Amazon Linux assessment
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 8 bpftoolaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 bpftoolx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-containeraarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 8 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el8uek ELSA-2024-12887
Oracle Linux 9 bpftoolaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.5.0-802.el9_6 ELSA-2025-6966
Oracle Linux 9 bpftoolx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.5.0-802.el9_6 ELSA-2025-6966
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-coreaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-cross-headersaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-cross-headersx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debugx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-corex86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-develx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-devel-matchedx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-modulesx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-modules-corex86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-modules-extrax86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-debug-uki-virtx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-develaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-develx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-devel-matchedx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-docx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-headersaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-headersx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-modulesx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-modules-coreaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-modules-corex86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-modules-extrax86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-toolsaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-toolsx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-tools-libsaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-tools-libsx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-tools-libs-develaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-tools-libs-develx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-containeraarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-containerx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-container-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-container-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:5.15.0-303.171.5.2.el9uek ELSA-2024-12887
Oracle Linux 9 kernel-uki-virtx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 kernel-uki-virt-addonsx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 libperfaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 libperfx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 perfaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 perfx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 python3-perfaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 python3-perfx86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 rtlaaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 rtlax86_64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966
Oracle Linux 9 rvaarch64 Advisory build 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: secretmem: disable memfd_secret() if arch cannot set direct map Return -ENOSYS from memfd_secret() syscall if !can_set_direct_map(). This is the case for example on some arm64 configurations, where marking 4k PTEs in the direct map not present can only be done if the direct map is set up at 4k granularity in the first place (as ARM's break-before-make semantics do not easily allow breaking apart large/gigantic pages). More precisely, on arm64 systems with !can_set_direct_map(), set_direct_map_invalid_noflush() is a no-op, however it returns success (0) instead of an error. This means that memfd_secret will seemingly "work" (e.g. syscall succeeds, you can mmap the fd and fault in pages), but it does not actually achieve its goal of removing its memory from the direct map. Note that with this patch, memfd_secret() will start erroring on systems where can_set_direct_map() returns false (arm64 with CONFIG_RODATA_FULL_DEFAULT_ENABLED=n, CONFIG_DEBUG_PAGEALLOC=n and CONFIG_KFENCE=n), but that still seems better than the current silent failure. Since CONFIG_RODATA_FULL_DEFAULT_ENABLED defaults to 'y', most arm64 systems actually have a working memfd_secret() and aren't be affected. From going through the iterations of the original memfd_secret patch series, it seems that disabling the syscall in these scenarios was the intended behavior [1] (preferred over having set_direct_map_invalid_noflush return an error as that would result in SIGBUSes at page-fault time), however the check for it got dropped between v16 [2] and v17 [3], when secretmem moved away from CMA allocations. [1]: https://lore.kernel.org/lkml/[email protected]/ [2]: https://lore.kernel.org/lkml/[email protected]/#t [3]: https://lore.kernel.org/lkml/[email protected]/

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

56

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Scenarios
en: AV:L - The flaw is in the `memfd_secret()` syscall path and the resulting exposure is of the kernel direct map, which requires local code execution on the affected host to observe or abuse. There is no network-facing path to secretmem. AC:L - On an affected arm64 system (CONFIG_RODATA_FULL_DEFAULT_ENABLED=n or the supported boot arg `rodata=on`/`rodata=off`, without debug_pagealloc or early KFENCE) the protection is unconditionally absent for every secretmem page — no race, timing window, or memory layout the attacker cannot influence is involved, and the syscall reports success every time. PR:L - `memfd_secret()` has no capability check and, since v6.3, is enabled by default with no boot parameter, so any unprivileged local user can create the falsely-protected mapping; abusing the retained direct-map entry likewise only needs unprivileged local execution plus a kernel read/write or transient-execution primitive. UI:N - No victim action is needed — the mitigation is already silently inert for every secretmem allocation on the affected system, and the attacker acts entirely on their own. S:U - The failed hardening and the exposed memory are both managed by the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed by the flaw itself. C:H - Memory the application explicitly asked the kernel to unmap from the direct map — cryptographic keys, VMM guest secrets — remains fully mapped, so any kernel infoleak gadget or speculative/transient-execution side channel can exfiltrate arbitrary amounts of it, which is precisely the exposure memfd_secret exists to eliminate. I:H - The direct-map PTE stays valid *and writable* (PAGE_KERNEL RW), so the missing invalidation removes the write barrier as well as the read barrier, letting a kernel write primitive tamper with or substitute secret data that should be unreachable from kernel context. A:N - No crash, hang, deadlock, or resource exhaustion results — the syscall succeeds and the system continues operating normally; the only defect is the silently missing isolation guarantee.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 5.5 medium CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 to < d0ae6ffa1aeb297aef89f49cfb894a83c329ebad (affected · git)1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 to < 5ea0b7af38754d2b45ead9257bca47e84662e926 (affected · git)1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 to < 7caf966390e6e4ebf42775df54e7ee1f280ce677 (affected · git)1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 to < 757786abe4547eb3d9d0e8350a63bdb0f9824af2 (affected · git)1507f51255c9ff07d75909a84e7c0d7f3c4b2f49 to < 532b53cebe58f34ce1c0f34d866f5c0e335c53c6 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.14 (affected)0 to < 5.14 (unaffected · semver)5.15.169 through 5.15.* (unaffected · semver)6.1.113 through 6.1.* (unaffected · semver)6.6.57 through 6.6.* (unaffected · semver)6.11.4 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

6

Provider assertions

3

Linux · cna

secretmem: disable memfd_secret() if arch cannot set direct map

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
2f5046900de8d948d9d643360b92051d26904caf152fc9d586c631169457a02b
Ingested
23 Sep 2026, 08:29:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected