<?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>Fri, 04 Dec 2026 19:30:43 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-143001 — serial: 8250_exar: check priv-&gt;gpio properly</title>
      <link>https://db.gcve.eu/vuln/cve-2026-143001</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;serial: 8250_exar: check priv-&amp;gt;gpio properly&lt;/p&gt;
&lt;p&gt;priv-&amp;gt;gpio is set by platform_device_register_full(), which returns
error-encoded pointers on failure, not NULL. Sashiko reported:&lt;/p&gt;
&lt;p&gt;&amp;gt; Does __xr17v35x_register_gpio() return an ERR_PTR if
&amp;gt; platform_device_register_full() fails?
&amp;gt;
&amp;gt; If it does, we might be storing an error pointer directly into
&amp;gt; priv-&amp;gt;gpio in xr17v35x_register_gpio() without validating it with
&amp;gt; IS_ERR(). Because the error is ignored, the device probe
&amp;gt; successfully continues.&lt;/p&gt;
&lt;p&gt;Before commit 1145d1a0703f (&amp;#34;serial: 8250_exar: use
platform_device_register_full()&amp;#34;), __xr17v35x_register_gpio()
returned NULL on any failure (platform_device_alloc(),
device_add_software_node() or platform_device_add() failing were all
turned into a NULL return). The plain truthy check in
xr17v35x_unregister_gpio() matched that convention. That commit
switched registration to platform_device_register_full(), which
reports failure as an ERR_PTR() instead of NULL, but the unregister
check was never updated to match. As a result, a failed registration
left an error pointer in priv-&amp;gt;gpio, and unbind would tear it down as
if it were a real platform_device, dereferencing the encoded error
value in device_remove_software_node() and
platform_device_unregister().&lt;/p&gt;
&lt;p&gt;Use IS_ERR_OR_NULL() instead, so both the unset (non-EXAR vendor,
priv-&amp;gt;gpio never assigned) and failed-registration (ERR_PTR) cases
are skipped.&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;serial: 8250_exar: check priv-&amp;gt;gpio properly&lt;/p&gt;
&lt;p&gt;priv-&amp;gt;gpio is set by platform_device_register_full(), which returns
error-encoded pointers on failure, not NULL. Sashiko reported:&lt;/p&gt;
&lt;p&gt;&amp;gt; Does __xr17v35x_register_gpio() return an ERR_PTR if
&amp;gt; platform_device_register_full() fails?
&amp;gt;
&amp;gt; If it does, we might be storing an error pointer directly into
&amp;gt; priv-&amp;gt;gpio in xr17v35x_register_gpio() without validating it with
&amp;gt; IS_ERR(). Because the error is ignored, the device probe
&amp;gt; successfully continues.&lt;/p&gt;
&lt;p&gt;Before commit 1145d1a0703f (&amp;#34;serial: 8250_exar: use
platform_device_register_full()&amp;#34;), __xr17v35x_register_gpio()
returned NULL on any failure (platform_device_alloc(),
device_add_software_node() or platform_device_add() failing were all
turned into a NULL return). The plain truthy check in
xr17v35x_unregister_gpio() matched that convention. That commit
switched registration to platform_device_register_full(), which
reports failure as an ERR_PTR() instead of NULL, but the unregister
check was never updated to match. As a result, a failed registration
left an error pointer in priv-&amp;gt;gpio, and unbind would tear it down as
if it were a real platform_device, dereferencing the encoded error
value in device_remove_software_node() and
platform_device_unregister().&lt;/p&gt;
&lt;p&gt;Use IS_ERR_OR_NULL() instead, so both the unset (non-EXAR vendor,
priv-&amp;gt;gpio never assigned) and failed-registration (ERR_PTR) cases
are skipped.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-143001</guid>
    </item>
  </channel>
</rss>
