CVE-2026-64351
net: usb: kalmia: bound RX frame length in kalmia_rx_fixup()
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.
INFO
Published Date :
July 25, 2026, 10:17 a.m.
Last Modified :
Aug. 17, 2026, 5:17 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to the latest version.
- Ensure all systems with the kalmia driver are patched.
- Verify framing headers are present in RX processing.
- Implement bounds checking for RX frame lengths.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64351.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64351 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64351
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64351 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64351 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '391706889a5112feafdc0c68db3ecc7ed325d09c', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': 'aa4eef2cbb66ea3dfcfc24bdce798dd78a81b54b', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '2d04c37ed4e1d0f733ad39ec35b5a5d8818b4f4a', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '46ab32870d010e9a057bc5659cea22b7e728ca88', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': 'c466097d85d52f3aa200736cb4759e66d4bbf6e3', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': 'e24eb271061db384a3c3ef6f107fe515e68ef222', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '51e65f1d78457ea4f9513d90ab22c9dccbb35110', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '47b6bcef6e679593d2e86e04ee72c46a4e2f7139', 'versionType': 'git'}], 'programFiles': ['drivers/net/usb/kalmia.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.0'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.0', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/usb/kalmia.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '391706889a5112feafdc0c68db3ecc7ed325d09c', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': 'aa4eef2cbb66ea3dfcfc24bdce798dd78a81b54b', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '2d04c37ed4e1d0f733ad39ec35b5a5d8818b4f4a', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '46ab32870d010e9a057bc5659cea22b7e728ca88', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': 'c466097d85d52f3aa200736cb4759e66d4bbf6e3', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': 'e24eb271061db384a3c3ef6f107fe515e68ef222', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '51e65f1d78457ea4f9513d90ab22c9dccbb35110', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '47b6bcef6e679593d2e86e04ee72c46a4e2f7139', 'versionType': 'git'}], 'programFiles': ['drivers/net/usb/kalmia.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.0'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.0', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/usb/kalmia.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 25, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '391706889a5112feafdc0c68db3ecc7ed325d09c', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': 'aa4eef2cbb66ea3dfcfc24bdce798dd78a81b54b', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '2d04c37ed4e1d0f733ad39ec35b5a5d8818b4f4a', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '46ab32870d010e9a057bc5659cea22b7e728ca88', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': 'c466097d85d52f3aa200736cb4759e66d4bbf6e3', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': 'e24eb271061db384a3c3ef6f107fe515e68ef222', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '51e65f1d78457ea4f9513d90ab22c9dccbb35110', 'versionType': 'git'}, {'status': 'affected', 'version': 'd40261236e8e278cb1936cb5e934262971692b10', 'lessThan': '47b6bcef6e679593d2e86e04ee72c46a4e2f7139', 'versionType': 'git'}], 'programFiles': ['drivers/net/usb/kalmia.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.0'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.0', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/usb/kalmia.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/2d04c37ed4e1d0f733ad39ec35b5a5d8818b4f4a Added Reference https://git.kernel.org/stable/c/391706889a5112feafdc0c68db3ecc7ed325d09c Added Reference https://git.kernel.org/stable/c/46ab32870d010e9a057bc5659cea22b7e728ca88 Added Reference https://git.kernel.org/stable/c/47b6bcef6e679593d2e86e04ee72c46a4e2f7139 Added Reference https://git.kernel.org/stable/c/51e65f1d78457ea4f9513d90ab22c9dccbb35110 Added Reference https://git.kernel.org/stable/c/aa4eef2cbb66ea3dfcfc24bdce798dd78a81b54b Added Reference https://git.kernel.org/stable/c/c466097d85d52f3aa200736cb4759e66d4bbf6e3 Added Reference https://git.kernel.org/stable/c/e24eb271061db384a3c3ef6f107fe515e68ef222