<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 28 Sep 2026 09:26:28 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50421 — rpmsg: char: Avoid double destroy of default endpoint</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-50421</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;rpmsg: char: Avoid double destroy of default endpoint&lt;/p&gt;
&lt;p&gt;The rpmsg_dev_remove() in rpmsg_core is the place for releasing
this default endpoint.&lt;/p&gt;
&lt;p&gt;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-&amp;gt;refcount report warning:&lt;/p&gt;
&lt;p&gt;refcount_t: underflow; use-after-free.&lt;/p&gt;
&lt;p&gt;Call trace:
 refcount_warn_saturate+0xf8/0x150
 virtio_rpmsg_destroy_ept+0xd4/0xec
 rpmsg_dev_remove+0x60/0x70&lt;/p&gt;
&lt;p&gt;The issue can be reproduced by stopping remoteproc before
closing the /dev/rpmsgX.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;rpmsg: char: Avoid double destroy of default endpoint&lt;/p&gt;
&lt;p&gt;The rpmsg_dev_remove() in rpmsg_core is the place for releasing
this default endpoint.&lt;/p&gt;
&lt;p&gt;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-&amp;gt;refcount report warning:&lt;/p&gt;
&lt;p&gt;refcount_t: underflow; use-after-free.&lt;/p&gt;
&lt;p&gt;Call trace:
 refcount_warn_saturate+0xf8/0x150
 virtio_rpmsg_destroy_ept+0xd4/0xec
 rpmsg_dev_remove+0x60/0x70&lt;/p&gt;
&lt;p&gt;The issue can be reproduced by stopping remoteproc before
closing the /dev/rpmsgX.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-50421</guid>
    </item>
  </channel>
</rss>
