CVE-2022-49310Published Feb 26, 2025 · Feb 26Updated Oct 28
char: xillybus: fix a refcount leak in cleanup_dev()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
char: xillybus: fix a refcount leak in cleanup_dev()
usb_get_dev is called in xillyusb_probe. So it is better to call usb_put_dev before xdev is released.
From the CVE record · Linux
The Linux kernel’s xillybus driver has a reference count leak in cleanup_dev(): a USB device reference acquired in xillyusb_probe is not released before xdev is freed. The input does not specify whether an attacker can trigger the leak, or any access or user-interaction requirements.
Engineers running Linux kernels with the xillybus driver should check their deployments; affected versions are not specified.