# CVE-2026-64345: usb: gadget: f\_printer: take kref only for successful open

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-07-25T08:50:07.069Z
- **Modified:** 2026-10-30T13:19:34.813Z

## Who should check

- Anyone running Linux \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 94ec20d97aa51547965a539f660a1fe79c6929a3; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< a12d81a9cc2a012a24ecb7f9ba076b9f7c179bd3; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 75c0ad13e136961328253742501b4efc3988a587; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< bf20c94fa6aaff945f0ae3a23f3212cd299f28d9; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 8a5eba992c862b0c94411eecf9b7121e8636db38; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 7f1f24c367938c5537e2308bf9a965f051d14774; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 30adce93d5c4a5a1ec29d9249e3fdfcc391d406b; 25c95c6bd4dc50a3c20de0fa7f450ea02b2320fc; 4a47581cf010dc351d8069978080fdb000c0776d; d9fe88b2a38dc700bf5bd3a09c7cd11bbc248367; …
- Anyone running Linux 5.10

## 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.

## Affected and fixed versions

- Linux: \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 94ec20d97aa51547965a539f660a1fe79c6929a3; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< a12d81a9cc2a012a24ecb7f9ba076b9f7c179bd3; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 75c0ad13e136961328253742501b4efc3988a587; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< bf20c94fa6aaff945f0ae3a23f3212cd299f28d9; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 8a5eba992c862b0c94411eecf9b7121e8636db38; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 7f1f24c367938c5537e2308bf9a965f051d14774; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 30adce93d5c4a5a1ec29d9249e3fdfcc391d406b; 25c95c6bd4dc50a3c20de0fa7f450ea02b2320fc; 4a47581cf010dc351d8069978080fdb000c0776d; d9fe88b2a38dc700bf5bd3a09c7cd11bbc248367; … (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64345. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64345.md
Affected: Linux >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 94ec20d97aa51547965a539f660a1fe79c6929a3; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < a12d81a9cc2a012a24ecb7f9ba076b9f7c179bd3; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 75c0ad13e136961328253742501b4efc3988a587; >= e8d5f92b8d30bb4ade76494…
Fixed in: Linux 94ec20d97aa51547965a539f660a1fe79c6929a3, Linux 75c0ad13e136961328253742501b4efc3988a587, Linux 8a5eba992c862b0c94411eecf9b7121e8636db38, Linux 7f1f24c367938c5537e2308bf9a965f051d14774, Linux 30adce93d5c4a5a1ec29d9249e3fdfcc391d406b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64345 being exploited?

There is no confirmed exploitation: CVE-2026-64345 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64345?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64345?

Linux \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 94ec20d97aa51547965a539f660a1fe79c6929a3; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< a12d81a9cc2a012a24ecb7f9ba076b9f7c179bd3; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 75c0ad13e136961328253742501b4efc3988a587; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< bf20c94fa6aaff945f0ae3a23f3212cd299f28d9; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 8a5eba992c862b0c94411eecf9b7121e8636db38; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 7f1f24c367938c5537e2308bf9a965f051d14774; \>= e8d5f92b8d30bb4ade76494490c3c065e12411b1, \< 30adce93d5c4a5a1ec29d9249e3fdfcc391d406b; 25c95c6bd4dc50a3c20de0fa7f450ea02b2320fc; 4a47581cf010dc351d8069978080fdb000c0776d; d9fe88b2a38dc700bf5bd3a09c7cd11bbc248367; …; Linux 5.10.

### Is there a fix for CVE-2026-64345?

Yes. Fixed in Linux 94ec20d97aa51547965a539f660a1fe79c6929a3, Linux 75c0ad13e136961328253742501b4efc3988a587, Linux 8a5eba992c862b0c94411eecf9b7121e8636db38, Linux 7f1f24c367938c5537e2308bf9a965f051d14774, Linux 30adce93d5c4a5a1ec29d9249e3fdfcc391d406b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-64345?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/94ec20d97aa51547965a539f660a1fe79c6929a3>
- patch: <https://git.kernel.org/stable/c/75c0ad13e136961328253742501b4efc3988a587>
- patch: <https://git.kernel.org/stable/c/bf20c94fa6aaff945f0ae3a23f3212cd299f28d9>
- patch: <https://git.kernel.org/stable/c/8a5eba992c862b0c94411eecf9b7121e8636db38>
- patch: <https://git.kernel.org/stable/c/7f1f24c367938c5537e2308bf9a965f051d14774>
- patch: <https://git.kernel.org/stable/c/30adce93d5c4a5a1ec29d9249e3fdfcc391d406b>
- other: <https://git.kernel.org/stable/c/a12d81a9cc2a012a24ecb7f9ba076b9f7c179bd3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64345>

HTML: <https://flawdb.com/CVE-2026-64345> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64345>
