CVE Feed
0.0 Unscored

In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: Fix use-after-free on usb9pfscleartx When p9usbgclose() is…

CVE-2026-143395

In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: Fix use-after-free on usb9pfscleartx When p9usbgclose() is called, it invokes usb9pfscleartx() but does not clear usb9pfs->client nor usb9pfs->inreq->context afterwards. The 9p client core (p9clientdestroy) calls close() and then kfree(clnt), so after p9usbgclose returns the client struct is freed. If the USB gadget is later disabled (e.g., host disconnect), usb9pfsdisable calls usb9pfscleartx again, which passes the dangling usb9pfs->client pointer to p9clientcb. Inside p9clientcb, p9reqput(c, req) dereferences the freed client to access its reqs IDR, causing a use-after-free. Additionally, usb9pfscleartx does not clear usb9pfs->inreq->context after calling p9clientcb, so a second invocation finds a stale request pointer and attempts double-completion, further compounding the UAF risk. Fix by: 1. Clearing usb9pfs->inreq->context to NULL in usb9pfscleartx() before checking usb9pfs->client, so that even if the client is gone the stale request pointer is consumed and cannot cause double-completion. 2. Adding a NULL check on usb9pfs->client in usb9pfscleartx() to skip p9clientcb() when the client has…

Assessment

CVSS
0
Severity
Unscored
EPSS
0% chance of exploitation in the next 30 days
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
3 December 2026
Last updated
3 December 2026
Affected
Linux · Linux
Assigner
Linux

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-143395