<?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-29T22:13:14.709995+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-2026-97480</id>
    <title>CVE-2026-97480 — tty: serial: 8250: protect against NULL uart-&gt;port.dev in register</title>
    <updated>2026-09-29T22:13:15.740385+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>tty: serial: 8250: protect against NULL uart-&gt;port.dev in register</p>
<p>serial8250_register_8250_port() conditionally copies uart-&gt;port.dev
from up-&gt;port.dev only when up-&gt;port.dev is non-NULL:</p>
<p>if (up-&gt;port.dev) {
		uart-&gt;port.dev = up-&gt;port.dev;
		...
	}</p>
<p>So if both the existing uart slot and up have a NULL -&gt;dev,
uart-&gt;port.dev remains NULL. The very next ACPI companion check
then dereferences it unconditionally:</p>
<p>if (!has_acpi_companion(uart-&gt;port.dev)) {</p>
<p>has_acpi_companion() reads dev-&gt;fwnode without a NULL guard
(include/linux/acpi.h), so this NULL-derefs the kernel for the
remaining no-dev case rather than just skipping the
mctrl_gpio_init() initialisation as intended.</p>
<p>smatch flags the inconsistency:</p>
<p>drivers/tty/serial/8250/8250_core.c:767
  serial8250_register_8250_port() error: 'uart-&gt;port.dev' could be
  null (see line 719)</p>
<p>Guard the call with a NULL check so register continues to work
for callers that legitimately have no parent device (legacy
non-OF/non-ACPI registrations).</p>
<p>No functional change for callers that pass a non-NULL -&gt;dev.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-97480"/>
  </entry>
</feed>
