<?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-11-20T21:23:48.938320+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-99455</id>
    <title>CVE-2026-99455 — serial: core: shut down initialized port on removal</title>
    <updated>2026-11-20T21:23:48.939815+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: core: shut down initialized port on removal</p>
<p>When a serial port configured as a console is opened and subsequently
closed, tty_port_shutdown() skips invoking port-&gt;ops-&gt;shutdown() because
port-&gt;console is true. As a result, tty_port_initialized() remains true
and the port's interrupt handler stays registered in the irq subsystem.</p>
<p>If the underlying device is later unbound or removed (e.g. via sysfs
driver unbind or device hot-unplug), serial_core_remove_one_port()
unregisters the console, frees uport-&gt;name via kfree(), and tears down
the port without shutting it down or freeing its IRQ. Consequently, the
irqaction descriptor remains registered in genirq with action-&gt;name
pointing to freed memory.</p>
<p>This triggers a use-after-free read whenever genirq accesses action-&gt;name,
such as when reading /proc/interrupts:</p>
<p>BUG: KASAN: slab-use-after-free in string+0x476/0x570
  Call Trace:
   string+0x476/0x570
   vsnprintf+0x422/0x1300
   seq_printf+0x...
   show_interrupts+...</p>
<p>Fix this by acquiring port-&gt;mutex in serial_core_remove_one_port() after
console unregistration, clearing port-&gt;console under the mutex to prevent
data races with concurrent tty_port_shutdown(), and invoking
uart_shutdown(NULL, state) if the port remains initialized. This ensures
that port-&gt;ops-&gt;shutdown() is called and the IRQ is freed before
kfree(uport-&gt;name).</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-99455"/>
  </entry>
</feed>
