<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-28T23:13:58.741923+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2023-53310</id>
    <title>CVE-2023-53310 — power: supply: axp288_fuel_gauge: Fix external_power_changed race</title>
    <updated>2026-09-28T23:13:58.768088+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>power: supply: axp288_fuel_gauge: Fix external_power_changed race</p>
<p>fuel_gauge_external_power_changed() dereferences info-&gt;bat,
which gets sets in axp288_fuel_gauge_probe() like this:</p>
<p>info-&gt;bat = devm_power_supply_register(dev, &amp;fuel_gauge_desc, &amp;psy_cfg);</p>
<p>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-&gt;bat has not been set yet leading to a NULL pointer dereference.</p>
<p>Fixing this is easy. The external_power_changed callback gets passed
the power_supply which will eventually get stored in info-&gt;bat,
so fuel_gauge_external_power_changed() can simply directly use
the passed in psy argument which is always valid.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2023-53310"/>
  </entry>
</feed>
