CVE-2022-50119

Source
https://cve.org/CVERecord?id=CVE-2022-50119
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50119.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50119
Downstream
Published
2025-06-18T11:02:49.264Z
Modified
2026-04-02T08:28:14.486968Z
Summary
rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50119.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b585daa34a0a852e6d5e553132b411b6a0192d27
Fixed
280ae5a028ef5d14ef9277746a3026a30aaebe4f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c14c6676ad5b78950a45121a7ee6cfb85778e71f
Fixed
c449b28e437d18ae807479c4ac6b69d87b287c79
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3d14785980571ebb313a976e589b9d3563adc704
Fixed
01e6885b75e25a2dd0726455ef18ef9ce5e7dc87
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5f1bb9f4d4b55c39180329c4e379aa740039eed3
Fixed
3fdd5b2bb09fc2b5bf3504778f51c89bb48c097f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bfd4a664ddfbe12f008efb0b0ab6bf25a8ab2538
Fixed
d4c8bf5635c4bedaf2470761ced1f502b2d5434e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bb17d110cbf270d5247a6e261c5ad50e362d1675
Fixed
c29335612ff44df979678a38e1f55c62004f421c
Fixed
d7bd416d35121c95fe47330e09a5c04adbc5f928

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50119.json"