CVEvulnerability

CVE-2026-64345

5.5 MEDIUM Published 2026-07-25 Modified 2026-09-03 Official page ↗
Status
Analyzed
Published
2026-07-25
Last modified
2026-09-03
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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 configurations

• linux linux kernel (>= 4.4.241 < 4.5) • linux linux kernel (>= 4.9.241 < 4.10) • linux linux kernel (>= 4.14.203 < 4.15) • linux linux kernel (>= 4.19.154 < 4.20) • linux linux kernel (>= 5.4.73 < 5.5) • linux linux kernel (>= 5.8.17 < 5.9) • linux linux kernel (>= 5.9.2 < 5.10.261) • linux linux kernel (>= 5.11 < 6.6.145) • linux linux kernel (>= 6.7 < 6.12.96) • linux linux kernel (>= 6.13 < 6.18.39) • linux linux kernel (>= 6.19 < 7.1.4) • linux linux kernel 7.2

References