{"id":28712,"date":"2026-09-25T04:31:37","date_gmt":"2026-09-24T20:31:37","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97480"},"modified":"2026-09-25T04:31:37","modified_gmt":"2026-09-24T20:31:37","slug":"cve-2026-97480","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-97480","title":{"rendered":"CVE-2026-97480 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\ntty: serial: 8250: pr"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>tty: serial: 8250: protect against NULL uart-&gt;port.dev in register<\/p>\n<p>serial8250_register_8250_port() conditionally copies uart-&gt;port.dev<br \/>\nfrom up-&gt;port.dev only when up-&gt;port.dev is non-NULL:<\/p>\n<p>\tif (up-&gt;port.dev) {<br \/>\n\t\tuart-&gt;port.dev = up-&gt;port.dev;<br \/>\n\t\t&#8230;<br \/>\n\t}<\/p>\n<p>So if both the existing uart slot and up have a NULL -&gt;dev,<br \/>\nuart-&gt;port.dev remains NULL. The very next ACPI companion check<br \/>\nthen dereferences it unconditionally:<\/p>\n<p>\tif (!has_acpi_companion(uart-&gt;port.dev)) {<\/p>\n<p>has_acpi_companion() reads dev-&gt;fwnode without a NULL guard<br \/>\n(include\/linux\/acpi.h), so this NULL-derefs the kernel for the<br \/>\nremaining no-dev case rather than just skipping the<br \/>\nmctrl_gpio_init() initialisation as intended.<\/p>\n<p>smatch flags the inconsistency:<\/p>\n<p>  drivers\/tty\/serial\/8250\/8250_core.c:767<br \/>\n  serial8250_register_8250_port() error: &#8216;uart-&gt;port.dev&#8217; could be<br \/>\n  null (see line 719)<\/p>\n<p>Guard the call with a NULL check so register continues to work<br \/>\nfor callers that legitimately have no parent device (legacy<br \/>\nnon-OF\/non-ACPI registrations).<\/p>\n<p>No functional change for callers that pass a non-NULL -&gt;dev.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>tty: serial: 8250: protect against NULL uart-&gt;port.dev in register<\/p>\n<p>serial8250_register_8250_port() conditionally copies uart-&gt;port<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-28712","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/28712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}