CVE-2026-99923
Last modified
CVE-2026-99923 is a vulnerability of currently unknown severity. 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.
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.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 717cf9357325055ab6b41c4e0581f4d67601eb58, < ef619ce17a4a0f5f85649ced1ce96fe53737e4f3; >= 717cf9357325055ab6b41c4e0581f4d67601eb58, < 90f2f099e69bfb341c714751369c36cf3a420f6c; >= 717cf9357325055ab6b41c4e0581f4d67601eb58, < 50ee565c1e900e247e439e4139839b060c968343 |
| Linux | Linux | 6.17 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99923?
How severe is CVE-2026-99923?
How do I fix CVE-2026-99923?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99918In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99919In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9992Use after free in Network in Google Chrome prior to 148.0.77…8.8
- CVE-2026-99920In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99921In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99922In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99924In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99925In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99926In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99927In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99928In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99929In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99923?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
