CVE Tools

CVE-2026-143395

net/9p/usbg: Fix use-after-free on usb9pfs_clear_tx

CVE-2026-143395 affects Linux.

No known exploitation. No EPSS score yet. Fixed versions are out.

Check it yourself

No ready-made check. Neither Nuclei nor OpenVAS has one for this CVE yet.

Request a scan

Published Updated Sources: CVE.org, NVD

What to do

Find your product and version, then upgrade to the build on the right.

  • LinuxAffected: ≥ a3be076dc174d9022a71a12554feb4c97b5c4d5c, < e9c79d83affb05663925d81c83e334bf8d230191Upgrade to: e9c79d83affb05663925d81c83e334bf8d230191Affected: ≥ a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 6c7901b8667af551f5efe90d67a6f3f6add0c27bUpgrade to: 6c7901b8667af551f5efe90d67a6f3f6add0c27bAffected: ≥ a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 840ae53432e569266879dddcaf06993ec2276ec8Upgrade to: 840ae53432e569266879dddcaf06993ec2276ec8Affected: ≥ a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 5c69297356bf6d04d8222f52717c6c4aa73e5d2cUpgrade to: 5c69297356bf6d04d8222f52717c6c4aa73e5d2cStated by: CVE record

Versions as the sources state them. Full version matrix after sign-in

What it is

From the CVE record

In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: Fix use-after-free on usb9pfs_clear_tx When p9_usbg_close() is called, it invokes usb9pfs_clear_tx() but does not clear usb9pfs->client nor usb9pfs->in_req->context afterwards. The 9p client core (p9_client_destroy) calls close() and then kfree(clnt), so after p9_usbg_close returns the client struct is freed. If the USB gadget is later disabled (e.g., host disconnect), usb9pfs_disable calls usb9pfs_clear_tx again, which passes the dangling usb9pfs->client pointer to p9_client_cb. Inside p9_client_cb, p9_req_put(c, req) dereferences the freed client to access its reqs IDR, causing a use-after-free. Additionally, usb9pfs_clear_tx does not clear usb9pfs->in_req->context after calling p9_client_cb, so a second invocation finds a stale request pointer and attempts double-completion, further compounding the UAF risk. Fix by: 1. Clearing usb9pfs->in_req->context to NULL in usb9pfs_clear_tx() 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 usb9pfs_clear_tx() to skip p9_client_cb() when the client has already been destroyed. 3. Setting usb9pfs->client = NULL in p9_usbg_close() after calling usb9pfs_clear_tx(), to prevent any subsequent call from dereferencing the freed client pointer.

In plain language

No plain-language summary for this CVE yet.

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

No EPSS score yet. New CVEs are usually scored within a few days.

Lifecycle

2 events over 0 days, from the signal feeds we watch.

  1. Publishedrecord updated

Affected products

Sources

Questions about CVE-2026-143395

Which versions are affected by CVE-2026-143395?
Linux: ≥ a3be076dc174d9022a71a12554feb4c97b5c4d5c, < e9c79d83affb05663925d81c83e334bf8d230191; ≥ a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 6c7901b8667af551f5efe90d67a6f3f6add0c27b; ≥ a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 840ae53432e569266879dddcaf06993ec2276ec8.
How do I fix or mitigate CVE-2026-143395?
Upgrade to a fixed build for your product branch: e9c79d83affb05663925d81c83e334bf8d230191, 6c7901b8667af551f5efe90d67a6f3f6add0c27b, 840ae53432e569266879dddcaf06993ec2276ec8, 5c69297356bf6d04d8222f52717c6c4aa73e5d2c.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Linux, not every advisory.