CVE-2026-64345
usb: gadget: f_printer: take kref only for successful open
Reported by linux · Published July 25, 2026
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.
EPSS 0.12% · 2.0th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 7.1.4, 6.18.39, 6.12.96, 6.6.145, 5.10.261, 5.9, 5.5, 4.20, 4.15, 4.10, 4.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e8d5f92b8d30bb4ade76494490c3c065e12411b1, e8d5f92b8d30bb4ade76494490c3c065e12411b1, e8d5f92b8d30bb4ade76494490c3c065e12411b1 |
| Linux | Linux | 5.10, 0, 5.10.261 |
| linux | linux_kernel | 5.10, 5.10, 5.10 |
| Linux | Linux | *, *, * |
Timeline
- Jul 25, 2026 EPSS Score (7 in total, the first dated here)
- Jul 25, 2026 Coalition ESS Score
- Jul 25, 2026 CVE Published
- Jul 26, 2026 Security Advisory (20 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (21 in total, the first dated here)
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64345
vulnetix vdb fixes CVE-2026-64345
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64345/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart