usb: gadget: f_printer: take kref only for successful open
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.4.241 to before 4.5; 4.9.241 to before 4.10; 4.14.203 to before 4.15; 4.19.154 to before 4.20; 5.4.73 to before 5.5; 5.8.17 to before 5.9; 5.9.2 to before 5.10 | 4.5, 4.10, 4.15, 4.20, 5.5, 5.9, 5.10 | Patch available | CNA |
| Linux | Linux | 5.10 and later | 5.10.261, 6.1.191, 6.6.145, 6.12.96, 6.18.39, 7.1.4, 7.2 | Patch available | CNA |
- Linux VendorLinux Affected 4.4.241 to before 4.5; 4.9.241 to before 4.10; 4.14.203 to before 4.15; 4.19.154 to before 4.20; 5.4.73 to before 5.5; 5.8.17 to before 5.9; 5.9.2 to before 5.10 Fixed in 4.5, 4.10, 4.15, 4.20, 5.5, 5.9, 5.10 Patch available CNA
- Linux VendorLinux Affected 5.10 and later Fixed in 5.10.261, 6.1.191, 6.6.145, 6.12.96, 6.18.39, 7.1.4, 7.2 Patch available CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.4.241 to before 4.5; 4.9.241 to before 4.10; 4.14.203 to before 4.15; 4.19.154 to before 4.20; 5.4.73 to before 5.5; 5.8.17 to before 5.9; 5.9.2 to before 5.10.261; 5.11 to before 6.6.145; 6.7 to before 6.12.96; 6.13 to before 6.18.39; 6.19 to before 7.1.4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:* | 7.2 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:* | 7.2 rc2 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.4.241 to before 4.5; 4.9.241 to before 4.10; 4.14.203 to before 4.15; 4.19.154 to before 4.20; 5.4.73 to before 5.5; 5.8.17 to before 5.9; 5.9.2 to before 5.10.261; 5.11 to before 6.6.145; 6.7 to before 6.12.96; 6.13 to before 6.18.39; 6.19 to before 7.1.4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:7.2:rc1:*:*:*:*:*:* Versions 7.2 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:7.2:rc2:*:*:*:*:*:* Versions 7.2 rc2 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.5, 4.10, 4.15, 4.20, 5.5, 5.9, 5.10
- Fix · CNA Linux (Linux) Fixed in 5.10.261, 6.1.191, 6.6.145, 6.12.96, 6.18.39, 7.1.4, 7.2
Vendor assessments
Red Hat
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2026-64345
- 2026-10-03 Alias added: GHSA-j7g9-89xm-vfhf
- 2026-10-30 Fix available: Linux/[email protected], Linux/Linux@a12d81a9cc2a012a24ecb7f9ba076b9f7c179bd3 · CNA
- 2026-10-30 1 new reference · CNA
References
Patch 6
- 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
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2026-64345 · CVE Program
- CVE-2026-64345 · NVD
- FIRST EPSS
- GHSA-j7g9-89xm-vfhf · GitHub Advisory Database · CC BY 4.0
- CVE-2026-64345 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences