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 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
from e8d5f92b8d30bb4ade76494490c3c065e12411b1 before 94ec20d97aa51547965a539f660a1fe79c6929a3; from e8d5f92b8d30bb4ade76494490c3c065e12411b1 before 75c0ad13e136961328253742501b4efc3988a587; from e8d5f92b8d30bb4ade76494490c3c065e12411b1 before bf20c94fa6aaff945f0ae3a23f3212cd299f28d9; from e8d5f92b8d30bb4ade76494490c3c065e12411b1 before 8a5eba992c862b0c94411eecf9b7121e8636db38; from e8d5f92b8d30bb4ade76494490c3c065e12411b1 before 7f1f24c367938c5537e2308bf9a965f051d14774; from e8d5f92b8d30bb4ade76494490c3c065e12411b1 before 30adce93d5c4a5a1ec29d9249e3fdfcc391d406b; 25c95c6bd4dc50a3c20de0fa7f450ea02b2320fc; 4a47581cf010dc351d8069978080fdb000c0776d; and 12 more ranges
from 4.4.241 before 4.5; from 4.9.241 before 4.10; from 4.14.203 before 4.15; from 4.19.154 before 4.20; from 5.4.73 before 5.5; from 5.8.17 before 5.9; from 5.9.2 before 5.10.261; from 5.11 before 6.6.145; and 5 more ranges
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.
Printed from infosecsignals.com. Every record links back to the agency that published it.
Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.