CVE-2026-64345: usb: gadget: f_printer: take kref only for successful open
Vulnerability summary
CVE-2026-64345 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 2% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 35 · Related 32Timeline
- 25-07-2026PublishedVulnerability first disclosed.
- 30-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.12%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.12% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu169 products
- linuxAll versions (No fix recorded) | < 6.8.0-147.147 | < 7.0.0-31.31
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1067.70 | < 7.0.0-1012.12
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linuxAll versions (No fix recorded) | < 6.1.192-1 | < 6.12.96-1 | < 7.1.4-1
- linux-6.12< 6.12.100-1~deb12u1
Linux2 products
- linux≥ e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 94ec20d97aa51547965a539f660a1fe79c6929a3 | ≥ e8d5f92b8d30bb4ade76494490c3c065e12411b1, < a12d81a9cc2a012a24ecb7f9ba076b9f7c179bd3 | ≥ e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 75c0ad13e136961328253742501b4efc3988a587 | ≥ e8d5f92b8d30bb4ade76494490c3c065e12411b1, < bf20c94fa6aaff945f0ae3a23f3212cd299f28d9 | ≥ e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 8a5eba992c862b0c94411eecf9b7121e8636db38 | ≥ e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 7f1f24c367938c5537e2308bf9a965f051d14774 | ≥ e8d5f92b8d30bb4ade76494490c3c065e12411b1, < 30adce93d5c4a5a1ec29d9249e3fdfcc391d406b | 25c95c6bd4dc50a3c20de0fa7f450ea02b2320fc | 4a47581cf010dc351d8069978080fdb000c0776d | d9fe88b2a38dc700bf5bd3a09c7cd11bbc248367 | cedb0187b8ba929c3f76f28e6bc25804d65f8a54 | e9e791f5c39ab30e374a3b1a9c25ca7ff24988f3 | 34f026263889e2827e04acdc3a0eb9ecbd191ef0 | 5f845e5d18d151230476cf90aa46449f69ba2ef1 | ≥ 4.4.241, < 4.5 | ≥ 4.9.241, < 4.10 | ≥ 4.14.203, < 4.15 | ≥ 4.19.154, < 4.20 | ≥ 5.4.73, < 5.5 | ≥ 5.8.17, < 5.9 | ≥ 5.9.2, < 5.10 | 5.10
- linux_kernel≥ 4.4.241, < 4.5 | ≥ 4.9.241, < 4.10 | ≥ 4.14.203, < 4.15 | ≥ 4.19.154, < 4.20 | ≥ 5.4.73, < 5.5 | ≥ 5.8.17, < 5.9 | ≥ 5.9.2, < 5.10.261 | ≥ 5.11, < 6.6.145 | ≥ 6.7, < 6.12.96 | ≥ 6.13, < 6.18.39 | ≥ 6.19, < 7.1.4 | 7.2:rc1 | 7.2:rc2
3 vendors · 173 products