In the Linux kernel, the following vulnerability has been resolved:
rpmsg: Fix possible refcount leak in rpmsgregisterdevice_override()
rpmsgregisterdeviceoverride need to call putdevice to free vch when driversetoverride fails.
Fix this by adding a put_device() to the error path.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50119.json"
}