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

VectorAV: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

Weakness Enumeration

Related Identifiers

BDU:2026-03840
CVE-2022-50421
RHSA-2025:6966
RHSA-2025_6966

Affected Products

Linux Kernel
Red Hat