CVE-2022-50119 json
rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
published 2025-06-18 16 mo ago modified 2026-06-17 4 mo ago also EUVD-2022-55385
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.19.2, 6.0
- linux Debian 14, Debian 13, Debian 12 6.0.2-1
debian advisories DEBIAN-CVE-2022-50119
- git.kernel.org/stable/c/280ae5a028ef5d14ef9277746a3026a30aaebe4f commit
- git.kernel.org/stable/c/c449b28e437d18ae807479c4ac6b69d87b287c79 commit
- git.kernel.org/stable/c/01e6885b75e25a2dd0726455ef18ef9ce5e7dc87 commit
- git.kernel.org/stable/c/3fdd5b2bb09fc2b5bf3504778f51c89bb48c097f commit
- git.kernel.org/stable/c/d4c8bf5635c4bedaf2470761ced1f502b2d5434e commit
- git.kernel.org/stable/c/c29335612ff44df979678a38e1f55c62004f421c commit
- git.kernel.org/stable/c/d7bd416d35121c95fe47330e09a5c04adbc5f928 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-50119 updated cvss 5.5
kernel: rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/280ae5a028ef5d14ef9277746a3026a30aaebe4f
patch
-
git.kernel.org
/stable/c/c449b28e437d18ae807479c4ac6b69d87b287c79
patch
-
git.kernel.org
/stable/c/01e6885b75e25a2dd0726455ef18ef9ce5e7dc87
patch
-
git.kernel.org
/stable/c/3fdd5b2bb09fc2b5bf3504778f51c89bb48c097f
patch
-
git.kernel.org
/stable/c/d4c8bf5635c4bedaf2470761ced1f502b2d5434e
patch
-
git.kernel.org
/stable/c/c29335612ff44df979678a38e1f55c62004f421c
patch
-
git.kernel.org
/stable/c/d7bd416d35121c95fe47330e09a5c04adbc5f928
patch
Sources
- CVE List CVE-2022-50119
- NVD CVE-2022-50119
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.