<?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 23:13:52 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-53310 — power: supply: axp288_fuel_gauge: Fix external_power_changed race</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-53310</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;power: supply: axp288_fuel_gauge: Fix external_power_changed race&lt;/p&gt;
&lt;p&gt;fuel_gauge_external_power_changed() dereferences info-&amp;gt;bat,
which gets sets in axp288_fuel_gauge_probe() like this:&lt;/p&gt;
&lt;p&gt;info-&amp;gt;bat = devm_power_supply_register(dev, &amp;amp;fuel_gauge_desc, &amp;amp;psy_cfg);&lt;/p&gt;
&lt;p&gt;As soon as devm_power_supply_register() has called device_add()
the external_power_changed callback can get called. So there is a window
where fuel_gauge_external_power_changed() may get called while
info-&amp;gt;bat has not been set yet leading to a NULL pointer dereference.&lt;/p&gt;
&lt;p&gt;Fixing this is easy. The external_power_changed callback gets passed
the power_supply which will eventually get stored in info-&amp;gt;bat,
so fuel_gauge_external_power_changed() can simply directly use
the passed in psy argument which is always valid.&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;power: supply: axp288_fuel_gauge: Fix external_power_changed race&lt;/p&gt;
&lt;p&gt;fuel_gauge_external_power_changed() dereferences info-&amp;gt;bat,
which gets sets in axp288_fuel_gauge_probe() like this:&lt;/p&gt;
&lt;p&gt;info-&amp;gt;bat = devm_power_supply_register(dev, &amp;amp;fuel_gauge_desc, &amp;amp;psy_cfg);&lt;/p&gt;
&lt;p&gt;As soon as devm_power_supply_register() has called device_add()
the external_power_changed callback can get called. So there is a window
where fuel_gauge_external_power_changed() may get called while
info-&amp;gt;bat has not been set yet leading to a NULL pointer dereference.&lt;/p&gt;
&lt;p&gt;Fixing this is easy. The external_power_changed callback gets passed
the power_supply which will eventually get stored in info-&amp;gt;bat,
so fuel_gauge_external_power_changed() can simply directly use
the passed in psy argument which is always valid.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-53310</guid>
    </item>
  </channel>
</rss>
