# CVE-2023-54220: serial: 8250: Fix oops for port-\>pm on uart\_change\_pm()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **Published:** 2025-12-30T12:11:15.385Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= 490bf37eaabb0a857ed1ae8e75d8854e41662f1c, \< 66f3e55960698c874b0598277913b478ecd29573; \>= c9e080c3005fd183c56ff8f4d75edb5da0765d2c, \< 720a297b334e85d34099e83d1f375b92c3efedd6; \>= d5cd2928d31042a7c0a01464f9a8d95be736421d, \< b653289ca6460a6552c8590b75dfa84a0140a46b; \>= 2c86a1305c1406f45ea780d06953c484ea1d9e6e, \< bd70d0b28010d560a8be96b44fea86fe2ba016ae; \>= 1ba5594739d858e524ff0f398ee1ebfe0a8b9d41, \< 18e27df4f2b4e257c317ba8076f31a888f6cc64b; \>= af4d6dbb1a92ea424ad1ba1d0c88c7fa2345d872, \< 0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c; \>= 04e82793f068d2f0ffe62fcea03d007a8cdc16a7, \< 375806616f8c772c33d40e112530887b37c1a816; \>= 04e82793f068d2f0ffe62fcea03d007a8cdc16a7, \< dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534; 8e596aed5f2f98cf3e6e98d6fe1d689f4a319308; \>= 4.14.316, \< 4.14.324; …
- Anyone running Linux 6.4

## Description

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().

## Affected and fixed versions

- Linux: \>= 490bf37eaabb0a857ed1ae8e75d8854e41662f1c, \< 66f3e55960698c874b0598277913b478ecd29573; \>= c9e080c3005fd183c56ff8f4d75edb5da0765d2c, \< 720a297b334e85d34099e83d1f375b92c3efedd6; \>= d5cd2928d31042a7c0a01464f9a8d95be736421d, \< b653289ca6460a6552c8590b75dfa84a0140a46b; \>= 2c86a1305c1406f45ea780d06953c484ea1d9e6e, \< bd70d0b28010d560a8be96b44fea86fe2ba016ae; \>= 1ba5594739d858e524ff0f398ee1ebfe0a8b9d41, \< 18e27df4f2b4e257c317ba8076f31a888f6cc64b; \>= af4d6dbb1a92ea424ad1ba1d0c88c7fa2345d872, \< 0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c; \>= 04e82793f068d2f0ffe62fcea03d007a8cdc16a7, \< 375806616f8c772c33d40e112530887b37c1a816; \>= 04e82793f068d2f0ffe62fcea03d007a8cdc16a7, \< dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534; 8e596aed5f2f98cf3e6e98d6fe1d689f4a319308; \>= 4.14.316, \< 4.14.324; … (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54220. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54220.md
Affected: Linux >= 490bf37eaabb0a857ed1ae8e75d8854e41662f1c, < 66f3e55960698c874b0598277913b478ecd29573; >= c9e080c3005fd183c56ff8f4d75edb5da0765d2c, < 720a297b334e85d34099e83d1f375b92c3efedd6; >= d5cd2928d31042a7c0a01464f9a8d95be736421d, < b653289ca6460a6552c8590b75dfa84a0140a46b; >= 2c86a1305c1406f45ea780d…
Fixed in: Linux 66f3e55960698c874b0598277913b478ecd29573, Linux 720a297b334e85d34099e83d1f375b92c3efedd6, Linux 18e27df4f2b4e257c317ba8076f31a888f6cc64b, Linux 0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c, Linux 375806616f8c772c33d40e112530887b37c1a816, Linux 4.14.324

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54220 being exploited?

There is no confirmed exploitation: CVE-2023-54220 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-54220?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-54220?

Linux \>= 490bf37eaabb0a857ed1ae8e75d8854e41662f1c, \< 66f3e55960698c874b0598277913b478ecd29573; \>= c9e080c3005fd183c56ff8f4d75edb5da0765d2c, \< 720a297b334e85d34099e83d1f375b92c3efedd6; \>= d5cd2928d31042a7c0a01464f9a8d95be736421d, \< b653289ca6460a6552c8590b75dfa84a0140a46b; \>= 2c86a1305c1406f45ea780d06953c484ea1d9e6e, \< bd70d0b28010d560a8be96b44fea86fe2ba016ae; \>= 1ba5594739d858e524ff0f398ee1ebfe0a8b9d41, \< 18e27df4f2b4e257c317ba8076f31a888f6cc64b; \>= af4d6dbb1a92ea424ad1ba1d0c88c7fa2345d872, \< 0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c; \>= 04e82793f068d2f0ffe62fcea03d007a8cdc16a7, \< 375806616f8c772c33d40e112530887b37c1a816; \>= 04e82793f068d2f0ffe62fcea03d007a8cdc16a7, \< dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534; 8e596aed5f2f98cf3e6e98d6fe1d689f4a319308; \>= 4.14.316, \< 4.14.324; …; Linux 6.4.

### Is there a fix for CVE-2023-54220?

Yes. Fixed in Linux 66f3e55960698c874b0598277913b478ecd29573, Linux 720a297b334e85d34099e83d1f375b92c3efedd6, Linux 18e27df4f2b4e257c317ba8076f31a888f6cc64b, Linux 0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c, Linux 375806616f8c772c33d40e112530887b37c1a816, Linux 4.14.324. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54220?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/66f3e55960698c874b0598277913b478ecd29573>
- other: <https://git.kernel.org/stable/c/720a297b334e85d34099e83d1f375b92c3efedd6>
- other: <https://git.kernel.org/stable/c/b653289ca6460a6552c8590b75dfa84a0140a46b>
- other: <https://git.kernel.org/stable/c/bd70d0b28010d560a8be96b44fea86fe2ba016ae>
- other: <https://git.kernel.org/stable/c/18e27df4f2b4e257c317ba8076f31a888f6cc64b>
- other: <https://git.kernel.org/stable/c/0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c>
- other: <https://git.kernel.org/stable/c/375806616f8c772c33d40e112530887b37c1a816>
- other: <https://git.kernel.org/stable/c/dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54220>

HTML: <https://flawdb.com/CVE-2023-54220> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54220>
