Bug 2426251 (CVE-2022-50810) - CVE-2022-50810 kernel: rapidio: devices: fix missing put_device in mport_cdev_open
Summary: CVE-2022-50810 kernel: rapidio: devices: fix missing put_device in mport_cdev...
Keywords:
Status: NEW
Alias: CVE-2022-50810
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-30 13:19 UTC by OSIDB Bzimport
Modified: 2026-06-29 20:34 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-30 13:19:29 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.