CVE-2026-99782: net/9p/usbg: also disable endpoints on p9_usbg_close
In the Linux kernel, the following vulnerability has been resolved:
net/9p/usbg: also disable endpoints on p9usbgclose
The close function has to fully reverse the state change of 9pcreate (mount) and the potential call of setalt(1). This includes to ensure that the usage of the endpoints is not active any more.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.118 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.64 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.5 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 7.3.5-1 - Compensating control
In net/9p/usbg, disable the endpoints in p9_usbg_close so the close function fully reverses the state change made by 9p_create.
Event History
Frequently Asked Questions
What condition is associated with exposure to this issue?
The issue concerns the Linux kernel's net/9p/usbg component when its close path follows state changes made during 9p_create (mount) and a possible set_alt(1) call. The affected condition is that endpoint usage may remain active after close.
What should be checked after closing a 9p USB gadget connection?
Verify that the close operation fully reverses the state established by mount and any alternate-setting activation, including disabling endpoint usage. The supplied resolution specifically adds endpoint disabling to p9_usbg_close.
What can be concluded about fixed kernel versions from the available information?
No fixed version numbers are provided. The listed stable kernel commit references can be used to determine whether the relevant fix has been incorporated into a particular kernel source tree.