CVE-2026-64345: Linux kernel · usb: gadget: f_printer: take kref only for successful open
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 25 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to address this issue by adjusting the reference counting logic in printer_open(). Users should apply the official kernel updates that include this fix once available.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2026-64345 (opens in a new tab)
- git.kernel.org/stable/c/30adce93d5c4a5a1ec29d9249e3fdfcc391d406b (opens in a new tab)
- git.kernel.org/stable/c/75c0ad13e136961328253742501b4efc3988a587 (opens in a new tab)
- git.kernel.org/stable/c/7f1f24c367938c5537e2308bf9a965f051d14774 (opens in a new tab)
- git.kernel.org/stable/c/8a5eba992c862b0c94411eecf9b7121e8636db38 (opens in a new tab)
- git.kernel.org/stable/c/94ec20d97aa51547965a539f660a1fe79c6929a3 (opens in a new tab)
- git.kernel.org/stable/c/bf20c94fa6aaff945f0ae3a23f3212cd299f28d9 (opens in a new tab)