CVE-2026-89735

usb: gadget: midi2: remove default configfs groups on teardown

No CVSS score yet EPSS 0.17%

Published 11 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-89735

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89735 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.38% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 8b645922b22303cec4628dbbbf6c8553d1cdec87, before 79dbedf40ad930f83839e564394dc5d1a54938c6
affected from 8b645922b22303cec4628dbbbf6c8553d1cdec87, before 4beda67ee72e0c8df5b49951dd8b96f6adb25e02
affected from 8b645922b22303cec4628dbbbf6c8553d1cdec87, before a15c2acd3083461f91725760e59dff88b33c28f6
affected from 8b645922b22303cec4628dbbbf6c8553d1cdec87, before 9ea5dfb2bfef4f8a7e704d1921d8a790cb7fb700
affected from 8b645922b22303cec4628dbbbf6c8553d1cdec87, before 0f6bffb5008f0cba9cad5ded2caccc64466a6e54
Other versions: unaffected
Linux
affected 6.6
unaffected before 6.6
unaffected from 6.6.157 up to and including 6.6.*
unaffected from 6.12.109 up to and including 6.12.*
unaffected from 6.18.50 up to and including 6.18.*
unaffected from 7.2.4 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89735 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89735

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-89735
trivy image --scanners vuln IMAGE | grep CVE-2026-89735

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-89735 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.