Skip to main content
VulnerabilityPublished

CVE-2026-138895: Linux kernel · mm: hugetlb: drop refcount before freeing on memcg charge failure

Affects Linux kernelSource CVE Database V5

0
Compare

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

Data as of 30 Nov 2026, 13:46 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in eeb9425606f386f726b47ee323687ee02c7b34f8, e95d29c5df84f19881cd30b491fc81aa98f44b45, 3f87063217efc3b0198e49ec1a9b262ff81ac406

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 eeb9425606f386f726b47ee323687ee02c7b34f8, e95d29c5df84f19881cd30b491fc81aa98f44b45 or 3f87063217efc3b0198e49ec1a9b262ff81ac406.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 991135774c0e05a4734e6d32aa03b00355e4cac9, < eeb9425606f386f726b47ee323687ee02c7b34f8
Fixed in
  • eeb9425606f386f726b47ee323687ee02c7b34f8
LinuxLinuxAffected
  • ≥ 991135774c0e05a4734e6d32aa03b00355e4cac9, < e95d29c5df84f19881cd30b491fc81aa98f44b45
Fixed in
  • e95d29c5df84f19881cd30b491fc81aa98f44b45
LinuxLinuxAffected
  • ≥ 991135774c0e05a4734e6d32aa03b00355e4cac9, < 3f87063217efc3b0198e49ec1a9b262ff81ac406
Fixed in
  • 3f87063217efc3b0198e49ec1a9b262ff81ac406
LinuxLinuxAffected
  • =6.14
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: mm: hugetlb: drop refcount before freeing on memcg charge failure When mem_cgroup_charge_hugetlb(folio, gfp) returns -ENOMEM, the folio has its refcount set to 1 via folio_ref_unfreeze(folio, 1). The error path calls free_huge_folio(folio) directly, which expects a refcount of 0. Hence, VM_BUG_ON_FOLIO(folio_ref_count(folio), folio) is triggered. Even with CONFIG_DEBUG_VM disabled, returning a folio with refcount 1 to the freelist can corrupt allocator state later. Use folio_put(folio) instead of free_huge_folio(folio) to properly drop the reference before freeing it.

References

Community reviews

Loading reviews…