CVE-2026-63795
9p: avoid putting oldfid in p9_client_walk() error path
Reported by linux · Published July 19, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 7.1.3, 6.18.38, 6.12.95, 6.6.144, 6.1.177 |
| Linux | Linux | a7656d368265d085ac9bb85ab31b0cdb72ad8c38, 1a3860d46e3eb47dbd60339783cdad7904486b9f |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, b48dbb998d70b7f48c2ec0a15c3cf47136808e4e |
| Linux | Linux | 6.0, 0, 6.1.177 |
| Linux | Linux | 7.2, 0, 6.1.177 |
| linux | linux_kernel | 6.0, 6.0, 6.0 |
Timeline
- Jul 19, 2026 CVE Published
- Jul 20, 2026 Security Advisory (31 in total, the first dated here)
- Aug 7, 2026 EPSS Score (30 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (30 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-63795
vulnetix vdb fixes CVE-2026-63795
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-63795/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart