CVE-2026-63795
9p: avoid putting oldfid in p9_client_walk() error path
Check your servers for CVE-2026-63795
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-63795 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.61%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 50.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-416 Use After Free
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, before 99c379ca1e221c3d75c7c804ebbf4e5ee37a3070 affected from b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, before b84f46179c806450b89821221ea5bd9a1698aba8 affected from b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, before a61bdcba4f64c2f90d01461913f429ab151f1ca6 affected from b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, before 6dbe9443d9f5f7fb6d319a7b77108853ae6c6bea affected from b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, before a7656d368265d085ac9bb85ab31b0cdb72ad8c38 affected from b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, before 1a3860d46e3eb47dbd60339783cdad7904486b9f
Other versions: unaffected
|
| Linux |
affected 6.0 unaffected before 6.0 unaffected from 6.1.177 up to and including 6.1.* unaffected from 6.6.144 up to and including 6.6.* unaffected from 6.12.95 up to and including 6.12.* unaffected from 6.18.38 up to and including 6.18.* unaffected from 7.1.3 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-63795 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-63795
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-63795
trivy image --scanners vuln IMAGE | grep CVE-2026-63795
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/99c379ca1e221c3d75c7c804ebbf4e5ee37a3070 git.kernel.org
- https://git.kernel.org/stable/c/b84f46179c806450b89821221ea5bd9a1698aba8 git.kernel.org
- https://git.kernel.org/stable/c/a61bdcba4f64c2f90d01461913f429ab151f1ca6 git.kernel.org
- https://git.kernel.org/stable/c/6dbe9443d9f5f7fb6d319a7b77108853ae6c6bea git.kernel.org
- https://git.kernel.org/stable/c/a7656d368265d085ac9bb85ab31b0cdb72ad8c38 git.kernel.org
- https://git.kernel.org/stable/c/1a3860d46e3eb47dbd60339783cdad7904486b9f git.kernel.org
Source: the record CVE-2026-63795 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse