CVE-2026-72213
kernel: mm/hugetlb: fix hugetlb cgroup rsvd charge/uncharge mismatch
Overview
Description
In the Linux kernel, the following vulnerability has been resolved:
mm/hugetlb: fix hugetlb cgroup rsvd charge/uncharge mismatch
In alloc_hugetlb_folio(), a single h_cg pointer is used for both the rsvd
and non-rsvd hugetlb cgroup charges. When map_chg is set,
hugetlb_cgroup_charge_cgroup_rsvd() stores the charged cgroup in h_cg, but
the immediately following hugetlb_cgroup_charge_cgroup() overwrites h_cg
with the non-rsvd cgroup pointer.
As a result, hugetlb_cgroup_commit_charge_rsvd() stores the wrong
(non-rsvd) cgroup pointer into the folio's rsvd slot.
When the folio is later freed, free_huge_folio() unconditionally calls
both hugetlb_cgroup_uncharge_folio() and
hugetlb_cgroup_uncharge_folio_rsvd(). The rsvd uncharge reads back the
wrong cgroup from the folio and decrements a counter that was never
charged for that cgroup, causing a page_counter underflow:
page_counter underflow: -512 nr_pages=512
WARNING: mm/page_counter.c:61 at page_counter_cancel
Fix this by introducing a separate h_cg_rsvd pointer exclusively for the
rsvd charge path, keeping the rsvd and non-rsvd charges fully independent
through their charge, commit, and error uncharge paths.
Source: OX vulnerability database
Severity
7.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 79 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | kernel-uek +34 | 6.12.0-207.111.5.1.el9uek |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | bpftool +10 | 6.12.103-1.ph5 |
Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | bpftool +45 | affected |
| 9 | bpftool +106 | affected |
SUSE Linux Enterprise 3 releases · 8 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.7 | kernel-livepatch-6-4-0-150700-7-81-rt | 1-150700.1.3.1 | SUSE-SU-2026:4940-1 |
| 15.7 | kernel-livepatch-6-4-0-150700-53-87-default | 1-150700.15.3.2 | SUSE-SU-2026:4935-1 |
| 15.7 | kernel-syms | 6.4.0-150700.53.87.1 | SUSE-SU-2026:4935-1 |
| 15.7 | kernel-obs-build | 6.4.0-150700.53.87.2 | SUSE-SU-2026:4935-1 |
| 15.7 | cluster-md-kmp-default +18 | 6.4.0-150700.53.87.3 | SUSE-SU-2026:4935-1 |
| 15.7 | kernel-default-base | 6.4.0-150700.53.87.3.150700.17.49.2 | SUSE-SU-2026:4935-1 |
4 more rows
SUSE Linux Enterprise Micro 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | kernel-default +5 | 6.4.0-159998.54.1 | SUSE-SU-2026:24371-1 |
| 6.0 | kernel-devel-rt +3 | 6.4.0-159998.54.1 | SUSE-SU-2026:24473-1 |
| 6.0 | kernel-default-base | 6.4.0-159998.54.1.159998.21.40 | SUSE-SU-2026:24371-1 |
| 6.1 | kernel-default +6 | 6.4.0-159998.54.1 | SUSE-SU-2026:24379-1 |
| 6.1 | kernel-devel-rt +4 | 6.4.0-159998.54.1 | SUSE-SU-2026:24553-1 |
| 6.1 | kernel-default-base | 6.4.0-159998.54.1.159998.21.39 | SUSE-SU-2026:24379-1 |
2 more rows
amazon linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-12-103-127-188 +1 | 1:1.0-0.amzn2023 |
| 2023 | bpftool6-12 +16 | 1:6.12.103-127.188.amzn2023 |
| 2023 | bpftool6-18 +17 | 1:6.18.41-94.142.amzn2023 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | affected |
| 12 | linux | 6.1.192-1 |
| 12 | linux-6-12 | 6.12.101-1~deb12u1 |
| 13 | linux | 6.12.101-1 |
| 14 | linux | 7.1.5-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 |
openSUSE Leap 2 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | cluster-md-kmp-64kb +74 | 6.12.0-160000.40.1 | openSUSE-SU-2026:22167-1 |
| 16.0 | kernel-default-base | 6.12.0-160000.40.1.160000.2.29 | openSUSE-SU-2026:22167-1 |
| 16.1 | cluster-md-kmp-nvidia64kb +11 | 6.12.0-160100.6.1 | openSUSE-SU-2026:22313-1 |
| 16.1 | cluster-md-kmp-64kb +74 | 6.12.0-160100.9.1 | openSUSE-SU-2026:22309-1 |
| 16.1 | kernel-default-base | 6.12.0-160100.9.1.160100.3.14 | openSUSE-SU-2026:22309-1 |
ubuntu 4 releases · 34 packages
| Release | Package | Fixed in |
|---|---|---|
| 20.04-ESM | linux-aws-5-15 +10 | affected |
| 22.04 | linux +17 | affected |
| 22.04 | linux-oracle-6-8 | 6.8.0-1067.71~22.04.1 |
| 22.04 | linux-ibm-6-8 | 6.8.0-1069.70~22.04.1 |
| 22.04 | linux-aws-6-8 | 6.8.0-1069.74~22.04.1 |
| 22.04 | linux-azure-fde-6-8 | 6.8.0-1071.78~22.04.1 |
37 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-72213
- git.kernel.org https://git.kernel.org/linus/15807d0ddde37407af72859426b654f3d1972b00 (7.2-rc1)
- git.kernel.org https://git.kernel.org/stable/c/043c509f2488033c68c46d2de2af082fcd568612
- git.kernel.org https://git.kernel.org/stable/c/15807d0ddde37407af72859426b654f3d1972b00
- git.kernel.org https://git.kernel.org/stable/c/1697d253f51cf5e3825a3423ff49e128a3502ab2
- git.kernel.org https://git.kernel.org/stable/c/5c32ae4a91fb5f4941328e0c1720a7fa4189c3bd
- git.kernel.org https://git.kernel.org/stable/c/b785f2bd9496facedc0a031be09cddcd1d3c84d3
- git.kernel.org https://git.kernel.org/stable/c/f8dfdf725bccb0ae41eead2f6da8183727218855
- kernelcve.org https://kernelcve.org/list/?q=CVE-2026-72213
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-72213.html
Show all 31 references
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-500374.html
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2026081546-CVE-2026-72213-712e@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-72213
- ubuntu.com https://ubuntu.com/security/notices/USN-8886-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8887-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8888-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8888-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8889-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8917-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8918-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9003-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9021-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9024-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9025-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9026-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9040-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9043-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9066-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-72213
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.