CVE-2022-50810Published Dec 30, 2025 · Dec 30Updated Oct 28
rapidio: devices: fix missing put_device in mport_cdev_open
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e8de370188d098bb49483c287b44925957c3c9b6 · < a0d93aac54ce07a7cc71e90645d0cdabbda50450| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
rapidio: devices: fix missing put_device in mport_cdev_open
When kfifo_alloc fails, the refcount of chdev->dev is left incremental. We should use put_device(&chdev->dev) to decrease the ref count of chdev->dev to avoid refcount leak.
From the CVE record · Linux
The Linux kernel’s RapidIO device code leaks a device reference when kfifo_alloc fails in mport_cdev_open. The input does not establish how an attacker could trigger this failure or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the affected RapidIO device code should check their kernel versions; affected versions were not provided.