net/9p/usbg: fix out_req buffer leak in disable_usb9pfs
Summary
| CVE | CVE-2026-99778 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-20 06:18:16 UTC |
| Updated | 2026-11-20 06:18:16 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
net/9p/usbg: fix out_req buffer leak in disable_usb9pfs
usb9pfs->out_req is allocated with alloc_ep_req(), which also
allocates the request's data buffer (req->buf). disable_usb9pfs()
frees it with plain usb_ep_free_request(), which only frees the
usb_request structure itself and leaks req->buf on every close.
Use free_ep_req() instead, matching the allocator, as documented by
its own comment ("Requests allocated via alloc_ep_req() *must* be
freed by free_ep_req()"). |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected a3be076dc174d9022a71a12554feb4c97b5c4d5c b941883db4f3ea5bf57bc8600f945f07b8ba2115 git |
Not specified |
| CNA |
Linux |
Linux |
affected a3be076dc174d9022a71a12554feb4c97b5c4d5c fbdc36c04927c08eb676a5db2120e986654ad17c git |
Not specified |
| CNA |
Linux |
Linux |
affected a3be076dc174d9022a71a12554feb4c97b5c4d5c 9ea2ffacee886707b8728c6b62d9e9650e2733ec git |
Not specified |
| CNA |
Linux |
Linux |
affected a3be076dc174d9022a71a12554feb4c97b5c4d5c 5f9807270c7bda8f86b312ed1a8acd7716600555 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.12 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.118 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.64 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.5 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc2 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/5f9807270c7bda8f86b312ed1a8acd7716600555 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/9ea2ffacee886707b8728c6b62d9e9650e2733ec |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/fbdc36c04927c08eb676a5db2120e986654ad17c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/b941883db4f3ea5bf57bc8600f945f07b8ba2115 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.