CVE-2026-98770
Last modified
CVE-2026-98770 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 856fa444b0982746f95e801bab0e586533eb29a3, < 18138d9f19cf6944ff09f5c8c0930545036fe3d0; >= 856fa444b0982746f95e801bab0e586533eb29a3, < 8294ff75a9de23f7cc641e5e5ca31fa6ea72a574; >= 856fa444b0982746f95e801bab0e586533eb29a3, < 87f2185423e01f113811301878f2f67eccec960d; >= 856fa444b0982746f95e801bab0e586533eb29a3, < 223c3bd02a582776d8ee47dae7b69d3258420694; >= 856fa444b0982746f95e801bab0e586533eb29a3, < 310c2d4608d8c1a2baa57db1dfd319c5c40cf4a1 |
| Linux | Linux | 6.6 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98770?
How severe is CVE-2026-98770?
How do I fix CVE-2026-98770?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98765In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98766In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98767In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98768In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98769In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9877Use after free in ANGLE in Google Chrome prior to 148.0.7778…8.3
- CVE-2026-98771In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98772In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98773In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98774In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98775In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98776In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98770?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
