CVE-2026-68369

Source
https://cve.org/CVERecord?id=CVE-2026-68369
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68369.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68369
Downstream
Published
2026-08-10T12:03:46.845Z
Modified
2026-08-12T04:18:48.209471130Z
Summary
usb: gadget: printer: fix infinite loop in printer_read()
Details

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: printer: fix infinite loop in printer_read()

printerread() uses the same variable for the requested copy size and the number of bytes actually copied to user space. copyto_user() returns the number of bytes not copied, so when it fails to copy anything, the computed copied length becomes zero.

In that case len, buf, currentrxbytes and currentrxbuf are left unchanged. If RX data is available and the user buffer remains unwritable, the read loop can repeat indefinitely.

Track the copied length separately and return -EFAULT, or the number of bytes already copied, if an iteration makes no progress.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68369.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b185f01a9ab7af586133be2555298e960237359b
Fixed
994afccfdcceb73be33f69a8a8ea71e260c9eca5
Fixed
e03597ad9494b500344076589aeaa6c6d2d381d3
Fixed
4cde0b38cc0cb8b7dc17295801015148de37d1d2
Fixed
e41bbbbb1740ce4d7270ab1cdeca13892d6a8d2e
Fixed
c2e819be6a5c7f34344926b4bd7e3dfca58cf48a

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68369.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.1.0
Fixed
6.6.148
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68369.json"