CVE-2026-64345 Details
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.
A vulnerability in the USB gadget function printer of the Linux kernel allows for a reference leak. The issue arises because the 'printer_open' function increments the device's reference count (kref) even when it fails to open the character device, leading to a permanent leak of references. This happens because the Virtual File System (VFS) does not call the 'release' method for unsuccessful opens. As a result, each failed attempt to open the device while it is already in use creates a lingering reference that is never released.
The vulnerability has been addressed by modifying the 'printer_open' function to only increment the reference count when the open operation is successful. Users can apply the latest patches from the Linux kernel stable tree to mitigate this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/30adce93d5c4a5a1ec29d9249e3fdfcc391d406b | kernel.org | Patch |
| https://git.kernel.org/stable/c/75c0ad13e136961328253742501b4efc3988a587 | kernel.org | Patch |
| https://git.kernel.org/stable/c/7f1f24c367938c5537e2308bf9a965f051d14774 | kernel.org | Patch |
| https://git.kernel.org/stable/c/8a5eba992c862b0c94411eecf9b7121e8636db38 | kernel.org | Patch |
| https://git.kernel.org/stable/c/94ec20d97aa51547965a539f660a1fe79c6929a3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/bf20c94fa6aaff945f0ae3a23f3212cd299f28d9 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux 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 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 3, 2026 | Initial Analysis | [email protected] |
| Aug 17, 2026 | CVE Modified | kernel.org |
| Jul 25, 2026 | New CVE Received | kernel.org |