CVE-2026-99777
net/9p/usbg: remove bogus context initialization in alloc_requests
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 3bd662cdf7d18d12be2c6010fe4049b02763d8ec; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 591939db7cff9ca80a5a5deb2e3371b731817ac4; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < b3d262be54f5cfc5f75f7271e94d64a6315cd2f1; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < bbdb38b2e543ffa72dca5450f2535cf998ef1cdd
- Anyone running Linux 6.12
Vulnerability facts
- Affected
- Linux >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 3bd662cdf7d18d12be2c6010fe4049b02763d8ec; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 591939db7cff9ca80a5a5deb2e3371b731817ac4; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < b3d262be54f5cfc5f75f7271e94d64a6315cd2f1; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < bbdb38b2e543ffa72dca5450f2535cf998ef1cdd; Linux 6.12
- Fixed in
- Linux 3bd662cdf7d18d12be2c6010fe4049b02763d8ec, Linux 591939db7cff9ca80a5a5deb2e3371b731817ac4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 2, 2026-11-26)
- Modified
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 the same way but is never read by this transport (usb9pfs_rx_complete() identifies the instance via ep->driver_data instead), so it serves no purpose either. Both endpoints' ->driver_data are already set to usb9pfs in enable_endpoint(), which is what the completion handlers actually use to recover the f_usb9pfs instance. Just drop the leftover ->context assignments; usb_ep_alloc_request()/alloc_ep_req() already return zeroed requests, so in_req->context correctly starts out NULL.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 3bd662cdf7d18d12be2c6010fe4049b02763d8ec; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 591939db7cff9ca80a5a5deb2e3371b731817ac4; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < b3d262be54f5cfc5f75f7271e94d64a6315cd2f1; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < bbdb38b2e543ffa72dca5450f2535cf998ef1cdd | — | cvelist |
| Linux | 6.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99777. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99777.md Affected: Linux >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 3bd662cdf7d18d12be2c6010fe4049b02763d8ec; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 591939db7cff9ca80a5a5deb2e3371b731817ac4; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < b3d262be54f5cfc5f75f7271e94d64a6315cd2f1; >= a3be076dc174d9022a71a12… Fixed in: Linux 3bd662cdf7d18d12be2c6010fe4049b02763d8ec, Linux 591939db7cff9ca80a5a5deb2e3371b731817ac4 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-99777 being exploited?
There is no confirmed exploitation: CVE-2026-99777 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-99777?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99777?
Linux >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 3bd662cdf7d18d12be2c6010fe4049b02763d8ec; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < 591939db7cff9ca80a5a5deb2e3371b731817ac4; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < b3d262be54f5cfc5f75f7271e94d64a6315cd2f1; >= a3be076dc174d9022a71a12554feb4c97b5c4d5c, < bbdb38b2e543ffa72dca5450f2535cf998ef1cdd; Linux 6.12.
Is there a fix for CVE-2026-99777?
Yes. Fixed in Linux 3bd662cdf7d18d12be2c6010fe4049b02763d8ec, Linux 591939db7cff9ca80a5a5deb2e3371b731817ac4. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-99777?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | ||
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | ||
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | ||
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 |