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-2026-99923

published

mm/memfd: fix hugetlb reservation accounting in error paths

Published
30 Nov 2026, 13:18:19 UTC
Updated
30 Nov 2026, 13:18:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux717cf9357325055ab6b41c4e0581f4d67601eb58 to < ef619ce17a4a0f5f85649ced1ce96fe53737e4f3 · 717cf9357325055ab6b41c4e0581f4d67601eb58 to < 90f2f099e69bfb341c714751369c36cf3a420f6c · 717cf9357325055ab6b41c4e0581f4d67601eb58 to < 50ee565c1e900e247e439e4139839b060c968343 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux

Description

In the Linux kernel, the following vulnerability has been resolved: mm/memfd: fix hugetlb reservation accounting in error paths If hugetlb_add_to_page_cache() in memfd_alloc_folio() fails with -EEXIST, a concurrent fault has already instantiated the folio in the page cache, and the reservation now belongs to that folio. Calling hugetlb_unreserve_pages() in that case incorrectly removes the region backing the cached folio and releases one reservation more than it should, leaving that folio in the page cache with no region recording it. That leaves resv_huge_pages one page short until that folio is removed from the page cache, so available_huge_pages() reports a page that is not actually free and the pool can grant one reservation more than it can back. Applications using hugetlb memfds can then fail to allocate or fault in a page they already reserved. They see -ENOMEM or -ENOSPC from the allocation or fault path even though the reservation and HugePages_Free still look healthy. So hold the hugetlb fault mutex from hugetlb_reserve_pages() until the error-path unreserve completes to make the reserve, allocate and instantiate steps atomic against concurrent faults. With the mutex held from the start, a concurrent fault can no longer consume the reservation between reserve and allocate/instantiate. If a fault completed before the mutex was taken, it has already added the region for that index, so hugetlb_reserve_pages() returns 0 and the error path leaves the region in place.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 717cf9357325055ab6b41c4e0581f4d67601eb58 to < ef619ce17a4a0f5f85649ced1ce96fe53737e4f3 (affected · git)717cf9357325055ab6b41c4e0581f4d67601eb58 to < 90f2f099e69bfb341c714751369c36cf3a420f6c (affected · git)717cf9357325055ab6b41c4e0581f4d67601eb58 to < 50ee565c1e900e247e439e4139839b060c968343 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.17 (affected)0 to < 6.17 (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

mm/memfd: fix hugetlb reservation accounting in error paths

Provenance

Schema
5.2
Searchable
yes
Content hash
dc177d8046dd4485817032375f8dc342c9326aac18f193f23f809164285f6729
Ingested
30 Nov 2026, 13:30:07 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