CVE-2022-50119Published Jun 18, 2025 · Jun 18Updated Oct 28
rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ bb17d110cbf270d5247a6e261c5ad50e362d1675 · < c29335612ff44df979678a38e1f55c62004f421c| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's rpmsg_register_device_override() can leak a device reference when driver_set_override() fails. The input does not describe an attacker action or specify access, authentication, or user-interaction conditions.
Engineers running the Linux kernel should check their versions; affected versions are not specified in the input.