serial: 8250: Fix oops for port->pm on uart_change_pm()
Summary
| CVE | CVE-2023-54220 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-12-30 13:16:10 UTC |
| Updated | 2026-08-04 11:16:37 UTC |
| 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(). |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.001340000 probability, percentile 0.033210000 (date 2026-08-06)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 490bf37eaabb0a857ed1ae8e75d8854e41662f1c 66f3e55960698c874b0598277913b478ecd29573 git | Not specified |
| CNA | Linux | Linux | affected c9e080c3005fd183c56ff8f4d75edb5da0765d2c 720a297b334e85d34099e83d1f375b92c3efedd6 git | Not specified |
| CNA | Linux | Linux | affected d5cd2928d31042a7c0a01464f9a8d95be736421d b653289ca6460a6552c8590b75dfa84a0140a46b git | Not specified |
| CNA | Linux | Linux | affected 2c86a1305c1406f45ea780d06953c484ea1d9e6e bd70d0b28010d560a8be96b44fea86fe2ba016ae git | Not specified |
| CNA | Linux | Linux | affected 1ba5594739d858e524ff0f398ee1ebfe0a8b9d41 18e27df4f2b4e257c317ba8076f31a888f6cc64b git | Not specified |
| CNA | Linux | Linux | affected af4d6dbb1a92ea424ad1ba1d0c88c7fa2345d872 0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c git | Not specified |
| CNA | Linux | Linux | affected 04e82793f068d2f0ffe62fcea03d007a8cdc16a7 375806616f8c772c33d40e112530887b37c1a816 git | Not specified |
| CNA | Linux | Linux | affected 04e82793f068d2f0ffe62fcea03d007a8cdc16a7 dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534 git | Not specified |
| CNA | Linux | Linux | affected 8e596aed5f2f98cf3e6e98d6fe1d689f4a319308 git | Not specified |
| CNA | Linux | Linux | affected 4.14.316 4.14.324 semver | Not specified |
| CNA | Linux | Linux | affected 4.19.284 4.19.293 semver | Not specified |
| CNA | Linux | Linux | affected 5.4.244 5.4.255 semver | Not specified |
| CNA | Linux | Linux | affected 5.10.181 5.10.192 semver | Not specified |
| CNA | Linux | Linux | affected 5.15.113 5.15.128 semver | Not specified |
| CNA | Linux | Linux | affected 6.1.30 6.1.47 semver | Not specified |
| CNA | Linux | Linux | affected 6.3.4 6.4 semver | Not specified |
| CNA | Linux | Linux | affected 6.4 | Not specified |
| CNA | Linux | Linux | unaffected 6.4 semver | Not specified |
| CNA | Linux | Linux | unaffected 4.14.324 4.14.* semver | Not specified |
| CNA | Linux | Linux | unaffected 4.19.293 4.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.255 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.192 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.128 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.47 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.4.12 6.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.5 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/18e27df4f2b4e257c317ba8076f31a888f6cc64b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/375806616f8c772c33d40e112530887b37c1a816 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/720a297b334e85d34099e83d1f375b92c3efedd6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/66f3e55960698c874b0598277913b478ecd29573 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/bd70d0b28010d560a8be96b44fea86fe2ba016ae | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b653289ca6460a6552c8590b75dfa84a0140a46b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.