CVE-2026-89735
usb: gadget: midi2: remove default configfs groups on teardown
Mitigation
- Upgrade Linux to 0f6bffb5008f0cba9cad5ded2caccc64466a6e54 or later.
Who should check
- Anyone running Linux >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 79dbedf40ad930f83839e564394dc5d1a54938c6; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 4beda67ee72e0c8df5b49951dd8b96f6adb25e02; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < a15c2acd3083461f91725760e59dff88b33c28f6; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 9ea5dfb2bfef4f8a7e704d1921d8a790cb7fb700; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 0f6bffb5008f0cba9cad5ded2caccc64466a6e54
- Anyone running Linux 6.6
Vulnerability facts
- Affected
- Linux >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 79dbedf40ad930f83839e564394dc5d1a54938c6; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 4beda67ee72e0c8df5b49951dd8b96f6adb25e02; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < a15c2acd3083461f91725760e59dff88b33c28f6; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 9ea5dfb2bfef4f8a7e704d1921d8a790cb7fb700; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 0f6bffb5008f0cba9cad5ded2caccc64466a6e54; Linux 6.6
- Fixed in
- Linux 79dbedf40ad930f83839e564394dc5d1a54938c6, Linux 4beda67ee72e0c8df5b49951dd8b96f6adb25e02, Linux 9ea5dfb2bfef4f8a7e704d1921d8a790cb7fb700, Linux 0f6bffb5008f0cba9cad5ded2caccc64466a6e54
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: midi2: remove default configfs groups on teardown f_midi2_alloc_inst() creates default configfs child groups for the default endpoint and default block using configfs_add_default_group(), setting their internal refcount to 1. However, during function teardown in f_midi2_free_inst() or EP cleanup in f_midi2_ep_opts_release(), configfs_remove_default_groups() is never called, therefore never dropping the refcount and leaking struct f_midi2_ep_opts and f_midi2_block_opts. Add the missing configfs_remove_default_groups() in the afformentioned functions to free the structs properly.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 79dbedf40ad930f83839e564394dc5d1a54938c6; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 4beda67ee72e0c8df5b49951dd8b96f6adb25e02; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < a15c2acd3083461f91725760e59dff88b33c28f6; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 9ea5dfb2bfef4f8a7e704d1921d8a790cb7fb700; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 0f6bffb5008f0cba9cad5ded2caccc64466a6e54 | — | cvelist |
| Linux | 6.6 | — | 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-89735. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-89735.md Affected: Linux >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 79dbedf40ad930f83839e564394dc5d1a54938c6; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 4beda67ee72e0c8df5b49951dd8b96f6adb25e02; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < a15c2acd3083461f91725760e59dff88b33c28f6; >= 8b645922b22303cec4628db… Fixed in: Linux 79dbedf40ad930f83839e564394dc5d1a54938c6, Linux 4beda67ee72e0c8df5b49951dd8b96f6adb25e02, Linux 9ea5dfb2bfef4f8a7e704d1921d8a790cb7fb700, Linux 0f6bffb5008f0cba9cad5ded2caccc64466a6e54 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.
References
Other
- https://git.kernel.org/stable/c/79dbedf40ad930f83839e564394dc5d1a54938c6
- https://git.kernel.org/stable/c/4beda67ee72e0c8df5b49951dd8b96f6adb25e02
- https://git.kernel.org/stable/c/a15c2acd3083461f91725760e59dff88b33c28f6
- https://git.kernel.org/stable/c/9ea5dfb2bfef4f8a7e704d1921d8a790cb7fb700
- https://git.kernel.org/stable/c/0f6bffb5008f0cba9cad5ded2caccc64466a6e54
FAQ
Is CVE-2026-89735 being exploited?
There is no confirmed exploitation: CVE-2026-89735 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-89735?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-89735?
Linux >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 79dbedf40ad930f83839e564394dc5d1a54938c6; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 4beda67ee72e0c8df5b49951dd8b96f6adb25e02; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < a15c2acd3083461f91725760e59dff88b33c28f6; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 9ea5dfb2bfef4f8a7e704d1921d8a790cb7fb700; >= 8b645922b22303cec4628dbbbf6c8553d1cdec87, < 0f6bffb5008f0cba9cad5ded2caccc64466a6e54; Linux 6.6.
Is there a fix for CVE-2026-89735?
Yes. Fixed in Linux 79dbedf40ad930f83839e564394dc5d1a54938c6, Linux 4beda67ee72e0c8df5b49951dd8b96f6adb25e02, Linux 9ea5dfb2bfef4f8a7e704d1921d8a790cb7fb700, Linux 0f6bffb5008f0cba9cad5ded2caccc64466a6e54. Upgrade Linux to 0f6bffb5008f0cba9cad5ded2caccc64466a6e54 or later.
How do I check if I'm affected by CVE-2026-89735?
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.