{"id":"CVE-2026-68369","published":"2026-08-10T12:03:46Z","modified":"2026-08-19T16:34:28Z","title":"usb: gadget: printer: fix infinite loop in printer_read()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: printer: fix infinite loop in printer_read()\n\nprinter_read() uses the same variable for the requested copy size and\nthe number of bytes actually copied to user space. copy_to_user()\nreturns the number of bytes not copied, so when it fails to copy\nanything, the computed copied length becomes zero.\n\nIn that case len, buf, current_rx_bytes and current_rx_buf are left\nunchanged. If RX data is available and the user buffer remains\nunwritable, the read loop can repeat indefinitely.\n\nTrack the copied length separately and return -EFAULT, or the number of\nbytes already copied, if an iteration makes no progress.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00211,"percentile":0.11343,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3f81197364b57e5318620c75f3bd63f405f60552","tags":[]},{"url":"https://git.kernel.org/stable/c/e225e2998e5a9b83c838dbbe4511fb0d63f88daf","tags":[]},{"url":"https://git.kernel.org/stable/c/3081b0e187065c3b9577e393ad664b12854aeaf3","tags":[]},{"url":"https://git.kernel.org/stable/c/994afccfdcceb73be33f69a8a8ea71e260c9eca5","tags":[]},{"url":"https://git.kernel.org/stable/c/e03597ad9494b500344076589aeaa6c6d2d381d3","tags":[]},{"url":"https://git.kernel.org/stable/c/4cde0b38cc0cb8b7dc17295801015148de37d1d2","tags":[]},{"url":"https://git.kernel.org/stable/c/e41bbbbb1740ce4d7270ab1cdeca13892d6a8d2e","tags":[]},{"url":"https://git.kernel.org/stable/c/c2e819be6a5c7f34344926b4bd7e3dfca58cf48a","tags":[]}],"priority":{"score":2.3,"factors":[{"name":"EPSS percentile","points":2.27}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= b185f01a9ab7af586133be2555298e960237359b, < 3f81197364b57e5318620c75f3bd63f405f60552",">= b185f01a9ab7af586133be2555298e960237359b, < e225e2998e5a9b83c838dbbe4511fb0d63f88daf",">= b185f01a9ab7af586133be2555298e960237359b, < 3081b0e187065c3b9577e393ad664b12854aeaf3",">= b185f01a9ab7af586133be2555298e960237359b, < 994afccfdcceb73be33f69a8a8ea71e260c9eca5",">= b185f01a9ab7af586133be2555298e960237359b, < e03597ad9494b500344076589aeaa6c6d2d381d3",">= b185f01a9ab7af586133be2555298e960237359b, < 4cde0b38cc0cb8b7dc17295801015148de37d1d2",">= b185f01a9ab7af586133be2555298e960237359b, < e41bbbbb1740ce4d7270ab1cdeca13892d6a8d2e",">= b185f01a9ab7af586133be2555298e960237359b, < c2e819be6a5c7f34344926b4bd7e3dfca58cf48a"]},{"vendor":"Linux","product":"Linux","versions":["4.1"]}],"euvd":{"id":"EUVD-2026-55470","exploited":false,"provenance":"source"}}