<?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>Sun, 04 Oct 2026 04:09:51 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-40107 — can: hi311x: fix null pointer dereference when resuming from sleep before interface was enabled</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-40107</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;can: hi311x: fix null pointer dereference when resuming from sleep before interface was enabled&lt;/p&gt;
&lt;p&gt;This issue is similar to the vulnerability in the `mcp251x` driver,
which was fixed in commit 03c427147b2d (&amp;#34;can: mcp251x: fix resume from
sleep before interface was brought up&amp;#34;).&lt;/p&gt;
&lt;p&gt;In the `hi311x` driver, when the device resumes from sleep, the driver
schedules `priv-&amp;gt;restart_work`. However, if the network interface was
not previously enabled, the `priv-&amp;gt;wq` (workqueue) is not allocated and
initialized, leading to a null pointer dereference.&lt;/p&gt;
&lt;p&gt;To fix this, we move the allocation and initialization of the workqueue
from the `hi3110_open` function to the `hi3110_can_probe` function.
This ensures that the workqueue is properly initialized before it is
used during device resume. And added logic to destroy the workqueue
in the error handling paths of `hi3110_can_probe` and in the
`hi3110_can_remove` function to prevent resource leaks.&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;can: hi311x: fix null pointer dereference when resuming from sleep before interface was enabled&lt;/p&gt;
&lt;p&gt;This issue is similar to the vulnerability in the `mcp251x` driver,
which was fixed in commit 03c427147b2d (&amp;#34;can: mcp251x: fix resume from
sleep before interface was brought up&amp;#34;).&lt;/p&gt;
&lt;p&gt;In the `hi311x` driver, when the device resumes from sleep, the driver
schedules `priv-&amp;gt;restart_work`. However, if the network interface was
not previously enabled, the `priv-&amp;gt;wq` (workqueue) is not allocated and
initialized, leading to a null pointer dereference.&lt;/p&gt;
&lt;p&gt;To fix this, we move the allocation and initialization of the workqueue
from the `hi3110_open` function to the `hi3110_can_probe` function.
This ensures that the workqueue is properly initialized before it is
used during device resume. And added logic to destroy the workqueue
in the error handling paths of `hi3110_can_probe` and in the
`hi3110_can_remove` function to prevent resource leaks.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-40107</guid>
    </item>
  </channel>
</rss>
