← VULNERABILITIES

DEBIAN-CVE-2026-99777

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-20
Age
13d old
Modified
2026-12-02
Product
Debian:13 linux

Description

In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: remove bogus context initialization in alloc_requests alloc_requests() initializes usb9pfs->in_req->context to point at the struct f_usb9pfs instance itself. usb9pfs_queue_tx() later overwrites this with the real struct p9_req_t pointer before every transmit, and usb9pfs_tx_complete() clears it back to NULL after each completion, so in_req->context only ever holds a valid p9_req_t once a request has actually been queued. usb9pfs_clear_tx(), however, can run at any time (mount close, gadget disable) independent of whether a request was ever queued. If it runs before the first usb9pfs_transmit(), it reads the leftover sentinel value, type-confuses the struct f_usb9pfs pointer as a struct p9_req_t, and both writes through it (req->t_err = -ECONNRESET) and hands it to p9_client_cb(), which manipulates req->wq and req->refcount at bogus offsets inside f_usb9pfs. This reliably corrupts memory or panics whenever the transport is torn down before any 9p request has been transmitted, e.g. mounting and immediately unmounting, or a cable disconnect racing the very first request. usb9pfs->out_req->context is set t

Fixed in

6.12.118-1 · 6.12.118-1~deb12u1 · 7.3.5-1

Affected packages

EcosystemPackageRangeFixed
Debian:12linux-6.12>=0, <6.12.118-1~deb12u16.12.118-1~deb12u1
Debian:13linux>=0, <6.12.118-16.12.118-1
Debian:14linux>=0, <7.3.5-17.3.5-1

Sources

  • OSV · first seen 12d ago · CC-BY 4.0

References

JSON