Use After Free in Linux
CVE-2026-63795
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.
Vulnerability class: Use-After-Free
EPSS: 0.005 (41.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Linux — versions 6.18.38, 7.2-rc1, 7.2
- Linux Linux_kernel
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-63795?
- CVE-2026-63795 is a critical-severity vulnerability in Linux, classified under Use After Free. CVSS score: 10.0/10. Published 2026-07-19.
- How severe is CVE-2026-63795?
- Critical severity. CVSS v3 base score is 10.0 out of 10.