In the Linux kernel, the following vulnerability has been resolved:
rapidio: devices: fix missing putdevice in mportcdev_open
When kfifoalloc fails, the refcount of chdev->dev is left incremental. We should use putdevice(&chdev->dev) to decrease the ref count of chdev->dev to avoid refcount leak.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50810.json",
"cna_assigner": "Linux"
}