CVE-2026-64345
usb: gadget: f_printer: take kref only for successful open
Check your servers for CVE-2026-64345
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64345 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.99% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e8d5f92b8d30bb4ade76494490c3c065e12411b1, before 94ec20d97aa51547965a539f660a1fe79c6929a3 affected from e8d5f92b8d30bb4ade76494490c3c065e12411b1, before a12d81a9cc2a012a24ecb7f9ba076b9f7c179bd3 affected from e8d5f92b8d30bb4ade76494490c3c065e12411b1, before 75c0ad13e136961328253742501b4efc3988a587 affected from e8d5f92b8d30bb4ade76494490c3c065e12411b1, before bf20c94fa6aaff945f0ae3a23f3212cd299f28d9 affected from e8d5f92b8d30bb4ade76494490c3c065e12411b1, before 8a5eba992c862b0c94411eecf9b7121e8636db38 affected from e8d5f92b8d30bb4ade76494490c3c065e12411b1, before 7f1f24c367938c5537e2308bf9a965f051d14774 affected from e8d5f92b8d30bb4ade76494490c3c065e12411b1, before 30adce93d5c4a5a1ec29d9249e3fdfcc391d406b affected 25c95c6bd4dc50a3c20de0fa7f450ea02b2320fc affected 4a47581cf010dc351d8069978080fdb000c0776d affected d9fe88b2a38dc700bf5bd3a09c7cd11bbc248367 affected cedb0187b8ba929c3f76f28e6bc25804d65f8a54 affected e9e791f5c39ab30e374a3b1a9c25ca7ff24988f3 affected 34f026263889e2827e04acdc3a0eb9ecbd191ef0 affected 5f845e5d18d151230476cf90aa46449f69ba2ef1 affected from 4.4.241, before 4.5 affected from 4.9.241, before 4.10 affected from 4.14.203, before 4.15 affected from 4.19.154, before 4.20 affected from 5.4.73, before 5.5 affected from 5.8.17, before 5.9 affected from 5.9.2, before 5.10
Other versions: unaffected
|
| Linux |
affected 5.10 unaffected before 5.10 unaffected from 5.10.261 up to and including 5.10.* unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.96 up to and including 6.12.* unaffected from 6.18.39 up to and including 6.18.* unaffected from 7.1.4 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64345 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64345
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-64345
trivy image --scanners vuln IMAGE | grep CVE-2026-64345
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/94ec20d97aa51547965a539f660a1fe79c6929a3 git.kernel.org
- https://git.kernel.org/stable/c/a12d81a9cc2a012a24ecb7f9ba076b9f7c179bd3 git.kernel.org
- https://git.kernel.org/stable/c/75c0ad13e136961328253742501b4efc3988a587 git.kernel.org
- https://git.kernel.org/stable/c/bf20c94fa6aaff945f0ae3a23f3212cd299f28d9 git.kernel.org
- https://git.kernel.org/stable/c/8a5eba992c862b0c94411eecf9b7121e8636db38 git.kernel.org
- https://git.kernel.org/stable/c/7f1f24c367938c5537e2308bf9a965f051d14774 git.kernel.org
- https://git.kernel.org/stable/c/30adce93d5c4a5a1ec29d9249e3fdfcc391d406b git.kernel.org
Source: the record CVE-2026-64345 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse