CVE-2026-138895

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-138896In the Linux kernel, the following vulnerability has been resolved: mm: hugetlb: return -ENOSPC on memcg charge failure Patch series "Fix CVE-2026-138897In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: handle extreme memory state in damon_get_node_mem_bp() CVE-2026-138898In the Linux kernel, the following vulnerability has been resolved: mm/madvise: skip zone device folios in cold/pageout PMD range madvise_CVE-2026-138899In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: skip zone device folios in madvise_free_huge_pmd() PatCVE-2026-13894.3The Document Embedder – Embed PDFs, Word, Excel, and Other Files plugin for WordPress is vulnerable to Insecure Direct Object Reference in aCVE-2026-138905.3Out of bounds read in Chromecast in Google Chrome prior to 150.0.7871.47 allowed a remote attacker who had compromised the renderer process CVE-2026-138900In the Linux kernel, the following vulnerability has been resolved: mm/mempolicy: take a cpuset cookie for the interleave node count allocCVE-2026-138901In the Linux kernel, the following vulnerability has been resolved: PCI/DOE: Fix double free of a duplicate feature's sysfs name When a DOCVE-2026-138902In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: rt5682s: disable jack detection work on shutdown The jacCVE-2026-138903In the Linux kernel, the following vulnerability has been resolved: spi: atmel-quadspi: balance runtime PM and pclk across system sleep OnCVE-2026-138904In the Linux kernel, the following vulnerability has been resolved: media: hantro: disable runtime PM before hardware teardown Removing thCVE-2026-1389057.8In the Linux kernel, the following vulnerability has been resolved: media: vicodec: fix NULL deref on oversized frame job_ready() only hon
CVE-2026-138895: Unscored | Vulnix