CVE-2026-98770

Published October 18, 2026 · updated October 21, 2026

What it is

When a Linux computer acts as a USB MIDI device and is set up with a large number of jacks, the kernel can write past the space set aside for their descriptions. The vendor has not described how an attacker could use this.

Written in plain English by AI from the official record. Show the official wording

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.

Chance of being attacked in the next 30 days: 0.2 % (EPSS).

What it affects, and the version that fixes it

  • Linux Kernel Each release has its own fixed version: 6.6.160, 6.12.113, 6.18.56, 7.2.10, 7.3.

The official vulnerability database has not reviewed this record yet, so this comes from the vendor's own listing and may be incomplete.

The official record (NVD) · CVE.org