CVE-2022-50119
rpmsg: Fix possible refcount leak in rpmsg_register_device_override()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
5.19
References 7
git.kernel.org
- stable/c/280ae5a028ef5d14ef9277746a3026a30aaebe4f
- stable/c/c449b28e437d18ae807479c4ac6b69d87b287c79
- stable/c/01e6885b75e25a2dd0726455ef18ef9ce5e7dc87
- stable/c/3fdd5b2bb09fc2b5bf3504778f51c89bb48c097f
- stable/c/d4c8bf5635c4bedaf2470761ced1f502b2d5434e
- stable/c/c29335612ff44df979678a38e1f55c62004f421c
- stable/c/d7bd416d35121c95fe47330e09a5c04adbc5f928