CVE-2022-50119

published 18 Jun 2025 · updated 11 May 2026

rpmsg: Fix possible refcount leak in rpmsg_register_device_override()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 01e6885b75e25a2dd0726455ef18ef9ce5e7dc87, Kernel 3fdd5b2bb09fc2b5bf3504778f51c89bb48c097f, Kernel 280ae5a028ef5d14ef9277746a3026a30aaebe4f and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.19, >=3d14785980571ebb313a976e589b9d3563adc704 <01e6885b75e25a2dd0726455ef18ef9ce5e7dc87, >=5f1bb9f4d4b55c39180329c4e379aa740039eed3 <3fdd5b2bb09fc2b5bf3504778f51c89bb48c097f, >=b585daa34a0a852e6d5e553132b411b6a0192d27 <280ae5a028ef5d14ef9277746a3026a30aaebe4f, >=bb17d110cbf270d5247a6e261c5ad50e362d1675 <c29335612ff44df979678a38e1f55c62004f421c, >=bb17d110cbf270d5247a6e261c5ad50e362d1675 <d7bd416d35121c95fe47330e09a5c04adbc5f928, >=bfd4a664ddfbe12f008efb0b0ab6bf25a8ab2538 <d4c8bf5635c4bedaf2470761ced1f502b2d5434e, >=c14c6676ad5b78950a45121a7ee6cfb85778e71f <c449b28e437d18ae807479c4ac6b69d87b287c7901e6885b75e25a2dd0726455ef18ef9ce5e7dc87, 3fdd5b2bb09fc2b5bf3504778f51c89bb48c097f, 280ae5a028ef5d14ef9277746a3026a30aaebe4f, c29335612ff44df979678a38e1f55c62004f421c, d7bd416d35121c95fe47330e09a5c04adbc5f928, d4c8bf5635c4bedaf2470761ced1f502b2d5434e, c449b28e437d18ae807479c4ac6b69d87b287c79

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50119 severity on Zeptric[![CVE-2022-50119](https://zeptric.io/badge/cve/CVE-2022-50119.svg)](https://zeptric.io/cve/CVE-2022-50119)