CVE-2026-90337 (GCVE-0-2026-90337)
Vulnerability from cvelistv5
Published
2026-09-17 16:08
Modified
2026-10-30 12:35
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
serial: core: do fallible allocations before the console can be registered
serial_core_add_one_port() allocates uport->tty_groups after
uart_configure_port(), which may register the console. If the allocation
fails, the driver unwinds the port while its console remains registered.
The earlier uport->name allocation has a related failure path that leaves
state->uart_port linked to a port being freed.
Failslab reproduced a NULL dereference in PL011 console output and a KASAN
use-after-free in i.MX console output after failed binds.
Allocate the name and tty_groups before linking the port and configuring
it. Reserve space for the optional driver attribute group because
config_port() may populate uport->attr_group during configuration.
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Version: 266dcff03eed0050b6af11aaf2a61ab837d7ba3f Version: 266dcff03eed0050b6af11aaf2a61ab837d7ba3f Version: 266dcff03eed0050b6af11aaf2a61ab837d7ba3f Version: 266dcff03eed0050b6af11aaf2a61ab837d7ba3f Version: 266dcff03eed0050b6af11aaf2a61ab837d7ba3f Version: 266dcff03eed0050b6af11aaf2a61ab837d7ba3f |
||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/tty/serial/serial_core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "be61f56c4f0ed1cbf16c5f7b0dec6d6414993dd4",
"status": "affected",
"version": "266dcff03eed0050b6af11aaf2a61ab837d7ba3f",
"versionType": "git"
},
{
"lessThan": "e2ddbfd826836cba1b7a25ee4eb512f7d752b703",
"status": "affected",
"version": "266dcff03eed0050b6af11aaf2a61ab837d7ba3f",
"versionType": "git"
},
{
"lessThan": "8c7c75bfa7b84d6999de2100ce9c09e3779249a0",
"status": "affected",
"version": "266dcff03eed0050b6af11aaf2a61ab837d7ba3f",
"versionType": "git"
},
{
"lessThan": "9260a92ce90e6a95ce2ffdf1441c5216bf3f9552",
"status": "affected",
"version": "266dcff03eed0050b6af11aaf2a61ab837d7ba3f",
"versionType": "git"
},
{
"lessThan": "c2aec15f78b2e6ccd9b94216a901248511355982",
"status": "affected",
"version": "266dcff03eed0050b6af11aaf2a61ab837d7ba3f",
"versionType": "git"
},
{
"lessThan": "1a0e4fbce5d9c1bc179a35a2fd9ed142664299e3",
"status": "affected",
"version": "266dcff03eed0050b6af11aaf2a61ab837d7ba3f",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/tty/serial/serial_core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.17"
},
{
"lessThan": "3.17",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.191",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.57",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.191",
"versionStartIncluding": "3.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.160",
"versionStartIncluding": "3.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.114",
"versionStartIncluding": "3.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.57",
"versionStartIncluding": "3.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2.6",
"versionStartIncluding": "3.17",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3",
"versionStartIncluding": "3.17",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"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-\u003etty_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-\u003ename allocation has a related failure path that leaves\nstate-\u003euart_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-\u003eattr_group during configuration."
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T12:35:15.311Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/be61f56c4f0ed1cbf16c5f7b0dec6d6414993dd4"
},
{
"url": "https://git.kernel.org/stable/c/e2ddbfd826836cba1b7a25ee4eb512f7d752b703"
},
{
"url": "https://git.kernel.org/stable/c/8c7c75bfa7b84d6999de2100ce9c09e3779249a0"
},
{
"url": "https://git.kernel.org/stable/c/9260a92ce90e6a95ce2ffdf1441c5216bf3f9552"
},
{
"url": "https://git.kernel.org/stable/c/c2aec15f78b2e6ccd9b94216a901248511355982"
},
{
"url": "https://git.kernel.org/stable/c/1a0e4fbce5d9c1bc179a35a2fd9ed142664299e3"
}
],
"title": "serial: core: do fallible allocations before the console can be registered",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-90337",
"datePublished": "2026-09-17T16:08:49.687Z",
"dateReserved": "2026-09-11T19:38:34.804Z",
"dateUpdated": "2026-10-30T12:35:15.311Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…