<?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>Wed, 30 Sep 2026 17:30:37 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-50561 — iio: fix memory leak in iio_device_register_eventset()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-50561</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;iio: fix memory leak in iio_device_register_eventset()&lt;/p&gt;
&lt;p&gt;When iio_device_register_sysfs_group() returns failed,
iio_device_register_eventset() needs to free attrs array.&lt;/p&gt;
&lt;p&gt;Otherwise, kmemleak would scan &amp;amp; report memory leak as below:&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff88810a1cc3c0 (size 32):
  comm &amp;#34;100-i2c-vcnl302&amp;#34;, pid 728, jiffies 4295052307 (age 156.027s)
  backtrace:
    __kmalloc+0x46/0x1b0
    iio_device_register_eventset at drivers/iio/industrialio-event.c:541
    __iio_device_register at drivers/iio/industrialio-core.c:1959
    __devm_iio_device_register at drivers/iio/industrialio-core.c:2040&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;iio: fix memory leak in iio_device_register_eventset()&lt;/p&gt;
&lt;p&gt;When iio_device_register_sysfs_group() returns failed,
iio_device_register_eventset() needs to free attrs array.&lt;/p&gt;
&lt;p&gt;Otherwise, kmemleak would scan &amp;amp; report memory leak as below:&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff88810a1cc3c0 (size 32):
  comm &amp;#34;100-i2c-vcnl302&amp;#34;, pid 728, jiffies 4295052307 (age 156.027s)
  backtrace:
    __kmalloc+0x46/0x1b0
    iio_device_register_eventset at drivers/iio/industrialio-event.c:541
    __iio_device_register at drivers/iio/industrialio-core.c:1959
    __devm_iio_device_register at drivers/iio/industrialio-core.c:2040&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-50561</guid>
    </item>
  </channel>
</rss>
