CVE-2026-64345
usb: gadget: f_printer: take kref only for successful open
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- Linux >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 94ec20d97aa51547965a539f660a1fe79c6929a3; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < a12d81a9cc2a012a24ecb7f9ba076b9f7c179bd3; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 75c0ad13e136961328253742501b4efc3988a587; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < bf20c94fa6aaff945f0ae3a23f3212cd299f28d9; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 8a5eba992c862b0c94411eecf9b7121e8636db38; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 7f1f24c367938c5537e2308bf9a965f051d14774; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 30adce93d5c4a5a1ec29d9249e3fdfcc391d406b; 25c95c6bd4dc50a3c20de0fa7f450ea02b2320fc; 4a47581cf010dc351d8069978080fdb000c0776d; d9fe88b2a38dc700bf5bd3a09c7cd11bbc248367; …; Linux 5.10
- Fixed in
- Linux 94ec20d97aa51547965a539f660a1fe79c6929a3, Linux 75c0ad13e136961328253742501b4efc3988a587, Linux 8a5eba992c862b0c94411eecf9b7121e8636db38, Linux 7f1f24c367938c5537e2308bf9a965f051d14774, Linux 30adce93d5c4a5a1ec29d9249e3fdfcc391d406b
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 94ec20d97aa51547965a539f660a1fe79c6929a3; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < a12d81a9cc2a012a24ecb7f9ba076b9f7c179bd3; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 75c0ad13e136961328253742501b4efc3988a587; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < bf20c94fa6aaff945f0ae3a23f3212cd299f28d9; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 8a5eba992c862b0c94411eecf9b7121e8636db38; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 7f1f24c367938c5537e2308bf9a965f051d14774; >= e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 30adce93d5c4a5a1ec29d9249e3fdfcc391d406b; 25c95c6bd4dc50a3c20de0fa7f450ea02b2320fc; 4a47581cf010dc351d8069978080fdb000c0776d; d9fe88b2a38dc700bf5bd3a09c7cd11bbc248367; … | — | cvelist |
| Linux | 5.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- https://git.kernel.org/stable/c/94ec20d97aa51547965a539f660a1fe79c6929a3
- https://git.kernel.org/stable/c/75c0ad13e136961328253742501b4efc3988a587
- https://git.kernel.org/stable/c/bf20c94fa6aaff945f0ae3a23f3212cd299f28d9
- https://git.kernel.org/stable/c/8a5eba992c862b0c94411eecf9b7121e8636db38
- https://git.kernel.org/stable/c/7f1f24c367938c5537e2308bf9a965f051d14774
- https://git.kernel.org/stable/c/30adce93d5c4a5a1ec29d9249e3fdfcc391d406b
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.