CVE-2026-63795CWE-416

CVE-2026-63795

Critical · published July 19, 2026

CVSS v3.1
10.0
EPSS
1%
Percentile
42.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00504 · 42.2th percentile
Weakness
CWE-416 · Use After Free
Published
2026-07-19T16:16Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 6.0, < 6.1.1776.1.177
linux/linux_kernel≥ 6.2, < 6.6.1446.6.144
linux/linux_kernel≥ 6.7, < 6.12.956.12.95
linux/linux_kernel≥ 6.13, < 6.18.386.18.38
linux/linux_kernel≥ 6.19, < 7.1.37.1.3
References (6)
EPSS history
Timeline
  • 19 JUL 12:02Z
    9p: avoid putting oldfid in p9_client_walk() error path
    cvelistv5