CVE-2026-64345
Analyzed
Analyzed - Analysis Complete
USB Gadget Printer Reference Count Leak
Vulnerability report for CVE-2026-64345, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-07-25
Last updated on: 2026-09-03
Assigner: kernel.org
Description
Description
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: f_printer: take kref only for successful open
printer_open() returns -EBUSY when the character device is already
open, but it increments dev->kref regardless of the return value. VFS
does not call ->release() for a failed open, so every rejected second
open permanently leaks one reference.
Move kref_get() into the successful-open branch.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.8.17 (inc) to 5.9 (exc) |
| linux | linux_kernel | From 5.4.73 (inc) to 5.5 (exc) |
| linux | linux_kernel | From 4.14.203 (inc) to 4.15 (exc) |
| linux | linux_kernel | From 6.7 (inc) to 6.12.96 (exc) |
| linux | linux_kernel | From 6.13 (inc) to 6.18.39 (exc) |
| linux | linux_kernel | From 6.19 (inc) to 7.1.4 (exc) |
| linux | linux_kernel | 7.2 |
| linux | linux_kernel | 7.2 |
| linux | linux_kernel | From 4.19.154 (inc) to 4.20 (exc) |
| linux | linux_kernel | From 4.4.241 (inc) to 4.5 (exc) |
| linux | linux_kernel | From 4.9.241 (inc) to 4.10 (exc) |
| linux | linux_kernel | From 5.11 (inc) to 6.6.145 (exc) |
| linux | linux_kernel | From 5.9.2 (inc) to 5.10.261 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |