{"id":"CVE-2026-64351","aliases":["CVE-2026-64351"],"related":[],"kind":"vulnerability","state":"published","title":"net: usb: kalmia: bound RX frame length in kalmia_rx_fixup()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: kalmia: bound RX frame length in kalmia_rx_fixup()\n\nkalmia_rx_fixup() computes usb_packet_length = skb->len - (2 *\nKALMIA_HEADER_LENGTH) as a u16, guarded only by a pre-loop check that\nskb->len is at least KALMIA_HEADER_LENGTH, which is 6. A device can\ndeliver a short bulk-IN frame with skb->len in the 6 to 11 range, or\nleave a short trailing remainder on a later loop iteration. Either case\nunderflows usb_packet_length to about 65530.\n\nThat bypasses the usb_packet_length < ether_packet_length truncation path.\nThe device-supplied ether_packet_length, a le16 up to 65535 read from\nheader_start[2], then drives a memcmp() and the following skb_trim() and\nskb_pull() past the end of the rx buffer. The rx buffer is hard_mtu * 10,\nwhich is 14000 bytes. That is an out of bounds read.\n\nRequire both the start and end framing headers to be present before\nsubtracting them, on every loop iteration.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: kalmia: bound RX frame length in kalmia_rx_fixup()\n\nkalmia_rx_fixup() computes usb_packet_length = skb->len - (2 *\nKALMIA_HEADER_LENGTH) as a u16, guarded only by a pre-loop check that\nskb->len is at least KALMIA_HEADER_LENGTH, which is 6. A device can\ndeliver a short bulk-IN frame with skb->len in the 6 to 11 range, or\nleave a short trailing remainder on a later loop iteration. Either case\nunderflows usb_packet_length to about 65530.\n\nThat bypasses the usb_packet_length < ether_packet_length truncation path.\nThe device-supplied ether_packet_length, a le16 up to 65535 read from\nheader_start[2], then drives a memcmp() and the following skb_trim() and\nskb_pull() past the end of the rx buffer. The rx buffer is hard_mtu * 10,\nwhich is 14000 bytes. That is an out of bounds read.\n\nRequire both the start and end framing headers to be present before\nsubtracting them, on every loop iteration.","source":"cvelist"}],"published":"2026-07-25T08:50:10.882Z","modified":"2026-11-06T17:18:50.960Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d40261236e8e278cb1936cb5e934262971692b10","fixed":"391706889a5112feafdc0c68db3ecc7ed325d09c","status":"affected"},{"type":"git","introduced":"d40261236e8e278cb1936cb5e934262971692b10","fixed":"aa4eef2cbb66ea3dfcfc24bdce798dd78a81b54b","status":"affected"},{"type":"git","introduced":"d40261236e8e278cb1936cb5e934262971692b10","fixed":"2d04c37ed4e1d0f733ad39ec35b5a5d8818b4f4a","status":"affected"},{"type":"git","introduced":"d40261236e8e278cb1936cb5e934262971692b10","fixed":"46ab32870d010e9a057bc5659cea22b7e728ca88","status":"affected"},{"type":"git","introduced":"d40261236e8e278cb1936cb5e934262971692b10","fixed":"c466097d85d52f3aa200736cb4759e66d4bbf6e3","status":"affected"},{"type":"git","introduced":"d40261236e8e278cb1936cb5e934262971692b10","fixed":"e24eb271061db384a3c3ef6f107fe515e68ef222","status":"affected"},{"type":"git","introduced":"d40261236e8e278cb1936cb5e934262971692b10","fixed":"51e65f1d78457ea4f9513d90ab22c9dccbb35110","status":"affected"},{"type":"git","introduced":"d40261236e8e278cb1936cb5e934262971692b10","fixed":"47b6bcef6e679593d2e86e04ee72c46a4e2f7139","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.0","status":"unaffected"},{"type":"semver","introduced":"5.10.261","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.212","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.178","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.145","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.96","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.39","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.4","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.0.1","fixed":"5.10.261"},{"status":"affected","introduced":"5.11","fixed":"5.15.212"},{"status":"affected","introduced":"5.16","fixed":"6.1.178"},{"status":"affected","introduced":"6.2","fixed":"6.6.145"},{"status":"affected","introduced":"6.7","fixed":"6.12.96"},{"status":"affected","introduced":"6.13","fixed":"6.18.39"},{"status":"affected","introduced":"6.19","fixed":"7.1.4"},{"status":"affected","version":"3.0"},{"status":"affected","version":"3.0"},{"status":"affected","version":"3.0"},{"status":"affected","version":"3.0"},{"status":"affected","version":"3.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/391706889a5112feafdc0c68db3ecc7ed325d09c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa4eef2cbb66ea3dfcfc24bdce798dd78a81b54b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2d04c37ed4e1d0f733ad39ec35b5a5d8818b4f4a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/46ab32870d010e9a057bc5659cea22b7e728ca88","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c466097d85d52f3aa200736cb4759e66d4bbf6e3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e24eb271061db384a3c3ef6f107fe515e68ef222","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51e65f1d78457ea4f9513d90ab22c9dccbb35110","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/47b6bcef6e679593d2e86e04ee72c46a4e2f7139","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:36:37.686Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64351","url":"https://www.cve.org/CVERecord?id=CVE-2026-64351","licence":"CVE Terms of Use","modified":"2026-11-06T16:44:48.462Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64351","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64351","licence":"Public domain","modified":"2026-11-06T17:18:50.960Z"}],"updatedAt":"2026-11-25T22:59:30.081Z","epss":{"score":0.00131,"percentile":0.02898,"date":"2026-12-01T12:00:22.000Z"}}