# CVE-2026-23195: cgroup/dmem: avoid pool UAF

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2026-02-14T16:27:21.621Z
- **Modified:** 2026-08-05T12:20:36.969Z

## Who should check

- Anyone running Linux \>= b168ed458ddecc176f3b9a1f4bcd83d7a4541c14, \< d3081353acaa6a638dcf75726066ea556a2de8d5; \>= b168ed458ddecc176f3b9a1f4bcd83d7a4541c14, \< 99a2ef500906138ba58093b9893972a5c303c734
- Anyone running Linux 6.14

## Description

In the Linux kernel, the following vulnerability has been resolved:

cgroup/dmem: avoid pool UAF

An UAF issue was observed:

BUG: KASAN: slab-use-after-free in page\_counter\_uncharge+0x65/0x150
Write of size 8 at addr ffff888106715440 by task insmod/527

CPU: 4 UID: 0 PID: 527 Comm: insmod    6.19.0-rc7-next-20260129+ \#11
Tainted: \[O\]=OOT\_MODULE
Call Trace:
\<TASK\>
dump\_stack\_lvl+0x82/0xd0
kasan\_report+0xca/0x100
kasan\_check\_range+0x39/0x1c0
page\_counter\_uncharge+0x65/0x150
dmem\_cgroup\_uncharge+0x1f/0x260

Allocated by task 527:

Freed by task 0:

The buggy address belongs to the object at ffff888106715400
which belongs to the cache kmalloc-512 of size 512
The buggy address is located 64 bytes inside of
freed 512-byte region \[ffff888106715400, ffff888106715600)

The buggy address belongs to the physical page:

Memory state around the buggy address:
ffff888106715300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff888106715380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
\>ffff888106715400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
				     ^
ffff888106715480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888106715500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb

The issue occurs because a pool can still be held by a caller after its
associated memory region is unregistered. The current implementation frees
the pool even if users still hold references to it (e.g., before uncharge
operations complete).

This patch adds a reference counter to each pool, ensuring that a pool is
only freed when its reference count drops to zero.

## Affected and fixed versions

- Linux: \>= b168ed458ddecc176f3b9a1f4bcd83d7a4541c14, \< d3081353acaa6a638dcf75726066ea556a2de8d5; \>= b168ed458ddecc176f3b9a1f4bcd83d7a4541c14, \< 99a2ef500906138ba58093b9893972a5c303c734 (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- Upgrade Linux to 99a2ef500906138ba58093b9893972a5c303c734 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23195. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23195.md
Affected: Linux >= b168ed458ddecc176f3b9a1f4bcd83d7a4541c14, < d3081353acaa6a638dcf75726066ea556a2de8d5; >= b168ed458ddecc176f3b9a1f4bcd83d7a4541c14, < 99a2ef500906138ba58093b9893972a5c303c734; Linux 6.14
Fixed in: Linux 99a2ef500906138ba58093b9893972a5c303c734

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23195 being exploited?

There is no confirmed exploitation: CVE-2026-23195 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-23195?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-23195?

Linux \>= b168ed458ddecc176f3b9a1f4bcd83d7a4541c14, \< d3081353acaa6a638dcf75726066ea556a2de8d5; \>= b168ed458ddecc176f3b9a1f4bcd83d7a4541c14, \< 99a2ef500906138ba58093b9893972a5c303c734; Linux 6.14.

### Is there a fix for CVE-2026-23195?

Yes. Fixed in Linux 99a2ef500906138ba58093b9893972a5c303c734. Upgrade Linux to 99a2ef500906138ba58093b9893972a5c303c734 or later.

### How do I check if I'm affected by CVE-2026-23195?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/d3081353acaa6a638dcf75726066ea556a2de8d5>
- patch: <https://git.kernel.org/stable/c/99a2ef500906138ba58093b9893972a5c303c734>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23195>

HTML: <https://flawdb.com/CVE-2026-23195> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23195>
