CVE-2023-54220 (GCVE-0-2023-54220)
Vulnerability from cvelistv5 – Published: 2025-12-30 12:11 – Updated: 2025-12-30 12:11
VLAI?
Title
serial: 8250: Fix oops for port->pm on uart_change_pm()
Summary
In the Linux kernel, the following vulnerability has been resolved:
serial: 8250: Fix oops for port->pm on uart_change_pm()
Unloading a hardware specific 8250 driver can produce error "Unable to
handle kernel paging request at virtual address" about ten seconds after
unloading the driver. This happens on uart_hangup() calling
uart_change_pm().
Turns out commit 04e82793f068 ("serial: 8250: Reinit port->pm on port
specific driver unbind") was only a partial fix. If the hardware specific
driver has initialized port->pm function, we need to clear port->pm too.
Just reinitializing port->ops does not do this. Otherwise serial8250_pm()
will call port->pm() instead of serial8250_do_pm().
Severity ?
No CVSS data available.
Assigner
References
Impacted products
| Vendor | Product | Version | |||||||
|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux |
Affected:
490bf37eaabb0a857ed1ae8e75d8854e41662f1c , < 66f3e55960698c874b0598277913b478ecd29573
(git)
Affected: c9e080c3005fd183c56ff8f4d75edb5da0765d2c , < 720a297b334e85d34099e83d1f375b92c3efedd6 (git) Affected: d5cd2928d31042a7c0a01464f9a8d95be736421d , < b653289ca6460a6552c8590b75dfa84a0140a46b (git) Affected: 2c86a1305c1406f45ea780d06953c484ea1d9e6e , < bd70d0b28010d560a8be96b44fea86fe2ba016ae (git) Affected: 1ba5594739d858e524ff0f398ee1ebfe0a8b9d41 , < 18e27df4f2b4e257c317ba8076f31a888f6cc64b (git) Affected: af4d6dbb1a92ea424ad1ba1d0c88c7fa2345d872 , < 0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c (git) Affected: 04e82793f068d2f0ffe62fcea03d007a8cdc16a7 , < 375806616f8c772c33d40e112530887b37c1a816 (git) Affected: 04e82793f068d2f0ffe62fcea03d007a8cdc16a7 , < dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534 (git) Affected: 8e596aed5f2f98cf3e6e98d6fe1d689f4a319308 (git) |
|||||||
|
|||||||||
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/tty/serial/8250/8250_port.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "66f3e55960698c874b0598277913b478ecd29573",
"status": "affected",
"version": "490bf37eaabb0a857ed1ae8e75d8854e41662f1c",
"versionType": "git"
},
{
"lessThan": "720a297b334e85d34099e83d1f375b92c3efedd6",
"status": "affected",
"version": "c9e080c3005fd183c56ff8f4d75edb5da0765d2c",
"versionType": "git"
},
{
"lessThan": "b653289ca6460a6552c8590b75dfa84a0140a46b",
"status": "affected",
"version": "d5cd2928d31042a7c0a01464f9a8d95be736421d",
"versionType": "git"
},
{
"lessThan": "bd70d0b28010d560a8be96b44fea86fe2ba016ae",
"status": "affected",
"version": "2c86a1305c1406f45ea780d06953c484ea1d9e6e",
"versionType": "git"
},
{
"lessThan": "18e27df4f2b4e257c317ba8076f31a888f6cc64b",
"status": "affected",
"version": "1ba5594739d858e524ff0f398ee1ebfe0a8b9d41",
"versionType": "git"
},
{
"lessThan": "0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c",
"status": "affected",
"version": "af4d6dbb1a92ea424ad1ba1d0c88c7fa2345d872",
"versionType": "git"
},
{
"lessThan": "375806616f8c772c33d40e112530887b37c1a816",
"status": "affected",
"version": "04e82793f068d2f0ffe62fcea03d007a8cdc16a7",
"versionType": "git"
},
{
"lessThan": "dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534",
"status": "affected",
"version": "04e82793f068d2f0ffe62fcea03d007a8cdc16a7",
"versionType": "git"
},
{
"status": "affected",
"version": "8e596aed5f2f98cf3e6e98d6fe1d689f4a319308",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/tty/serial/8250/8250_port.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "6.4"
},
{
"lessThan": "6.4",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"version": "4.14.324",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.293",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.255",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.192",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.128",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.47",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.4.*",
"status": "unaffected",
"version": "6.4.12",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.5",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.14.324",
"versionStartIncluding": "4.14.316",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.293",
"versionStartIncluding": "4.19.284",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.255",
"versionStartIncluding": "5.4.244",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.192",
"versionStartIncluding": "5.10.181",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.128",
"versionStartIncluding": "5.15.113",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.47",
"versionStartIncluding": "6.1.30",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.4.12",
"versionStartIncluding": "6.4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.5",
"versionStartIncluding": "6.4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.3.4",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nserial: 8250: Fix oops for port-\u003epm on uart_change_pm()\n\nUnloading a hardware specific 8250 driver can produce error \"Unable to\nhandle kernel paging request at virtual address\" about ten seconds after\nunloading the driver. This happens on uart_hangup() calling\nuart_change_pm().\n\nTurns out commit 04e82793f068 (\"serial: 8250: Reinit port-\u003epm on port\nspecific driver unbind\") was only a partial fix. If the hardware specific\ndriver has initialized port-\u003epm function, we need to clear port-\u003epm too.\nJust reinitializing port-\u003eops does not do this. Otherwise serial8250_pm()\nwill call port-\u003epm() instead of serial8250_do_pm()."
}
],
"providerMetadata": {
"dateUpdated": "2025-12-30T12:11:15.385Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/66f3e55960698c874b0598277913b478ecd29573"
},
{
"url": "https://git.kernel.org/stable/c/720a297b334e85d34099e83d1f375b92c3efedd6"
},
{
"url": "https://git.kernel.org/stable/c/b653289ca6460a6552c8590b75dfa84a0140a46b"
},
{
"url": "https://git.kernel.org/stable/c/bd70d0b28010d560a8be96b44fea86fe2ba016ae"
},
{
"url": "https://git.kernel.org/stable/c/18e27df4f2b4e257c317ba8076f31a888f6cc64b"
},
{
"url": "https://git.kernel.org/stable/c/0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c"
},
{
"url": "https://git.kernel.org/stable/c/375806616f8c772c33d40e112530887b37c1a816"
},
{
"url": "https://git.kernel.org/stable/c/dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534"
}
],
"title": "serial: 8250: Fix oops for port-\u003epm on uart_change_pm()",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2023-54220",
"datePublished": "2025-12-30T12:11:15.385Z",
"dateReserved": "2025-12-30T12:06:44.501Z",
"dateUpdated": "2025-12-30T12:11:15.385Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2023-54220\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:16:10.300\",\"lastModified\":\"2025-12-31T20:42:43.210\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nserial: 8250: Fix oops for port-\u003epm on uart_change_pm()\\n\\nUnloading a hardware specific 8250 driver can produce error \\\"Unable to\\nhandle kernel paging request at virtual address\\\" about ten seconds after\\nunloading the driver. This happens on uart_hangup() calling\\nuart_change_pm().\\n\\nTurns out commit 04e82793f068 (\\\"serial: 8250: Reinit port-\u003epm on port\\nspecific driver unbind\\\") was only a partial fix. If the hardware specific\\ndriver has initialized port-\u003epm function, we need to clear port-\u003epm too.\\nJust reinitializing port-\u003eops does not do this. Otherwise serial8250_pm()\\nwill call port-\u003epm() instead of serial8250_do_pm().\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/18e27df4f2b4e257c317ba8076f31a888f6cc64b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/375806616f8c772c33d40e112530887b37c1a816\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/66f3e55960698c874b0598277913b478ecd29573\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/720a297b334e85d34099e83d1f375b92c3efedd6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b653289ca6460a6552c8590b75dfa84a0140a46b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bd70d0b28010d560a8be96b44fea86fe2ba016ae\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…