<?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://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T19:30:48.892233+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" 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://db.gcve.eu/vuln/cve-2026-143001</id>
    <title>CVE-2026-143001 — serial: 8250_exar: check priv-&gt;gpio properly</title>
    <updated>2026-12-04T19:30:48.893336+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>serial: 8250_exar: check priv-&gt;gpio properly</p>
<p>priv-&gt;gpio is set by platform_device_register_full(), which returns
error-encoded pointers on failure, not NULL. Sashiko reported:</p>
<p>&gt; Does __xr17v35x_register_gpio() return an ERR_PTR if
&gt; platform_device_register_full() fails?
&gt;
&gt; If it does, we might be storing an error pointer directly into
&gt; priv-&gt;gpio in xr17v35x_register_gpio() without validating it with
&gt; IS_ERR(). Because the error is ignored, the device probe
&gt; successfully continues.</p>
<p>Before commit 1145d1a0703f ("serial: 8250_exar: use
platform_device_register_full()"), __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-&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().</p>
<p>Use IS_ERR_OR_NULL() instead, so both the unset (non-EXAR vendor,
priv-&gt;gpio never assigned) and failed-registration (ERR_PTR) cases
are skipped.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-143001"/>
  </entry>
</feed>
