Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-50421

published high CVSS 3.1 · 7.8

rpmsg: char: Avoid double destroy of default endpoint

Published
01 Oct 2025, 11:41:54 UTC
Updated
05 Aug 2026, 08:58:44 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxbea9b79c2d10fecf7bfa26e212ecefe61d232e39 to < ef828a39d6a7028836eaf37df3ad568c8c2dd6f9 · bea9b79c2d10fecf7bfa26e212ecefe61d232e39 to < 3f20ef7a845c2c8d7ec82ecffa20d95cab5ecfeb · bea9b79c2d10fecf7bfa26e212ecefe61d232e39 to < 467233a4ac29b215d492843d067a9f091e6bf0c5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 5.19.17 through 5.19.* (unaffected · semver) · 6.0.3 through 6.0.* (unaffected · semver) · 6.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-cores390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-corex86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extras390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrax86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debug-uki-virtx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfos390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfox86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-aarch64aarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-ppc64leppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-s390xs390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-x86_64x86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-develaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-develppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-devels390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-develx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-devel-matcheds390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-docnoarch Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modulesaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modulesppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-moduless390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modulesx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreppc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-cores390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-corex86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-extraaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrappc64le Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-extras390x Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrax86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rtaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rtx86_64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64kaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debugaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-develaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-modulesaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-modules-coreaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debug-modules-extraaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966
Red Hat Enterprise Linux RHEL-9 kernel-rt-64k-debuginfoaarch64 Advisory build 5.14.0-570.12.1.el9_6 RHSA-2025:6966

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: rpmsg: char: Avoid double destroy of default endpoint The rpmsg_dev_remove() in rpmsg_core is the place for releasing this default endpoint. So need to avoid destroying the default endpoint in rpmsg_chrdev_eptdev_destroy(), this should be the same as rpmsg_eptdev_release(). Otherwise there will be double destroy issue that ept->refcount report warning: refcount_t: underflow; use-after-free. Call trace: refcount_warn_saturate+0xf8/0x150 virtio_rpmsg_destroy_ept+0xd4/0xec rpmsg_dev_remove+0x60/0x70 The issue can be reproduced by stopping remoteproc before closing the /dev/rpmsgX.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable path is reached only through local rpmsg char device operations (/dev/rpmsgX open plus channel/device teardown via remoteproc stop, NS_DESTROY, or RPMSG_RELEASE_DEV_IOCTL); it is not reachable from network packets or adjacent-link protocols. AC:L - With /dev/rpmsgX held open on a default_ept (rpmsg-raw) channel, device removal deterministically double-destroys the same endpoint in rpmsg_chrdev_eptdev_destroy then rpmsg_dev_remove; the attacker who opens the device and triggers teardown fully controls both steps with no race or external precondition. PR:L - On the platforms where RPMSG_CHAR is actually deployed (Android/QCOM, automotive, OpenAMP embedded), /dev/rpmsg* is routinely granted to non-root HALs/service users via udev/sepolicy, and those same contexts can drive channel release or remoteproc restart without full init-namespace root. UI:N - The attacker opens /dev/rpmsgX and triggers device removal themselves; no separate victim action such as mounting a filesystem or opening a crafted file is required. S:U - Impact is a host-kernel heap use-after-free of the rpmsg_endpoint within the same OS security authority, with no VM escape, IOMMU bypass, or other cross-boundary compromise. C:H - The first rpmsg_destroy_ept kfree's the default endpoint while rpdev->ept still points at it, so the second destroy is a classic UAF on a reclaimable slab object that per guidance enables arbitrary kernel memory disclosure. I:H - The same freed rpmsg_endpoint can be sprayed before the second destroy walks ept->ops/rpdev/refcount, yielding a heap corruption and control-flow hijack primitive consistent with UAF integrity High. A:H - The bug manifests as refcount underflow use-after-free (and kernel oops under KASAN); per guidance any UAF scores Availability High even when not fully exploited for code execution.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.8 high CISA-ADP · adp CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux bea9b79c2d10fecf7bfa26e212ecefe61d232e39 to < ef828a39d6a7028836eaf37df3ad568c8c2dd6f9 (affected · git)bea9b79c2d10fecf7bfa26e212ecefe61d232e39 to < 3f20ef7a845c2c8d7ec82ecffa20d95cab5ecfeb (affected · git)bea9b79c2d10fecf7bfa26e212ecefe61d232e39 to < 467233a4ac29b215d492843d067a9f091e6bf0c5 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.18 (affected)0 to < 5.18 (unaffected · semver)5.19.17 through 5.19.* (unaffected · semver)6.0.3 through 6.0.* (unaffected · semver)6.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-416 CWE-416 Use After Free (CISA-ADP · adp)

References

3

Provider assertions

2

Linux · cna

rpmsg: char: Avoid double destroy of default endpoint

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
d04d6e738decb6e7ff8d8cc455fbd7111577b79690c739af4c8344ea93200814
Ingested
23 Sep 2026, 08:04:48 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected