CVE-2026-64351

net: usb: kalmia: bound RX frame length in kalmia_rx_fixup()

MEDIUM
5.5
CVSS Score
Published: July 25, 2026 at 08:50 AM UTC
Updated: September 3, 2026 at 04:24 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: net: usb: kalmia: bound RX frame length in kalmia_rx_fixup() kalmia_rx_fixup() computes usb_packet_length = skb->len - (2 * KALMIA_HEADER_LENGTH) as a u16, guarded only by a pre-loop check that skb->len is at least KALMIA_HEADER_LENGTH, which is 6. A device can deliver a short bulk-IN frame with skb->len in the 6 to 11 range, or leave a short trailing remainder on a later loop iteration. Either case underflows usb_packet_length to about 65530. That bypasses the usb_packet_length < ether_packet_length truncation path. The device-supplied ether_packet_length, a le16 up to 65535 read from header_start[2], then drives a memcmp() and the following skb_trim() and skb_pull() past the end of the rx buffer. The rx buffer is hard_mtu * 10, which is 14000 bytes. That is an out of bounds read. Require both the start and end framing headers to be present before subtracting them, on every loop iteration.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.0 ≤ v < 5.10.2613.0 ≤ v < 5.15.2123.0 ≤ v < 6.1.1783.0 ≤ v < 6.12.963.0 ≤ v < 6.18.393.0 ≤ v < 6.6.1453.0 ≤ v < 7.1.43.0 ≤ v < 7.23.0.1 ≤ v < 5.10.2615.11 ≤ v < 5.15.2125.16 ≤ v < 6.1.1786.13 ≤ v < 6.18.396.19 ≤ v < 7.1.46.2 ≤ v < 6.6.1456.7 ≤ v < 6.12.963.03.0 rc43.0 rc53.0 rc63.0 rc7d40261236e8e278cb1936cb5e934262971692b10
Vendor states this is fixed in 2d04c37ed4e1d0f733ad39ec35b5a5d8818b4f4a (fixed)
Vendor states this is fixed in 391706889a5112feafdc0c68db3ecc7ed325d09c (fixed)
Vendor states this is fixed in 46ab32870d010e9a057bc5659cea22b7e728ca88 (fixed)
Vendor states this is fixed in 47b6bcef6e679593d2e86e04ee72c46a4e2f7139 (fixed)
Vendor states this is fixed in 51e65f1d78457ea4f9513d90ab22c9dccbb35110 (fixed)
Vendor states this is fixed in aa4eef2cbb66ea3dfcfc24bdce798dd78a81b54b (fixed)
Vendor states this is fixed in c466097d85d52f3aa200736cb4759e66d4bbf6e3 (fixed)
Vendor states this is fixed in e24eb271061db384a3c3ef6f107fe515e68ef222 (fixed)
Vendor states this is fixed in 3.0 (unaffected)
Vendor states this is fixed in 5.10.261 (unaffected)
Vendor states this is fixed in 5.15.212 (unaffected)
Vendor states this is fixed in 6.1.178 (unaffected)
Vendor states this is fixed in 6.12.96 (unaffected)
Vendor states this is fixed in 6.18.39 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.4 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card