{"id":"CVE-2026-53194","published":"2026-06-25T08:39:05Z","modified":"2026-10-19T19:57:28Z","title":"USB: serial: kl5kusb105: fix bulk-out buffer overflow","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nUSB: serial: kl5kusb105: fix bulk-out buffer overflow\n\nklsi_105_prepare_write_buffer() is called by the generic write path\nwith the bulk-out buffer and its size (bulk_out_size, 64 bytes). It\nstores a two-byte length header at the start of the buffer and copies\nthe payload from the write fifo starting at buf + KLSI_HDR_LEN, but\npasses the full buffer size as the number of bytes to copy:\n\n  count = kfifo_out_locked(&port->write_fifo, buf + KLSI_HDR_LEN,\n                           size, &port->lock);\n\nWhen the fifo holds at least size bytes, size bytes are copied starting\ntwo bytes into the size-byte buffer, writing KLSI_HDR_LEN bytes past its\nend. Copy at most size - KLSI_HDR_LEN bytes instead, leaving room for\nthe header as safe_serial already does.\n\nWriting bulk_out_size or more bytes to the tty triggers a slab\nout-of-bounds write, observed with KASAN by emulating the device with\ndummy_hcd and raw-gadget:\n\n  BUG: KASAN: slab-out-of-bounds in kfifo_copy_out+0x83/0xc0\n  Write of size 64 at addr ffff888112c62202 by task python3\n   kfifo_copy_out\n   klsi_105_prepare_write_buffer [kl5kusb105]\n   usb_serial_generic_write_start [usbserial]\n  Allocated by task 139:\n   usb_serial_probe [usbserial]\n  The buggy address is located 2 bytes inside of allocated 64-byte region\n\nThe out-of-bounds write no longer occurs with this change applied.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.002,"percentile":0.05607,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://git.kernel.org/stable/c/60af1fd82983c26604102e63a3fcc822c186cceb","tags":[]},{"url":"https://git.kernel.org/stable/c/0a57320f71941d4e0b1307453c9a1f0939afe666","tags":[]},{"url":"https://git.kernel.org/stable/c/14147b7963685957839c76ba8094924e22777d79","tags":[]},{"url":"https://git.kernel.org/stable/c/a1288cd700f721c1a119c4f1e8efa234e59caada","tags":[]},{"url":"https://git.kernel.org/stable/c/70d86e355c564b5510fde61361df014f5476c83e","tags":[]},{"url":"https://git.kernel.org/stable/c/372f33ebed747d91870f57c0a2e62884a870bffa","tags":[]},{"url":"https://git.kernel.org/stable/c/bde742b076cbe26ecc89c8c68c76ae076a524d02","tags":[]},{"url":"https://git.kernel.org/stable/c/96d47e40bf9db4a9efd5c8fb53287a508d165f14","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-53194","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2492703","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53194.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":6.6,"factors":[{"name":"EPSS percentile","points":1.12},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 60b3013cdaf3fa8a17243ca46b19db3cbe08d943, < 60af1fd82983c26604102e63a3fcc822c186cceb",">= 60b3013cdaf3fa8a17243ca46b19db3cbe08d943, < 0a57320f71941d4e0b1307453c9a1f0939afe666",">= 60b3013cdaf3fa8a17243ca46b19db3cbe08d943, < 14147b7963685957839c76ba8094924e22777d79",">= 60b3013cdaf3fa8a17243ca46b19db3cbe08d943, < a1288cd700f721c1a119c4f1e8efa234e59caada",">= 60b3013cdaf3fa8a17243ca46b19db3cbe08d943, < 70d86e355c564b5510fde61361df014f5476c83e",">= 60b3013cdaf3fa8a17243ca46b19db3cbe08d943, < 372f33ebed747d91870f57c0a2e62884a870bffa",">= 60b3013cdaf3fa8a17243ca46b19db3cbe08d943, < bde742b076cbe26ecc89c8c68c76ae076a524d02",">= 60b3013cdaf3fa8a17243ca46b19db3cbe08d943, < 96d47e40bf9db4a9efd5c8fb53287a508d165f14"]},{"vendor":"Linux","product":"Linux","versions":["2.6.35"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:26:39.976114Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-39285","exploited":false,"provenance":"source"}}