# mm/kasan: fix double free for kasan pXds

CVE record · `CVE-2026-31686`

- **Identifiers:** `CVE-2026-31686`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 Apr 2026
- **Updated:** 6 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 Apr 2026, 17:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `0207df4fa1a869281ddbf72db6203dbf036b3e1a to before 7d7b2d5c107a1f6302cf0006d859985e7c3ddd1c` (git)
  - affected: `0207df4fa1a869281ddbf72db6203dbf036b3e1a to before 3298bdf5a878ded06351eb293856fa84e050029e` (git)
  - affected: `0207df4fa1a869281ddbf72db6203dbf036b3e1a to before 2277246ea265cdca64ce6fdea4b26cd6ff0ec4db` (git)
  - affected: `0207df4fa1a869281ddbf72db6203dbf036b3e1a to before cec74b2ab7dff866b1d77eaa545b9e8fd14a1f87` (git)
  - affected: `0207df4fa1a869281ddbf72db6203dbf036b3e1a to before a05f77cb227c39c5069aea6f12762a29d1e6c103` (git)
  - affected: `0207df4fa1a869281ddbf72db6203dbf036b3e1a to before f6204f7ff6aff62ce6242a76982c5ba3a9ded707` (git)
  - affected: `0207df4fa1a869281ddbf72db6203dbf036b3e1a to before 85d98614e089a67dc6faa8ca766fe10a639f82b4` (git)
  - affected: `0207df4fa1a869281ddbf72db6203dbf036b3e1a to before b38237a2ea9c6c19836eee2c57037e1f9f103576` (git)
  - affected: `0207df4fa1a869281ddbf72db6203dbf036b3e1a to before 51d8c78be0c27ddb91bc2c0263941d8b30a47d3b` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.19`
  - unaffected: `before 4.19` (semver)
  - unaffected: `5.10.258 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.209 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.175 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.136 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.83 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.24 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.14 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0.1 to 7.0.*, inclusive` (semver)
  - unaffected: `7.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's KASAN page-table cleanup (mm/kasan) can double-free memory on some architectures, such as powerpc with 64K pages, when a PMEM device is unbound through sysfs. The source gives few details on the access an attacker would need. Affected kernels are 4.19 and later before the fixed versions. Upgrade to 5.10.258 or later, 5.15.209 or later, 6.1.175 or later, 6.6.136 or later, or a fixed mainline release.

Written 17 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0012, the 2nd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 Apr 2026, 17:30 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-31686)
- 27 Apr 2026, 18:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31686)

## Sources

- [CVE List: CVE-2026-31686](https://www.cve.org/CVERecord?id=CVE-2026-31686)
- [NVD: CVE-2026-31686](https://nvd.nist.gov/vuln/detail/CVE-2026-31686)

### References from the CNA

- <https://git.kernel.org/stable/c/7d7b2d5c107a1f6302cf0006d859985e7c3ddd1c>
- <https://git.kernel.org/stable/c/3298bdf5a878ded06351eb293856fa84e050029e>
- <https://git.kernel.org/stable/c/2277246ea265cdca64ce6fdea4b26cd6ff0ec4db>
- <https://git.kernel.org/stable/c/cec74b2ab7dff866b1d77eaa545b9e8fd14a1f87>
- <https://git.kernel.org/stable/c/a05f77cb227c39c5069aea6f12762a29d1e6c103>
- <https://git.kernel.org/stable/c/f6204f7ff6aff62ce6242a76982c5ba3a9ded707>
- <https://git.kernel.org/stable/c/85d98614e089a67dc6faa8ca766fe10a639f82b4>
- <https://git.kernel.org/stable/c/b38237a2ea9c6c19836eee2c57037e1f9f103576>
- <https://git.kernel.org/stable/c/51d8c78be0c27ddb91bc2c0263941d8b30a47d3b>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-31686>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-31686/>. Everything for agents: <https://agentprime.io/llms.txt>.
