CVE-2026-64351 Details
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.
A vulnerability in the Linux kernel's handling of USB packets in the Kalmia driver can lead to an out-of-bounds read. This issue arises because the function 'kalmia_rx_fixup()' incorrectly calculates the length of USB packets. The calculation is based on the total length of the received packet, minus the length of the Kalmia headers. However, this subtraction is only partially validated, allowing devices to send shorter packets that exploit this flaw. When the packet length is miscalculated, it bypasses a crucial length check, leading to a memory comparison and manipulation that goes beyond the allocated buffer. The affected driver is part of the Linux kernel stable tree.
The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/2d04c37ed4e1d0f733ad39ec35b5a5d8818b4f4a | kernel.org | Patch |
| https://git.kernel.org/stable/c/391706889a5112feafdc0c68db3ecc7ed325d09c | kernel.org | Patch |
| https://git.kernel.org/stable/c/46ab32870d010e9a057bc5659cea22b7e728ca88 | kernel.org | Patch |
| https://git.kernel.org/stable/c/47b6bcef6e679593d2e86e04ee72c46a4e2f7139 | kernel.org | Patch |
| https://git.kernel.org/stable/c/51e65f1d78457ea4f9513d90ab22c9dccbb35110 | kernel.org | Patch |
| https://git.kernel.org/stable/c/aa4eef2cbb66ea3dfcfc24bdce798dd78a81b54b | kernel.org | Patch |
| https://git.kernel.org/stable/c/c466097d85d52f3aa200736cb4759e66d4bbf6e3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e24eb271061db384a3c3ef6f107fe515e68ef222 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.0.1, < 5.10.261 >= 5.11, < 5.15.212 >= 5.16, < 6.1.178 >= 6.2, < 6.6.145 >= 6.7, < 6.12.96 >= 6.13, < 6.18.39 >= 6.19, < 7.1.4 3.0 - 3.0 rc4 3.0 rc5 3.0 rc6 3.0 rc7 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 3, 2026 | Initial Analysis | [email protected] |
| Aug 17, 2026 | CVE Modified | kernel.org |
| Jul 25, 2026 | New CVE Received | kernel.org |