0.0
NA
CVE-2026-68369
usb: gadget: printer: fix infinite loop in printer_read()
Description

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: printer: fix infinite loop in printer_read() printer_read() uses the same variable for the requested copy size and the number of bytes actually copied to user space. copy_to_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, current_rx_bytes and current_rx_buf 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.

INFO

Published Date :

Aug. 10, 2026, 1:20 p.m.

Last Modified :

Aug. 10, 2026, 1:20 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-68369 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Fix an infinite loop in printer_read() by tracking copied length separately.
  • Update the Linux kernel.
  • Ensure proper error handling for copy operations.
  • Track copied bytes independently.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-68369 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-68369 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-68369 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-68369 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 10, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'b185f01a9ab7af586133be2555298e960237359b', 'lessThan': '994afccfdcceb73be33f69a8a8ea71e260c9eca5', 'versionType': 'git'}, {'status': 'affected', 'version': 'b185f01a9ab7af586133be2555298e960237359b', 'lessThan': 'e03597ad9494b500344076589aeaa6c6d2d381d3', 'versionType': 'git'}, {'status': 'affected', 'version': 'b185f01a9ab7af586133be2555298e960237359b', 'lessThan': '4cde0b38cc0cb8b7dc17295801015148de37d1d2', 'versionType': 'git'}, {'status': 'affected', 'version': 'b185f01a9ab7af586133be2555298e960237359b', 'lessThan': 'e41bbbbb1740ce4d7270ab1cdeca13892d6a8d2e', 'versionType': 'git'}, {'status': 'affected', 'version': 'b185f01a9ab7af586133be2555298e960237359b', 'lessThan': 'c2e819be6a5c7f34344926b4bd7e3dfca58cf48a', 'versionType': 'git'}], 'programFiles': ['drivers/usb/gadget/function/f_printer.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '4.1'}, {'status': 'unaffected', 'version': '0', 'lessThan': '4.1', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/usb/gadget/function/f_printer.c'], 'defaultStatus': 'affected'}]
    Added Description In the Linux kernel, the following vulnerability has been resolved: usb: gadget: printer: fix infinite loop in printer_read() printer_read() uses the same variable for the requested copy size and the number of bytes actually copied to user space. copy_to_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, current_rx_bytes and current_rx_buf 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.
    Added Reference https://git.kernel.org/stable/c/4cde0b38cc0cb8b7dc17295801015148de37d1d2
    Added Reference https://git.kernel.org/stable/c/994afccfdcceb73be33f69a8a8ea71e260c9eca5
    Added Reference https://git.kernel.org/stable/c/c2e819be6a5c7f34344926b4bd7e3dfca58cf48a
    Added Reference https://git.kernel.org/stable/c/e03597ad9494b500344076589aeaa6c6d2d381d3
    Added Reference https://git.kernel.org/stable/c/e41bbbbb1740ce4d7270ab1cdeca13892d6a8d2e
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.