CVE-2026-99776: net/9p/usbg: clear stale client pointer on close

Published Nov 20, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net/9p/usbg: clear stale client pointer on close

p9usbgclose() tears down the client transport, but usb9pfs keeps using usb9pfs->client from asynchronous TX and RX completion handlers. A late completion can therefore dereference a client that has already been freed during mount teardown.

Clear usb9pfs->client under usb9pfs->lock when closing the transport, detach any pending TX request from inreq->context, and make the TX/RX completion handlers bail out once the transport has been detached. This keeps late completions from touching a freed or rebound p9client.

Affected Software

6 affected componentsFixes available
linux/kernel>=6.12.0<6.12.118
6.12.118
linux/kernel>=6.13.0<6.18.64
6.18.64
linux/kernel>=6.19.0<7.3.5
7.3.5
debian/linux*
debian/linux*
debian/linux<=6.12.107-1, <=6.12.117-1, <=7.3.4-1
6.1.176-16.1.192-27.3.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.118
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.64
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.5
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 7.3.5-1
  5. Compensating control

    In p9_usbg_close(), clear usb9pfs->client under usb9pfs->lock, detach any pending TX request from in_req->context, and make TX/RX completion handlers bail out after the transport is detached.

Event History

Nov 20, 2026
CVE Published
via MITRE·05:51 AM
Data Sourced
via MITRE·05:51 AM
Description
Data Sourced
via OSV·05:51 AM
DescriptionAffected Software
Data Sourced
via NVD·06:18 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel's net/9p/usbg transport are exposed when that transport is torn down while asynchronous USB 9p TX or RX completions can still occur. The issue is associated with mount teardown and late completion handling.

2

What condition triggers the vulnerable use-after-free?

A client transport must be closed and its p9_client freed while an asynchronous TX or RX completion handler still accesses usb9pfs->client. A late completion can then dereference the freed or rebound client pointer.

3

How can this be mitigated if the fix cannot be applied immediately?

The provided information does not identify a configuration workaround. Reducing or avoiding use of the net/9p/usbg transport and avoiding its mount teardown path would avoid the described condition.

4

How can I determine whether a system has the fix?

Check whether the kernel includes a change that clears usb9pfs->client under usb9pfs->lock during close, detaches pending TX requests from in_req->context, and makes TX/RX completion handlers stop after transport detachment. The listed stable references identify commits containing the resolution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203