CVE-2022-50810 rapidio: devices: fix missing put_device in mport_cdev_open
A missing put_device call in the Linux kernel RapidIO driver causes a reference count leak, potentially leading to resource exhaustion and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50810?
CVE-2022-50810 is a denial of service vulnerability in Linux, published on 30 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2022-50810?
How do I fix CVE-2022-50810?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-50810 being exploited?
There is no known exploitation of CVE-2022-50810 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2022-50810, GHSA-jh5x-pfx2-p8c8, UBUNTU-CVE-2022-50810.