CVE-2026-53194
JSON

7.8high

USB: serial: kl5kusb105: fix bulk-out buffer overflow

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: USB: serial: kl5kusb105: fix bulk-out buffer overflow klsi_105_prepare_write_buffer() is called by the generic write path with the bulk-out buffer and its size (bulk_out_size, 64 bytes). It stores a two-byte length header at the start of the buffer and copies the payload from the write fifo starting at buf + KLSI_HDR_LEN, but passes the full buffer size as the number of bytes to copy: count = kfifo_out_locked(&port->write_fifo, buf + KLSI_HDR_LEN, size, &port->lock); When the fifo holds at least size bytes, size bytes are copied starting two bytes into the size-byte buffer, writing KLSI_HDR_LEN bytes past its end. Copy at most size - KLSI_HDR_LEN bytes instead, leaving room for the header as safe_serial already does. Writing bulk_out_size or more bytes to the tty triggers a slab out-of-bounds write, observed with KASAN by emulating the device with dummy_hcd and raw-gadget: BUG: KASAN: slab-out-of-bounds in kfifo_copy_out+0x83/0xc0 Write of size 64 at addr ffff888112c62202 by task python3 kfifo_copy_out klsi_105_prepare_write_buffer [kl5kusb105] usb_serial_generic_write_start [usbserial] Allocated by task 139: usb_serial_probe [usbserial] The buggy address is located 2 bytes inside of allocated 64-byte region The out-of-bounds write no longer occurs with this change applied.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 60b3013cdaf3fa8a17243ca46b19db3cbe08d943 before 60af1fd82983c26604102e63a3fcc822c186cceb, from 60b3013cdaf3fa8a17243ca46b19db3cbe08d943 before 0a57320f71941d4e0b1307453c9a1f0939afe666, from 60b3013cdaf3fa8a17243ca46b19db3cbe08d943 before 14147b7963685957839c76ba8094924e22777d79, from 60b3013cdaf3fa8a17243ca46b19db3cbe08d943 before a1288cd700f721c1a119c4f1e8efa234e59caada, from 60b3013cdaf3fa8a17243ca46b19db3cbe08d943 before 70d86e355c564b5510fde61361df014f5476c83e, from 60b3013cdaf3fa8a17243ca46b19db3cbe08d943 before 372f33ebed747d91870f57c0a2e62884a870bffa, from 60b3013cdaf3fa8a17243ca46b19db3cbe08d943 before bde742b076cbe26ecc89c8c68c76ae076a524d02, from 60b3013cdaf3fa8a17243ca46b19db3cbe08d943 before 96d47e40bf9db4a9efd5c8fb53287a508d165f14 and 1 more
Not affected: before 2.6.35, from 5.10.259 up to 5.10.*, from 5.15.210 up to 5.15.*, from 6.1.176 up to 6.1.*, from 6.6.143 up to 6.6.*, from 6.12.94 up to 6.12.*
CVE List
kernelNot specifiedCVE List
kernel-rtNot specifiedCVE List
linux linux_kernelfrom 2.6.35 before 5.10.259, from 5.11 before 5.15.210, from 5.16 before 6.1.176, from 6.2 before 6.6.143, from 6.7 before 6.12.94, from 6.13 before 6.18.36, from 6.19 before 7.0.13, 7.1NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
redhat-SADP5.3medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H

Classification

CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

https://git.kernel.org/stable/c/60af1fd82983c26604102e63a3fcc822c186ccebpatch
https://git.kernel.org/stable/c/0a57320f71941d4e0b1307453c9a1f0939afe666patch
https://git.kernel.org/stable/c/14147b7963685957839c76ba8094924e22777d79patch
https://git.kernel.org/stable/c/a1288cd700f721c1a119c4f1e8efa234e59caadapatch
https://git.kernel.org/stable/c/70d86e355c564b5510fde61361df014f5476c83epatch
https://git.kernel.org/stable/c/372f33ebed747d91870f57c0a2e62884a870bffapatch
https://git.kernel.org/stable/c/bde742b076cbe26ecc89c8c68c76ae076a524d02patch
https://git.kernel.org/stable/c/96d47e40bf9db4a9efd5c8fb53287a508d165f14patch
https://access.redhat.com/security/cve/CVE-2026-53194third-party-advisory, vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2492703issue-tracking, third-party-advisory
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53194.jsonthird-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-53194 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-53194 changed 2026-10-19Public domain