{"id":"CVE-2026-68369","aliases":["CVE-2026-68369"],"related":[],"kind":"vulnerability","state":"published","title":"usb: gadget: printer: fix infinite loop in printer_read()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-08-10T12:03:46.845Z","modified":"2026-08-19T17:20:46.477Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b185f01a9ab7af586133be2555298e960237359b","fixed":"3f81197364b57e5318620c75f3bd63f405f60552","status":"affected"},{"type":"git","introduced":"b185f01a9ab7af586133be2555298e960237359b","fixed":"e225e2998e5a9b83c838dbbe4511fb0d63f88daf","status":"affected"},{"type":"git","introduced":"b185f01a9ab7af586133be2555298e960237359b","fixed":"3081b0e187065c3b9577e393ad664b12854aeaf3","status":"affected"},{"type":"git","introduced":"b185f01a9ab7af586133be2555298e960237359b","fixed":"994afccfdcceb73be33f69a8a8ea71e260c9eca5","status":"affected"},{"type":"git","introduced":"b185f01a9ab7af586133be2555298e960237359b","fixed":"e03597ad9494b500344076589aeaa6c6d2d381d3","status":"affected"},{"type":"git","introduced":"b185f01a9ab7af586133be2555298e960237359b","fixed":"4cde0b38cc0cb8b7dc17295801015148de37d1d2","status":"affected"},{"type":"git","introduced":"b185f01a9ab7af586133be2555298e960237359b","fixed":"e41bbbbb1740ce4d7270ab1cdeca13892d6a8d2e","status":"affected"},{"type":"git","introduced":"b185f01a9ab7af586133be2555298e960237359b","fixed":"c2e819be6a5c7f34344926b4bd7e3dfca58cf48a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.1","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.148","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","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"}],"references":[{"url":"https://git.kernel.org/stable/c/3f81197364b57e5318620c75f3bd63f405f60552","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e225e2998e5a9b83c838dbbe4511fb0d63f88daf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3081b0e187065c3b9577e393ad664b12854aeaf3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/994afccfdcceb73be33f69a8a8ea71e260c9eca5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e03597ad9494b500344076589aeaa6c6d2d381d3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4cde0b38cc0cb8b7dc17295801015148de37d1d2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e41bbbbb1740ce4d7270ab1cdeca13892d6a8d2e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c2e819be6a5c7f34344926b4bd7e3dfca58cf48a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68369","url":"https://www.cve.org/CVERecord?id=CVE-2026-68369","licence":"CVE Terms of Use","modified":"2026-08-19T16:34:28.812Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68369","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68369","licence":"Public domain","modified":"2026-08-19T17:20:46.477Z"}],"updatedAt":"2026-11-25T22:59:32.102Z","epss":{"score":0.00211,"percentile":0.11926,"date":"2026-12-01T12:00:22.000Z"}}