PT-2026-116966 · Linux · Linux

CVE-2026-98747

·

Published

2026-10-18

·

Updated

2026-10-18

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
serial: core: fix NULL pointer dereference in serial core unregister port()
port->port dev is NULL when no port device is installed: it is cleared on teardown, and never set if registration failed before serial core port device add(). serial core unregister port() passes it straight to serial core get ctrl dev(), which dereferences it:
KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] RIP: serial core unregister port Call Trace: serial8250 unregister port serial8250 remove unbind store
Return early when there is no port device, and read port->port dev under port mutex.
Also clear port->port dev on the serial core register port() error path, where the port device has already been removed.
Found an issue in the description? Have something to add? Feel free to write us 👾

Related Identifiers

CVE-2026-98747

Affected Products

Linux