Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-64345

medium

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_printer: take kref only for successful open printer_open() returns -EBUSY…

Vendor / product: Linux — linux kernel

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.

CVSS
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2026-07-25 10:17
Modified: 2026-10-30 13:19
NVD status: Modified
Last synced 3 days ago
Verified against the source API 2026-10-30 13:38 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

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

Weakness classification (CWE)

NVD-CWE-noinfo

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/30adce93d5c4a5a1ec29d9249e3fdfcc391d406b
Patch / mitigation: https://git.kernel.org/stable/c/75c0ad13e136961328253742501b4efc3988a587
Patch / mitigation: https://git.kernel.org/stable/c/7f1f24c367938c5537e2308bf9a965f051d14774
Patch / mitigation: https://git.kernel.org/stable/c/8a5eba992c862b0c94411eecf9b7121e8636db38
Patch / mitigation: https://git.kernel.org/stable/c/94ec20d97aa51547965a539f660a1fe79c6929a3
Patch / mitigation: https://git.kernel.org/stable/c/bf20c94fa6aaff945f0ae3a23f3212cd299f28d9

References

Data sources

NVD CVE API 2.0 — fetched 2026-10-30 13:38 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs