<?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>Tue, 29 Sep 2026 19:13:22 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-35824 — misc: lis3lv02d_i2c: Fix regulators getting en-/dis-abled twice on suspend/resume</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-35824</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;misc: lis3lv02d_i2c: Fix regulators getting en-/dis-abled twice on suspend/resume&lt;/p&gt;
&lt;p&gt;When not configured for wakeup lis3lv02d_i2c_suspend() will call
lis3lv02d_poweroff() even if the device has already been turned off
by the runtime-suspend handler and if configured for wakeup and
the device is runtime-suspended at this point then it is not turned
back on to serve as a wakeup source.&lt;/p&gt;
&lt;p&gt;Before commit b1b9f7a49440 (&amp;#34;misc: lis3lv02d_i2c: Add missing setting
of the reg_ctrl callback&amp;#34;), lis3lv02d_poweroff() failed to disable
the regulators which as a side effect made calling poweroff() twice ok.&lt;/p&gt;
&lt;p&gt;Now that poweroff() correctly disables the regulators, doing this twice
triggers a WARN() in the regulator core:&lt;/p&gt;
&lt;p&gt;unbalanced disables for regulator-dummy
WARNING: CPU: 1 PID: 92 at drivers/regulator/core.c:2999 _regulator_disable
...&lt;/p&gt;
&lt;p&gt;Fix lis3lv02d_i2c_suspend() to not call poweroff() a second time if
already runtime-suspended and add a poweron() call when necessary to
make wakeup work.&lt;/p&gt;
&lt;p&gt;lis3lv02d_i2c_resume() has similar issues, with an added weirness that
it always powers on the device if it is runtime suspended, after which
the first runtime-resume will call poweron() again, causing the enabled
count for the regulator to increase by 1 every suspend/resume. These
unbalanced regulator_enable() calls cause the regulator to never
be turned off and trigger the following WARN() on driver unbind:&lt;/p&gt;
&lt;p&gt;WARNING: CPU: 1 PID: 1724 at…&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;misc: lis3lv02d_i2c: Fix regulators getting en-/dis-abled twice on suspend/resume&lt;/p&gt;
&lt;p&gt;When not configured for wakeup lis3lv02d_i2c_suspend() will call
lis3lv02d_poweroff() even if the device has already been turned off
by the runtime-suspend handler and if configured for wakeup and
the device is runtime-suspended at this point then it is not turned
back on to serve as a wakeup source.&lt;/p&gt;
&lt;p&gt;Before commit b1b9f7a49440 (&amp;#34;misc: lis3lv02d_i2c: Add missing setting
of the reg_ctrl callback&amp;#34;), lis3lv02d_poweroff() failed to disable
the regulators which as a side effect made calling poweroff() twice ok.&lt;/p&gt;
&lt;p&gt;Now that poweroff() correctly disables the regulators, doing this twice
triggers a WARN() in the regulator core:&lt;/p&gt;
&lt;p&gt;unbalanced disables for regulator-dummy
WARNING: CPU: 1 PID: 92 at drivers/regulator/core.c:2999 _regulator_disable
...&lt;/p&gt;
&lt;p&gt;Fix lis3lv02d_i2c_suspend() to not call poweroff() a second time if
already runtime-suspended and add a poweron() call when necessary to
make wakeup work.&lt;/p&gt;
&lt;p&gt;lis3lv02d_i2c_resume() has similar issues, with an added weirness that
it always powers on the device if it is runtime suspended, after which
the first runtime-resume will call poweron() again, causing the enabled
count for the regulator to increase by 1 every suspend/resume. These
unbalanced regulator_enable() calls cause the regulator to never
be turned off and trigger the following WARN() on driver unbind:&lt;/p&gt;
&lt;p&gt;WARNING: CPU: 1 PID: 1724 at…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-35824</guid>
    </item>
  </channel>
</rss>
