Linux kernel: 9p: avoid putting oldfid in p9_client_walk() error path
Overview
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.
- Published
- 7/19/2026
- Last modified
- 10/19/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 6.0, < 6.1.177 | Verify advisory | Source |
linux kernel linux | ≥ 6.2, < 6.6.144 | Verify advisory | Source |
linux kernel linux | ≥ 6.7, < 6.12.95 | Verify advisory | Source |
linux kernel linux | ≥ 6.13, < 6.18.38 | Verify advisory | Source |
linux kernel linux | ≥ 6.19, < 7.1.3 | Verify advisory | Source |
Linux Linux | ≥ b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, < 99c379ca1e221c3d75c7c804ebbf4e5ee37a3070 | Verify advisory | Source |
Linux Linux | ≥ b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, < b84f46179c806450b89821221ea5bd9a1698aba8 | Verify advisory | Source |
Linux Linux | ≥ b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, < a61bdcba4f64c2f90d01461913f429ab151f1ca6 | Verify advisory | Source |
Linux Linux | ≥ b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, < 6dbe9443d9f5f7fb6d319a7b77108853ae6c6bea | Verify advisory | Source |
Linux Linux | ≥ b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, < a7656d368265d085ac9bb85ab31b0cdb72ad8c38 | Verify advisory | Source |
Linux Linux | ≥ b48dbb998d70b7f48c2ec0a15c3cf47136808e4e, < 1a3860d46e3eb47dbd60339783cdad7904486b9f | Verify advisory | Source |
Linux Linux | 6.0 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 10. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.