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

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

- **Severity:** CRITICAL 10.0
- **CVSS:** 10.0 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.70% (percentile 49, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2026-07-19T12:02:04.069Z
- **Modified:** 2026-10-19T20:19:19.950Z

## Who should check

- Anyone running Linux \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< 99c379ca1e221c3d75c7c804ebbf4e5ee37a3070; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< b84f46179c806450b89821221ea5bd9a1698aba8; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< a61bdcba4f64c2f90d01461913f429ab151f1ca6; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< 6dbe9443d9f5f7fb6d319a7b77108853ae6c6bea; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< a7656d368265d085ac9bb85ab31b0cdb72ad8c38; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< 1a3860d46e3eb47dbd60339783cdad7904486b9f
- Anyone running Linux 6.0

## Description

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.

## Affected and fixed versions

- Linux: \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< 99c379ca1e221c3d75c7c804ebbf4e5ee37a3070; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< b84f46179c806450b89821221ea5bd9a1698aba8; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< a61bdcba4f64c2f90d01461913f429ab151f1ca6; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< 6dbe9443d9f5f7fb6d319a7b77108853ae6c6bea; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< a7656d368265d085ac9bb85ab31b0cdb72ad8c38; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< 1a3860d46e3eb47dbd60339783cdad7904486b9f (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 1a3860d46e3eb47dbd60339783cdad7904486b9f 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-63795. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63795.md
Affected: Linux >= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, < 99c379ca1e221c3d75c7c804ebbf4e5ee37a3070; >= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, < b84f46179c806450b89821221ea5bd9a1698aba8; >= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, < a61bdcba4f64c2f90d01461913f429ab151f1ca6; >= b48dbb998d70b7f48c2ec0a…
Fixed in: Linux 99c379ca1e221c3d75c7c804ebbf4e5ee37a3070, Linux 6dbe9443d9f5f7fb6d319a7b77108853ae6c6bea, Linux 1a3860d46e3eb47dbd60339783cdad7904486b9f

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-63795 being exploited?

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

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

Critical: CVSS 10.0 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< 99c379ca1e221c3d75c7c804ebbf4e5ee37a3070; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< b84f46179c806450b89821221ea5bd9a1698aba8; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< a61bdcba4f64c2f90d01461913f429ab151f1ca6; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< 6dbe9443d9f5f7fb6d319a7b77108853ae6c6bea; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< a7656d368265d085ac9bb85ab31b0cdb72ad8c38; \>= b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, \< 1a3860d46e3eb47dbd60339783cdad7904486b9f; Linux 6.0.

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

Yes. Fixed in Linux 99c379ca1e221c3d75c7c804ebbf4e5ee37a3070, Linux 6dbe9443d9f5f7fb6d319a7b77108853ae6c6bea, Linux 1a3860d46e3eb47dbd60339783cdad7904486b9f. Upgrade Linux to 1a3860d46e3eb47dbd60339783cdad7904486b9f or later.

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

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/99c379ca1e221c3d75c7c804ebbf4e5ee37a3070>
- patch: <https://git.kernel.org/stable/c/b84f46179c806450b89821221ea5bd9a1698aba8>
- patch: <https://git.kernel.org/stable/c/a61bdcba4f64c2f90d01461913f429ab151f1ca6>
- patch: <https://git.kernel.org/stable/c/6dbe9443d9f5f7fb6d319a7b77108853ae6c6bea>
- patch: <https://git.kernel.org/stable/c/a7656d368265d085ac9bb85ab31b0cdb72ad8c38>
- patch: <https://git.kernel.org/stable/c/1a3860d46e3eb47dbd60339783cdad7904486b9f>

## 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-63795>

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