# CVE-2022-50810: rapidio: devices: fix missing put_device in mport_cdev_open

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 23% of CVEs (2026-12-01)
- Published: 2025-12-30T12:08:27.924Z
- Modified: 2026-06-17T05:24:13.727Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e8de370188d098bb49483c287b44925957c3c9b6 before 6e4540e0970030e140998ce8847f5f0171b5afa1; from e8de370188d098bb49483c287b44925957c3c9b6 before ae57222402bea455e60cc51d2f52ce73b63b7af8; from e8de370188d098bb49483c287b44925957c3c9b6 before dfee9fe93dd34cd9d49520718f6ec2072de25e48; from e8de370188d098bb49483c287b44925957c3c9b6 before bb7397f6312d2cbf05e415676ed5b1655cb82a34; from e8de370188d098bb49483c287b44925957c3c9b6 before 53915ecc43c5139d6cdd1caa4fdc9290b9597008; from e8de370188d098bb49483c287b44925957c3c9b6 before a0d93aac54ce07a7cc71e90645d0cdabbda50450; from e8de370188d098bb49483c287b44925957c3c9b6 before 162433a96079bfa5ec748c486b4570f138d04fb5; from e8de370188d098bb49483c287b44925957c3c9b6 before b596242585984b5f3085aa8f7a82c65640b384b6; from e8de370188d098bb49483c287b44925957c3c9b6 before d5b6e6eba3af11cb2a2791fa36a2524990fcde1a; 4.6 (not affected: before 4.6; from 4.9.337 up to 4.9.*; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)

## References

- <https://git.kernel.org/stable/c/6e4540e0970030e140998ce8847f5f0171b5afa1>
- <https://git.kernel.org/stable/c/ae57222402bea455e60cc51d2f52ce73b63b7af8>
- <https://git.kernel.org/stable/c/dfee9fe93dd34cd9d49520718f6ec2072de25e48>
- <https://git.kernel.org/stable/c/bb7397f6312d2cbf05e415676ed5b1655cb82a34>
- <https://git.kernel.org/stable/c/53915ecc43c5139d6cdd1caa4fdc9290b9597008>
- <https://git.kernel.org/stable/c/a0d93aac54ce07a7cc71e90645d0cdabbda50450>
- <https://git.kernel.org/stable/c/162433a96079bfa5ec748c486b4570f138d04fb5>
- <https://git.kernel.org/stable/c/b596242585984b5f3085aa8f7a82c65640b384b6>
- <https://git.kernel.org/stable/c/d5b6e6eba3af11cb2a2791fa36a2524990fcde1a>

## Sources

- CVE List: [CVE-2022-50810](https://www.cve.org/CVERecord?id=CVE-2022-50810), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50810](https://nvd.nist.gov/vuln/detail/CVE-2022-50810), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50810 · Whole record: https://cve.day/CVE-2022-50810.json · Rebuilt by cve.day 2026-11-25T22:58:21.364Z
