CVE-2026-64351

Source
https://cve.org/CVERecord?id=CVE-2026-64351
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64351.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64351
Downstream
Related
Published
2026-07-25T08:50:10.882Z
Modified
2026-08-18T03:30:55.869457655Z
Summary
net: usb: kalmia: bound RX frame length in kalmia_rx_fixup()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

kalmiarxfixup() computes usbpacketlength = skb->len - (2 * KALMIAHEADERLENGTH) as a u16, guarded only by a pre-loop check that skb->len is at least KALMIAHEADERLENGTH, 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 usbpacketlength to about 65530.

That bypasses the usbpacketlength < etherpacketlength truncation path. The device-supplied etherpacketlength, a le16 up to 65535 read from headerstart[2], then drives a memcmp() and the following skbtrim() and skbpull() past the end of the rx buffer. The rx buffer is hardmtu * 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64351.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d40261236e8e278cb1936cb5e934262971692b10
Fixed
391706889a5112feafdc0c68db3ecc7ed325d09c
Fixed
aa4eef2cbb66ea3dfcfc24bdce798dd78a81b54b
Fixed
2d04c37ed4e1d0f733ad39ec35b5a5d8818b4f4a
Fixed
46ab32870d010e9a057bc5659cea22b7e728ca88
Fixed
c466097d85d52f3aa200736cb4759e66d4bbf6e3
Fixed
e24eb271061db384a3c3ef6f107fe515e68ef222
Fixed
51e65f1d78457ea4f9513d90ab22c9dccbb35110
Fixed
47b6bcef6e679593d2e86e04ee72c46a4e2f7139

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64351.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.96
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64351.json"