{"id":"CVE-2026-90337","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-09-17T17:17:32.290","lastModified":"2026-10-30T13:20:50.323","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/tty/serial/serial_core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"266dcff03eed0050b6af11aaf2a61ab837d7ba3f","lessThan":"be61f56c4f0ed1cbf16c5f7b0dec6d6414993dd4","versionType":"git","status":"affected"},{"version":"266dcff03eed0050b6af11aaf2a61ab837d7ba3f","lessThan":"e2ddbfd826836cba1b7a25ee4eb512f7d752b703","versionType":"git","status":"affected"},{"version":"266dcff03eed0050b6af11aaf2a61ab837d7ba3f","lessThan":"8c7c75bfa7b84d6999de2100ce9c09e3779249a0","versionType":"git","status":"affected"},{"version":"266dcff03eed0050b6af11aaf2a61ab837d7ba3f","lessThan":"9260a92ce90e6a95ce2ffdf1441c5216bf3f9552","versionType":"git","status":"affected"},{"version":"266dcff03eed0050b6af11aaf2a61ab837d7ba3f","lessThan":"c2aec15f78b2e6ccd9b94216a901248511355982","versionType":"git","status":"affected"},{"version":"266dcff03eed0050b6af11aaf2a61ab837d7ba3f","lessThan":"1a0e4fbce5d9c1bc179a35a2fd9ed142664299e3","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/tty/serial/serial_core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3.17","status":"affected"},{"version":"0","lessThan":"3.17","versionType":"semver","status":"unaffected"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.114","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.57","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.2.6","lessThanOrEqual":"7.2.*","versionType":"semver","status":"unaffected"},{"version":"7.3","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/1a0e4fbce5d9c1bc179a35a2fd9ed142664299e3","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8c7c75bfa7b84d6999de2100ce9c09e3779249a0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9260a92ce90e6a95ce2ffdf1441c5216bf3f9552","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/be61f56c4f0ed1cbf16c5f7b0dec6d6414993dd4","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c2aec15f78b2e6ccd9b94216a901248511355982","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e2ddbfd826836cba1b7a25ee4eb512f7d752b703","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}