# CVE-2026-63795: 9p: avoid putting oldfid in p9\_client\_walk() error path

- Priority: **Prioritise**
- Reason: Severe, CVSS 10 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-07-19 · Modified: 2026-10-19
- Aliases: UBUNTU-CVE-2026-63795, DEBIAN-CVE-2026-63795
- Record: https://cvemate.com/vulnerability/CVE-2026-63795 · JSON: https://cvemate.com/vulnerability/CVE-2026-63795/json

## Description

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

9p: avoid putting oldfid in p9_client_walk() error path

When p9_client_walk() is called with clone set to false, fid aliases
oldfid. If the walk subsequently fails after the request has been sent,
the error path jumps to clunk_fid, which currently calls p9_fid_put(fid)
unconditionally.

This drops a reference to oldfid even though ownership of oldfid remains
with the caller. If this is the last reference, oldfid can be clunked and
destroyed while the caller still expects it to be valid. A later use or
put of oldfid can then trigger a use-after-free or refcount underflow.

Fix this by only putting fid in the clunk_fid error path when it does not
alias oldfid, matching the existing guard in the error path below.

This can be triggered when a multi-component walk is split into multiple
p9_client_walk() calls and a later non-cloning walk fails. A reproducer
and refcount warning logs are available on request.
```

## Signals

- CVSS: 10 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS: 0.615%, percentile 50.92%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 145)

- debian linux (Debian): \< 6.1.177-1 \| \< 6.12.95-1 \| \< 7.1.3-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-147.147 \| \< 7.0.0-31.31
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1067.70 \| \< 7.0.0-1012.12
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1069.74~22.04.1
- ubuntu linux-aws-7.0 (Ubuntu): \< 7.0.0-1012.12~24.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1067.70+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 6.8.0-1071.79 \| \< 7.0.0-1014.14
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 31)

- <https://git.kernel.org/stable/c/99c379ca1e221c3d75c7c804ebbf4e5ee37a3070>
- <https://git.kernel.org/stable/c/b84f46179c806450b89821221ea5bd9a1698aba8>
- <https://git.kernel.org/stable/c/a61bdcba4f64c2f90d01461913f429ab151f1ca6>
- <https://git.kernel.org/stable/c/6dbe9443d9f5f7fb6d319a7b77108853ae6c6bea>
- <https://git.kernel.org/stable/c/a7656d368265d085ac9bb85ab31b0cdb72ad8c38>
- <https://git.kernel.org/stable/c/1a3860d46e3eb47dbd60339783cdad7904486b9f>
- <https://ubuntu.com/security/CVE-2026-63795>
- <https://www.cve.org/CVERecord?id=CVE-2026-63795>
- <https://git.kernel.org/linus/1a3860d46e3eb47dbd60339783cdad7904486b9f>
- <https://ubuntu.com/security/notices/USN-8726-1>
- <https://ubuntu.com/security/notices/USN-8727-1>
- <https://ubuntu.com/security/notices/USN-8728-1>
- <https://ubuntu.com/security/notices/USN-8760-1>
- <https://ubuntu.com/security/notices/USN-8781-1>
- <https://ubuntu.com/security/notices/USN-8726-2>
- <https://ubuntu.com/security/notices/USN-8726-3>
- <https://ubuntu.com/security/notices/USN-8800-1>
- <https://ubuntu.com/security/notices/USN-8760-2>
- <https://ubuntu.com/security/notices/USN-8728-2>
- <https://ubuntu.com/security/notices/USN-8726-4>

---

Data as of 2026-12-05T06:42:43.703Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
