CVE-2026-90021
kernel: usb: gadget: f_midi: initialize work in f_midi_alloc()
Overview
Description
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: f_midi: initialize work in f_midi_alloc()
f_midi_alloc initializes free_ref to 1 and it can only be incremented
when a sound card is registered via f_midi_register_card().
f_midi_register_card() is only called in f_midi_bind() which actually
performs INIT_WORK. If f_midi_bind() is never run, work is not
initialized and the if condition in f_midi_free becomes true,
this results in a warning later in __flush_work as work->func = 0.
Fix this by moving INIT_WORK from f_midi_bind() to f_midi_alloc().
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 71 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | kernel | 0:6.6.161.1-1.azl3 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | bpftool +10 | 6.12.111-1.ph5 |
SUSE Linux Enterprise 3 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.7 | kernel-livepatch-6-4-0-150700-53-90-default | 1-150700.15.3.1 | SUSE-SU-2026:5091-1 |
| 15.7 | cluster-md-kmp-default +20 | 6.4.0-150700.53.90.1 | SUSE-SU-2026:5091-1 |
| 15.7 | kernel-default-base | 6.4.0-150700.53.90.1.150700.17.51.1 | SUSE-SU-2026:5091-1 |
| 16.0 | cluster-md-kmp-default +2 | 6.12.0-160000.41.1 | SUSE-SU-2026:24651-1 |
| 16.0 | kernel-64kb +23 | 6.12.0-160000.41.1 | SUSE-SU-2026:24662-1 |
| 16.0 | kernel-default-base | 6.12.0-160000.41.1.160000.2.32 | SUSE-SU-2026:24662-1 |
1 more row
SUSE Linux Enterprise Micro 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | kernel-default +5 | 6.4.0-159998.55.1 | SUSE-SU-2026:24550-1 |
| 6.0 | kernel-default-base | 6.4.0-159998.55.1.159998.21.42 | SUSE-SU-2026:24550-1 |
| 6.1 | kernel-default +6 | 6.4.0-159998.55.1 | SUSE-SU-2026:24619-1 |
| 6.1 | kernel-default-base | 6.4.0-159998.55.1.159998.21.41 | SUSE-SU-2026:24619-1 |
| 6.2 | kernel-64kb +11 | 6.12.0-160000.41.1 | SUSE-SU-2026:24643-1 |
| 6.2 | kernel-default-base | 6.12.0-160000.41.1.160000.2.32 | SUSE-SU-2026:24643-1 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | affected |
| 12 | linux | 6.1.192-1 |
| 12 | linux-6-12 | 6.12.111-1~deb12u1 |
| 13 | linux | 6.12.111-1 |
| 14 | linux | 7.2.6-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | kernel-devel +3 | 7.2.7-1.1 | openSUSE-SU-2026:11880-1 |
openSUSE Leap 2 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | cluster-md-kmp-64kb +74 | 6.12.0-160000.41.1 | openSUSE-SU-2026:22266-1 |
| 16.0 | kernel-default-base | 6.12.0-160000.41.1.160000.2.31 | openSUSE-SU-2026:22266-1 |
| 16.1 | cluster-md-kmp-nvidia64kb +11 | 6.12.0-160100.7.1 | openSUSE-SU-2026:22307-1 |
| 16.1 | cluster-md-kmp-64kb +74 | 6.12.0-160100.9.1 | openSUSE-SU-2026:22309-1 |
| 16.1 | kernel-default-base | 6.12.0-160100.9.1.160100.3.14 | openSUSE-SU-2026:22309-1 |
ubuntu 3 releases · 33 packages
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | linux +17 | affected |
| 22.04 | linux-oracle-6-8 | 6.8.0-1067.71~22.04.1 |
| 22.04 | linux-ibm-6-8 | 6.8.0-1069.70~22.04.1 |
| 22.04 | linux-aws-6-8 | 6.8.0-1069.74~22.04.1 |
| 22.04 | linux-azure-fde-6-8 | 6.8.0-1071.78~22.04.1 |
| 22.04 | linux-gcp-6-8 | 6.8.0-1073.81~22.04.1 |
38 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-90021
- git.kernel.org https://git.kernel.org/linus/7e07d3e4c389217d7d7171d80edf2e23ac70f1ea (7.3-rc2)
- git.kernel.org https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-90021.mbox
- git.kernel.org https://git.kernel.org/stable/c/02ac76f27db23ef652358458c272d9d2d6f51167
- git.kernel.org https://git.kernel.org/stable/c/13e9f5a91360952b9b5bbc2367fc29d4a4ff2824
- git.kernel.org https://git.kernel.org/stable/c/3d8b11255e632170f32f1925bfcaf96331f36317
- git.kernel.org https://git.kernel.org/stable/c/7e07d3e4c389217d7d7171d80edf2e23ac70f1ea
- git.kernel.org https://git.kernel.org/stable/c/858576de6b2f5166b08dae803f0fd0766dcb3002
- git.kernel.org https://git.kernel.org/stable/c/c76e82b026a28c348e5d841922aa73db36eca1d3
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-90021
Show all 25 references
- ubuntu.com https://ubuntu.com/security/notices/USN-8959-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8960-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9019-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9020-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9021-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9022-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9023-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9024-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9025-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9026-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9039-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9040-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9066-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9091-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-90021
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.