Skip to main content
Network Thinking Solutions Logo

CVE-2026-98770

Linux kernel: usb: gadget: midi2: Fix the jack descriptor array sizes

All CVEs
CVE-2026-98770Published 10/18/2026

Linux kernel: usb: gadget: midi2: Fix the jack descriptor array sizes

Vendor advisory
CVSS—Unscored

Overview

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: midi2: Fix the jack descriptor array sizes The jack in/out descriptor arrays in struct f_midi2_usb_config have the size of MAX_CABLES, which look reasonable -- but it turned out to be incorrect. Namely, the entries for those arrays are added from both inputs and outputs, hence for each loop cycle, it adds two, ended up with as twice as the expected size. This inconsistency may result in potential OOB when a large number of jacks are set up via configfs, although the max number of cables (the loop count) is limited to MAX_CABLES. For addressing it, correct the jack_ins & jack_outs array sizes to twice, MAX_CABLES * 2.

Published
10/18/2026
Last modified
10/21/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ 856fa444b0982746f95e801bab0e586533eb29a3, < 18138d9f19cf6944ff09f5c8c0930545036fe3d0

Verify advisory

Source
Linux
Linux
≥ 856fa444b0982746f95e801bab0e586533eb29a3, < 8294ff75a9de23f7cc641e5e5ca31fa6ea72a574

Verify advisory

Source
Linux
Linux
≥ 856fa444b0982746f95e801bab0e586533eb29a3, < 87f2185423e01f113811301878f2f67eccec960d

Verify advisory

Source
Linux
Linux
≥ 856fa444b0982746f95e801bab0e586533eb29a3, < 223c3bd02a582776d8ee47dae7b69d3258420694

Verify advisory

Source
Linux
Linux
≥ 856fa444b0982746f95e801bab0e586533eb29a3, < 310c2d4608d8c1a2baa57db1dfd319c5c40cf4a1

Verify advisory

Source
Linux
Linux
6.6

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.