PT-2025-40106 · Linux+1 · Linux Kernel+1
Published
2022-09-21
·
Updated
2025-10-01
·
CVE-2022-50421
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A flaw exists in the Linux kernel’s rpmsg subsystem related to the destruction of the default endpoint. Specifically, the
rpmsg dev remove() function in rpmsg core is responsible for releasing the default endpoint, but a double destroy issue can occur in rpmsg chrdev eptdev destroy(). This results in a use-after-free condition, indicated by a warning in ept->refcount. The issue is reproducible when stopping remoteproc before closing the /dev/rpmsgX device. The vulnerable function is rpmsg dev remove().Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel
Red Hat