Skip to main content
VulnerabilityPublished

CVE-2026-138896: Linux kernel · mm: hugetlb: return -ENOSPC on memcg charge failure

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-138896· Medium

Not known to be exploited · fixed in fb4752249623c6ac966a1a94a3f25456c0dfeea0 : update Linux kernel when convenient.

Data as of 30 Nov 2026, 17:16 UTC

Severity
Medium

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in fb4752249623c6ac966a1a94a3f25456c0dfeea0, 956aeff185e7e16b989202bde0bb29859adba99d, 11afc840288ab10a95b41ce5e298ce415fef0204

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade Linux kernel to fb4752249623c6ac966a1a94a3f25456c0dfeea0, 956aeff185e7e16b989202bde0bb29859adba99d or 11afc840288ab10a95b41ce5e298ce415fef0204.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 991135774c0e05a4734e6d32aa03b00355e4cac9, < fb4752249623c6ac966a1a94a3f25456c0dfeea0
Fixed in
  • fb4752249623c6ac966a1a94a3f25456c0dfeea0
LinuxLinuxAffected
  • ≥ 991135774c0e05a4734e6d32aa03b00355e4cac9, < 956aeff185e7e16b989202bde0bb29859adba99d
Fixed in
  • 956aeff185e7e16b989202bde0bb29859adba99d
LinuxLinuxAffected
  • ≥ 991135774c0e05a4734e6d32aa03b00355e4cac9, < 11afc840288ab10a95b41ce5e298ce415fef0204
Fixed in
  • 11afc840288ab10a95b41ce5e298ce415fef0204
LinuxLinuxAffected
  • =6.14
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: mm: hugetlb: return -ENOSPC on memcg charge failure Patch series "Fix bugs in HugeTLB allocation when mem_cgroup_charge_hugetlb() fails", v2. In hugetlb_alloc_folio(), when mem_cgroup_charge_hugetlb() fails, there are 2 issues: 1. free_huge_folio() expects a non-refcounted folio and will VM_BUG_ON_FOLIO(). 2. -ENOMEM is returned, causing an infinite loop retrying the fault. This patch (of 2): When mem_cgroup_charge_hugetlb() fails with -ENOMEM, alloc_hugetlb_folio() currently propagates this error. This results in the page fault handler returning VM_FAULT_OOM. Because HugeTLB allocations are high-order and use __GFP_RETRY_MAYFAIL, they bypass the OOM killer. Returning VM_FAULT_OOM to the #PF handler without triggering the OOM killer (or having it make progress) leads to an infinite loop of retrying the fault. Avoid this loop by returning -ENOSPC when charging fails, which maps to VM_FAULT_SIGBUS, terminating the process cleanly. Make mem_cgroup_charge_hugetlb() fault handling use a common error handling path, the same handling used for hugetlb_cgroup_uncharge_cgroup{,_rsvd}(), which also don't trigger the OOM killer and hence opt to terminate the process with a SIGBUS.

References

Community reviews

Loading reviews…