{"id":"CVE-2026-90337","published":"2026-09-17T16:08:49Z","modified":"2026-10-30T12:35:15Z","title":"serial: core: do fallible allocations before the console can be registered","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: core: do fallible allocations before the console can be registered\n\nserial_core_add_one_port() allocates uport->tty_groups after\nuart_configure_port(), which may register the console. If the allocation\nfails, the driver unwinds the port while its console remains registered.\nThe earlier uport->name allocation has a related failure path that leaves\nstate->uart_port linked to a port being freed.\n\nFailslab reproduced a NULL dereference in PL011 console output and a KASAN\nuse-after-free in i.MX console output after failed binds.\n\nAllocate the name and tty_groups before linking the port and configuring\nit. Reserve space for the optional driver attribute group because\nconfig_port() may populate uport->attr_group during configuration.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00215,"percentile":0.11876,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/be61f56c4f0ed1cbf16c5f7b0dec6d6414993dd4","tags":[]},{"url":"https://git.kernel.org/stable/c/e2ddbfd826836cba1b7a25ee4eb512f7d752b703","tags":[]},{"url":"https://git.kernel.org/stable/c/8c7c75bfa7b84d6999de2100ce9c09e3779249a0","tags":[]},{"url":"https://git.kernel.org/stable/c/9260a92ce90e6a95ce2ffdf1441c5216bf3f9552","tags":[]},{"url":"https://git.kernel.org/stable/c/c2aec15f78b2e6ccd9b94216a901248511355982","tags":[]},{"url":"https://git.kernel.org/stable/c/1a0e4fbce5d9c1bc179a35a2fd9ed142664299e3","tags":[]}],"priority":{"score":2.4,"factors":[{"name":"EPSS percentile","points":2.38}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 266dcff03eed0050b6af11aaf2a61ab837d7ba3f, < be61f56c4f0ed1cbf16c5f7b0dec6d6414993dd4",">= 266dcff03eed0050b6af11aaf2a61ab837d7ba3f, < e2ddbfd826836cba1b7a25ee4eb512f7d752b703",">= 266dcff03eed0050b6af11aaf2a61ab837d7ba3f, < 8c7c75bfa7b84d6999de2100ce9c09e3779249a0",">= 266dcff03eed0050b6af11aaf2a61ab837d7ba3f, < 9260a92ce90e6a95ce2ffdf1441c5216bf3f9552",">= 266dcff03eed0050b6af11aaf2a61ab837d7ba3f, < c2aec15f78b2e6ccd9b94216a901248511355982",">= 266dcff03eed0050b6af11aaf2a61ab837d7ba3f, < 1a0e4fbce5d9c1bc179a35a2fd9ed142664299e3"]},{"vendor":"Linux","product":"Linux","versions":["3.17"]}],"euvd":{"id":"EUVD-2026-81998","exploited":false,"provenance":"source"}}