Linux Kernel up to 7.2-rc2 USB Gadget Printer f_printer.c printer_open return value

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.8$0-$5k3.20

Summaryinfo

A vulnerability was found in Linux Kernel up to 7.2-rc2. It has been classified as problematic. This affects the function printer_open of the file f_printer.c of the component USB Gadget Printer. This manipulation causes return value. This vulnerability appears as CVE-2026-64345. The attack requires local access. There is no available exploit.

Detailsinfo

A vulnerability has been found in Linux Kernel up to 7.2-rc2 and classified as problematic. Affected by this vulnerability is the function printer_open of the file f_printer.c of the component USB Gadget Printer. The manipulation with an unknown input leads to a return value vulnerability. The CWE definition for the vulnerability is CWE-252. The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions. As an impact it is known to affect availability. The summary by CVE is:

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.

It is possible to read the advisory at git.kernel.org. This vulnerability is known as CVE-2026-64345 since 07/19/2026. The exploitation appears to be easy. Attacking locally is a requirement. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 07/25/2026).

Upgrading to version 5.10.261, 6.6.145, 6.12.96, 6.18.39, 7.1.4 or 7.2-rc3 eliminates this vulnerability. Applying the patch 94ec20d97aa51547965a539f660a1fe79c6929a3/75c0ad13e136961328253742501b4efc3988a587/bf20c94fa6aaff945f0ae3a23f3212cd299f28d9/8a5eba992c862b0c94411eecf9b7121e8636db38/7f1f24c367938c5537e2308bf9a965f051d14774/30adce93d5c4a5a1ec29d9249e3fdfcc391d406b is able to eliminate this problem.

Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.0
VulDB Meta Temp Score: 4.8

VulDB Base Score: 5.0
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Return value
CWE: CWE-252 / CWE-253
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 5.10.261/6.6.145/6.12.96/6.18.39/7.1.4/7.2-rc3
Patch: 94ec20d97aa51547965a539f660a1fe79c6929a3/75c0ad13e136961328253742501b4efc3988a587/bf20c94fa6aaff945f0ae3a23f3212cd299f28d9/8a5eba992c862b0c94411eecf9b7121e8636db38/7f1f24c367938c5537e2308bf9a965f051d14774/30adce93d5c4a5a1ec29d9249e3fdfcc391d406b

Timelineinfo

07/19/2026 CVE reserved
07/25/2026 +6 days Advisory disclosed
07/25/2026 +0 days VulDB entry created
07/25/2026 +0 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2026-64345 (🔒)
GCVE (CVE): GCVE-0-2026-64345
GCVE (VulDB): GCVE-100-383143

Entryinfo

Created: 07/25/2026 16:33
Changes: 07/25/2026 16:33 (60)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!