CVE-2026-97480 (GCVE-0-2026-97480)
Vulnerability from cvelistv5
Published
2026-09-24 16:04
Modified
2026-10-30 12:37
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
tty: serial: 8250: protect against NULL uart->port.dev in register
serial8250_register_8250_port() conditionally copies uart->port.dev
from up->port.dev only when up->port.dev is non-NULL:
if (up->port.dev) {
uart->port.dev = up->port.dev;
...
}
So if both the existing uart slot and up have a NULL ->dev,
uart->port.dev remains NULL. The very next ACPI companion check
then dereferences it unconditionally:
if (!has_acpi_companion(uart->port.dev)) {
has_acpi_companion() reads dev->fwnode without a NULL guard
(include/linux/acpi.h), so this NULL-derefs the kernel for the
remaining no-dev case rather than just skipping the
mctrl_gpio_init() initialisation as intended.
smatch flags the inconsistency:
drivers/tty/serial/8250/8250_core.c:767
serial8250_register_8250_port() error: 'uart->port.dev' could be
null (see line 719)
Guard the call with a NULL check so register continues to work
for callers that legitimately have no parent device (legacy
non-OF/non-ACPI registrations).
No functional change for callers that pass a non-NULL ->dev.
References
Impacted products
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/tty/serial/8250/8250_core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "f728f7f38a6eca16923c72fc6826445810d2b41f",
"status": "affected",
"version": "4a96895f74c9633b51427fd080ab70fa62b65bc4",
"versionType": "git"
},
{
"lessThan": "68059b6e9f7292714286e2b0f5185ed2a43fccc5",
"status": "affected",
"version": "4a96895f74c9633b51427fd080ab70fa62b65bc4",
"versionType": "git"
},
{
"lessThan": "9c78f89cf2fbae18b14c78bf172ca15d832aff15",
"status": "affected",
"version": "4a96895f74c9633b51427fd080ab70fa62b65bc4",
"versionType": "git"
},
{
"lessThan": "5cbab666721d974bfe033a12045d808936deaefd",
"status": "affected",
"version": "4a96895f74c9633b51427fd080ab70fa62b65bc4",
"versionType": "git"
},
{
"lessThan": "941c9f84c9b6310f7aaa1c8c785dcc634ee33050",
"status": "affected",
"version": "4a96895f74c9633b51427fd080ab70fa62b65bc4",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/tty/serial/8250/8250_core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.3"
},
{
"lessThan": "5.3",
"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.53",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.191",
"versionStartIncluding": "5.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.160",
"versionStartIncluding": "5.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.114",
"versionStartIncluding": "5.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.53",
"versionStartIncluding": "5.3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "5.3",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntty: serial: 8250: protect against NULL uart-\u003eport.dev in register\n\nserial8250_register_8250_port() conditionally copies uart-\u003eport.dev\nfrom up-\u003eport.dev only when up-\u003eport.dev is non-NULL:\n\n\tif (up-\u003eport.dev) {\n\t\tuart-\u003eport.dev = up-\u003eport.dev;\n\t\t...\n\t}\n\nSo if both the existing uart slot and up have a NULL -\u003edev,\nuart-\u003eport.dev remains NULL. The very next ACPI companion check\nthen dereferences it unconditionally:\n\n\tif (!has_acpi_companion(uart-\u003eport.dev)) {\n\nhas_acpi_companion() reads dev-\u003efwnode without a NULL guard\n(include/linux/acpi.h), so this NULL-derefs the kernel for the\nremaining no-dev case rather than just skipping the\nmctrl_gpio_init() initialisation as intended.\n\nsmatch flags the inconsistency:\n\n drivers/tty/serial/8250/8250_core.c:767\n serial8250_register_8250_port() error: \u0027uart-\u003eport.dev\u0027 could be\n null (see line 719)\n\nGuard the call with a NULL check so register continues to work\nfor callers that legitimately have no parent device (legacy\nnon-OF/non-ACPI registrations).\n\nNo functional change for callers that pass a non-NULL -\u003edev."
}
],
"providerMetadata": {
"dateUpdated": "2026-10-30T12:37:01.897Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/f728f7f38a6eca16923c72fc6826445810d2b41f"
},
{
"url": "https://git.kernel.org/stable/c/68059b6e9f7292714286e2b0f5185ed2a43fccc5"
},
{
"url": "https://git.kernel.org/stable/c/9c78f89cf2fbae18b14c78bf172ca15d832aff15"
},
{
"url": "https://git.kernel.org/stable/c/5cbab666721d974bfe033a12045d808936deaefd"
},
{
"url": "https://git.kernel.org/stable/c/941c9f84c9b6310f7aaa1c8c785dcc634ee33050"
}
],
"title": "tty: serial: 8250: protect against NULL uart-\u003eport.dev in register",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-97480",
"datePublished": "2026-09-24T16:04:22.893Z",
"dateReserved": "2026-09-24T16:01:01.149Z",
"dateUpdated": "2026-10-30T12:37:01.897Z",
"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…