CVE-2026-64345

usb: gadget: f_printer: take kref only for successful open

MEDIUM
5.5
CVSS Score
Published: July 25, 2026 at 08:50 AM UTC
Updated: September 3, 2026 at 04:24 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 4.14.203v ≥ 4.19.154v ≥ 4.4.241v ≥ 4.9.241v ≥ 5.4.73v ≥ 5.8.17v ≥ 5.9.24.14.203 ≤ v < 4.154.19.154 ≤ v < 4.204.4.241 ≤ v < 4.54.9.241 ≤ v < 4.105.10 ≤ v < 5.10.2615.10 ≤ v < 6.12.965.10 ≤ v < 6.18.395.10 ≤ v < 6.6.1455.10 ≤ v < 7.1.45.10 ≤ v < 7.25.11 ≤ v < 6.6.1455.4.73 ≤ v < 5.55.8.17 ≤ v < 5.95.9.2 ≤ v < 5.105.9.2 ≤ v < 5.10.2616.13 ≤ v < 6.18.396.19 ≤ v < 7.1.46.7 ≤ v < 6.12.9625c95c6bd4dc50a3c20de0fa7f450ea02b2320fc34f026263889e2827e04acdc3a0eb9ecbd191ef04.14.2034.19.1544.4.2414.9.2414a47581cf010dc351d8069978080fdb000c0776d5.4.735.8.175.9.25f845e5d18d151230476cf90aa46449f69ba2ef17.2 rc17.2 rc2cedb0187b8ba929c3f76f28e6bc25804d65f8a54d9fe88b2a38dc700bf5bd3a09c7cd11bbc248367e8d5f92b8d30bb4ade76494490c3c065e12411b1e9e791f5c39ab30e374a3b1a9c25ca7ff24988f3
Vendor states this is fixed in 30adce93d5c4a5a1ec29d9249e3fdfcc391d406b (fixed)
Vendor states this is fixed in 75c0ad13e136961328253742501b4efc3988a587 (fixed)
Vendor states this is fixed in 7f1f24c367938c5537e2308bf9a965f051d14774 (fixed)
Vendor states this is fixed in 8a5eba992c862b0c94411eecf9b7121e8636db38 (fixed)
Vendor states this is fixed in 94ec20d97aa51547965a539f660a1fe79c6929a3 (fixed)
Vendor states this is fixed in bf20c94fa6aaff945f0ae3a23f3212cd299f28d9 (fixed)
Affected range stops below 4.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 5.10.261 (unaffected)
Affected range stops below 5.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.9, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.12.96 (unaffected)
Vendor states this is fixed in 6.18.39 (unaffected)
Vendor states this is fixed in 6.6.145 (unaffected)
Vendor states this is fixed in 7.1.4 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card