<?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://db.gcve.eu</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>Sat, 05 Dec 2026 12:38:04 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-142838 — platform/x86/amd/pmf: Fix power_supply refcount leak in amd_pmf_get_battery_prop()</title>
      <link>https://db.gcve.eu/vuln/cve-2026-142838</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;platform/x86/amd/pmf: Fix power_supply refcount leak in amd_pmf_get_battery_prop()&lt;/p&gt;
&lt;p&gt;power_supply_get_by_name() takes a reference that is only dropped on
the error path. On success it leaks, five times per policy evaluation.
Unregistering the battery later trips the use_cnt WARN_ON in
power_supply_unregister() and never frees it.&lt;/p&gt;
&lt;p&gt;While here, return -ENODEV instead of an uninitialised &amp;#39;value&amp;#39; when
no battery matches, and stop at the first supply found rather than
letting the last one in the table win.&lt;/p&gt;
&lt;p&gt;Found by reading the code. Fix and changelog drafted with Claude Code
(Fable 5.1) and reviewed by hand. Compile-tested only (allmodconfig,
W=1, sparse); not run on Smart PC hardware.&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;platform/x86/amd/pmf: Fix power_supply refcount leak in amd_pmf_get_battery_prop()&lt;/p&gt;
&lt;p&gt;power_supply_get_by_name() takes a reference that is only dropped on
the error path. On success it leaks, five times per policy evaluation.
Unregistering the battery later trips the use_cnt WARN_ON in
power_supply_unregister() and never frees it.&lt;/p&gt;
&lt;p&gt;While here, return -ENODEV instead of an uninitialised &amp;#39;value&amp;#39; when
no battery matches, and stop at the first supply found rather than
letting the last one in the table win.&lt;/p&gt;
&lt;p&gt;Found by reading the code. Fix and changelog drafted with Claude Code
(Fable 5.1) and reviewed by hand. Compile-tested only (allmodconfig,
W=1, sparse); not run on Smart PC hardware.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-142838</guid>
    </item>
  </channel>
</rss>
