What’s Vulnerable › Vulnerabilities

CVE-2022-50119: rpmsg: Fix possible refcount leak in rpmsg_register_device_override()

Description

In the Linux kernel, the following vulnerability has been resolved: rpmsg: Fix possible refcount leak in rpmsg_register_device_override() rpmsg_register_device_override need to call put_device to free vch when driver_set_override fails. Fix this by adding a put_device() to the error path.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.19.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50119 or the next vulnerability affects your stack