PT-2026-162755
CVE-2026-138895
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾