CVE-2023-54220: serial: 8250: Fix oops for port->pm on uart_change_pm()

Published Dec 30, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

serial: 8250: Fix oops for port->pm on uartchangepm()

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 uarthangup() calling uartchangepm().

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 serial8250pm() will call port->pm() instead of serial8250dopm().

Affected Software

153 affected componentsFixes available
linux_kernel
debian/linux<6.1.52-1
6.1.52-1
debian/linux<6.4.13-1
6.4.13-1
debian/linux<6.4.13-1
6.4.13-1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.113-17.2.12-17.2.13-1
linux/kernel<4.14.324
4.14.324
linux/kernel>=4.15.0<4.19.293
4.19.293
linux/kernel>=4.20.0<5.4.255
5.4.255
linux/kernel>=5.5.0<5.10.192
5.10.192
linux/kernel>=5.11.0<5.15.128
5.15.128
linux/kernel>=5.16.0<6.1.47
6.1.47
linux/kernel>=6.2.0<6.4.12
6.4.12
ubuntu/linux-hwe-edge*
ubuntu/linux-aws-5.0*
ubuntu/linux-aws-5.3*
ubuntu/linux-aws-5.4<5.4.0-1116.126~18.04.1
5.4.0-1116.126~18.04.1
ubuntu/linux-azure*
ubuntu/linux-azure-5.3*
ubuntu/linux-azure-5.4<5.4.0-1121.128~18.04.1
5.4.0-1121.128~18.04.1
ubuntu/linux-azure-edge*
ubuntu/linux-gcp*
ubuntu/linux-gcp-5.3*
ubuntu/linux-gcp-5.4<5.4.0-1120.129~18.04.1
5.4.0-1120.129~18.04.1
ubuntu/linux-gke-4.15*
ubuntu/linux-gke-5.4*
ubuntu/linux-gkeop-5.4*
ubuntu/linux-hwe*
ubuntu/linux-hwe-5.4<5.4.0-169.187~18.04.1
5.4.0-169.187~18.04.1
ubuntu/linux-hwe-edge*
ubuntu/linux-ibm-5.4<5.4.0-1063.68~18.04.1
5.4.0-1063.68~18.04.1
ubuntu/linux-oem*
ubuntu/linux-oracle-5.0*
ubuntu/linux-oracle-5.3*
ubuntu/linux-oracle-5.4<5.4.0-1115.124~18.04.1
5.4.0-1115.124~18.04.1
ubuntu/linux-raspi-5.4<5.4.0-1100.112~18.04.1
5.4.0-1100.112~18.04.1
ubuntu/linux<5.4.0-169.187
5.4.0-169.187
ubuntu/linux-aws<5.4.0-1116.126
5.4.0-1116.126
ubuntu/linux-aws-5.15<5.15.0-1051.56~20.04.1
5.15.0-1051.56~20.04.1
ubuntu/linux-azure<5.4.0-1121.128
5.4.0-1121.128
ubuntu/linux-azure-5.15<5.15.0-1053.61~20.04.1
5.15.0-1053.61~20.04.1
ubuntu/linux-bluefield<5.4.0-1076.82
5.4.0-1076.82
ubuntu/linux-gcp<5.4.0-1120.129
5.4.0-1120.129
ubuntu/linux-gcp-5.15<5.15.0-1048.56~20.04.1
5.15.0-1048.56~20.04.1
ubuntu/linux-hwe-5.15<5.15.0-91.101~20.04.1
5.15.0-91.101~20.04.1
ubuntu/linux-ibm<5.4.0-1063.68
5.4.0-1063.68
ubuntu/linux-ibm-5.15<5.15.0-1044.47~20.04.1
5.15.0-1044.47~20.04.1
ubuntu/linux-intel-iotg-5.15<5.15.0-1046.52~20.04.1
5.15.0-1046.52~20.04.1
ubuntu/linux-iot<5.4.0-1028.29
5.4.0-1028.29
ubuntu/linux-kvm<5.4.0-1104.111
5.4.0-1104.111
ubuntu/linux-lowlatency-hwe-5.15<5.15.0-91.101~20.04.1
5.15.0-91.101~20.04.1
ubuntu/linux-nvidia-tegra-5.15<5.15.0-1020.20~20.04.1
5.15.0-1020.20~20.04.1
ubuntu/linux-oracle<5.4.0-1115.124
5.4.0-1115.124
ubuntu/linux-oracle-5.15<5.15.0-1049.55~20.04.1
5.15.0-1049.55~20.04.1
ubuntu/linux-raspi<5.4.0-1100.112
5.4.0-1100.112
ubuntu/linux-riscv-5.15<5.15.0-1047.51~20.04.1
5.15.0-1047.51~20.04.1
ubuntu/linux-xilinx-zynqmp<5.4.0-1035.39
5.4.0-1035.39
ubuntu/linux-aws-5.11*
ubuntu/linux-aws-5.13*
ubuntu/linux-aws-5.8*
ubuntu/linux-azure-5.11*
ubuntu/linux-azure-5.13*
ubuntu/linux-azure-5.8*
ubuntu/linux-azure-fde*
ubuntu/linux-gcp-5.11*
ubuntu/linux-gcp-5.13*
ubuntu/linux-gcp-5.8*
ubuntu/linux-gke*
ubuntu/linux-gke-5.15*
ubuntu/linux-gkeop*
ubuntu/linux-gkeop-5.15*
ubuntu/linux-hwe-5.11*
ubuntu/linux-hwe-5.13*
ubuntu/linux-hwe-5.8*
ubuntu/linux-intel-5.13*
ubuntu/linux-oem-5.10*
ubuntu/linux-oem-5.13*
ubuntu/linux-oem-5.6*
ubuntu/linux-oracle-5.11*
ubuntu/linux-oracle-5.13*
ubuntu/linux-oracle-5.8*
ubuntu/linux-raspi2*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.11*
ubuntu/linux-riscv-5.8*
ubuntu/linux-aws-fips<5.4.0-1116.126+fips1
5.4.0-1116.126+fips1
ubuntu/linux-azure-fips<5.4.0-1121.128+fips1
5.4.0-1121.128+fips1
ubuntu/linux-fips<5.4.0-1090.100
5.4.0-1090.100
ubuntu/linux-gcp-fips<5.4.0-1120.129+fips1
5.4.0-1120.129+fips1
ubuntu/linux<5.15.0-91.101
5.15.0-91.101
ubuntu/linux-allwinner-5.19*
ubuntu/linux-aws<5.15.0-1051.56
5.15.0-1051.56
ubuntu/linux-aws-5.19*
ubuntu/linux-aws-6.2*
ubuntu/linux-aws-6.5*
ubuntu/linux-azure<5.15.0-1053.61
5.15.0-1053.61
ubuntu/linux-azure-5.19*
ubuntu/linux-azure-6.2*
ubuntu/linux-azure-6.5*
ubuntu/linux-azure-fde<5.15.0-1053.61.1
5.15.0-1053.61.1
ubuntu/linux-azure-fde-5.19*
ubuntu/linux-azure-fde-6.2*
ubuntu/linux-gcp<5.15.0-1048.56
5.15.0-1048.56
ubuntu/linux-gcp-5.19*
ubuntu/linux-gcp-6.2*
ubuntu/linux-gcp-6.5*
ubuntu/linux-gke<5.15.0-1048.53
5.15.0-1048.53
ubuntu/linux-gkeop<5.15.0-1034.40
5.15.0-1034.40
ubuntu/linux-hwe-5.19*
ubuntu/linux-hwe-6.2*
ubuntu/linux-hwe-6.5*
ubuntu/linux-ibm<5.15.0-1044.47
5.15.0-1044.47
ubuntu/linux-intel-iot-realtime*
ubuntu/linux-intel-iotg<5.15.0-1046.52
5.15.0-1046.52
ubuntu/linux-kvm<5.15.0-1048.53
5.15.0-1048.53
ubuntu/linux-lowlatency<5.15.0-91.101
5.15.0-91.101
ubuntu/linux-lowlatency-hwe-5.19*
ubuntu/linux-lowlatency-hwe-6.2*
ubuntu/linux-lowlatency-hwe-6.5*
ubuntu/linux-nvidia<5.15.0-1042.42
5.15.0-1042.42
ubuntu/linux-nvidia-6.2*
ubuntu/linux-nvidia-6.5*
ubuntu/linux-nvidia-tegra<5.15.0-1020.20
5.15.0-1020.20
ubuntu/linux-nvidia-tegra-igx<5.15.0-1007.7
5.15.0-1007.7
ubuntu/linux-oem-5.17*
ubuntu/linux-oem-6.0*
ubuntu/linux-oem-6.1*
ubuntu/linux-oem-6.5*
ubuntu/linux-oracle<5.15.0-1049.55
5.15.0-1049.55
ubuntu/linux-oracle-6.5*
ubuntu/linux-raspi<5.15.0-1044.47
5.15.0-1044.47
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-5.19*
ubuntu/linux-riscv-6.5*
ubuntu/linux-starfive-5.19*
ubuntu/linux-starfive-6.2*
ubuntu/linux-starfive-6.5*
ubuntu/linux-xilinx-zynqmp<5.15.0-1027.31
5.15.0-1027.31
ubuntu/linux-bluefield<5.15.0-1033.35
5.15.0-1033.35
ubuntu/linux-intel-iot-realtime<5.15.0-1044.46
5.15.0-1044.46
ubuntu/linux-realtime<5.15.0-1052.58
5.15.0-1052.58
ubuntu/linux-azure-6.11*
ubuntu/linux-gcp-6.11*
ubuntu/linux-hwe-6.11*
ubuntu/linux-lowlatency-hwe-6.11*
ubuntu/linux-nvidia-6.11*
ubuntu/linux-oem-6.11*
ubuntu/linux-oem-6.8*
ubuntu/linux-raspi-realtime*
ubuntu/linux-realtime*
ubuntu/linux-riscv*
ubuntu/linux-riscv-6.14*
ubuntu/linux-vmware*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.52-1
  2. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.4.13-1
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 4.14.324
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 4.19.293
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.4.255
  7. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.192
  8. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.128
  9. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.47
  10. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.4.12
  11. Upgrade

    Upgrade ubuntu/linux-aws-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1116.126~18.04.1
  12. Upgrade

    Upgrade ubuntu/linux-azure-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1121.128~18.04.1
  13. Upgrade

    Upgrade ubuntu/linux-gcp-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1120.129~18.04.1
  14. Upgrade

    Upgrade ubuntu/linux-hwe-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-169.187~18.04.1
  15. Upgrade

    Upgrade ubuntu/linux-ibm-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1063.68~18.04.1
  16. Upgrade

    Upgrade ubuntu/linux-oracle-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1115.124~18.04.1
  17. Upgrade

    Upgrade ubuntu/linux-raspi-5.4 to a version that resolves this vulnerability.

    Fixed in 5.4.0-1100.112~18.04.1
  18. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.4.0-169.187
  19. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.4.0-1116.126
  20. Upgrade

    Upgrade ubuntu/linux-aws-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1051.56~20.04.1
  21. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.4.0-1121.128
  22. Upgrade

    Upgrade ubuntu/linux-azure-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1053.61~20.04.1
  23. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.4.0-1076.82
  24. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1120.129
  25. Upgrade

    Upgrade ubuntu/linux-gcp-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1048.56~20.04.1
  26. Upgrade

    Upgrade ubuntu/linux-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-91.101~20.04.1
  27. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1063.68
  28. Upgrade

    Upgrade ubuntu/linux-ibm-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1044.47~20.04.1
  29. Upgrade

    Upgrade ubuntu/linux-intel-iotg-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1046.52~20.04.1
  30. Upgrade

    Upgrade ubuntu/linux-iot to a version that resolves this vulnerability.

    Fixed in 5.4.0-1028.29
  31. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.4.0-1104.111
  32. Upgrade

    Upgrade ubuntu/linux-lowlatency-hwe-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-91.101~20.04.1
  33. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1020.20~20.04.1
  34. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.4.0-1115.124
  35. Upgrade

    Upgrade ubuntu/linux-oracle-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1049.55~20.04.1
  36. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.4.0-1100.112
  37. Upgrade

    Upgrade ubuntu/linux-riscv-5.15 to a version that resolves this vulnerability.

    Fixed in 5.15.0-1047.51~20.04.1
  38. Upgrade

    Upgrade ubuntu/linux-xilinx-zynqmp to a version that resolves this vulnerability.

    Fixed in 5.4.0-1035.39
  39. Upgrade

    Upgrade ubuntu/linux-aws-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1116.126+fips1
  40. Upgrade

    Upgrade ubuntu/linux-azure-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1121.128+fips1
  41. Upgrade

    Upgrade ubuntu/linux-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1090.100
  42. Upgrade

    Upgrade ubuntu/linux-gcp-fips to a version that resolves this vulnerability.

    Fixed in 5.4.0-1120.129+fips1
  43. Upgrade

    Upgrade ubuntu/linux to a version that resolves this vulnerability.

    Fixed in 5.15.0-91.101
  44. Upgrade

    Upgrade ubuntu/linux-aws to a version that resolves this vulnerability.

    Fixed in 5.15.0-1051.56
  45. Upgrade

    Upgrade ubuntu/linux-azure to a version that resolves this vulnerability.

    Fixed in 5.15.0-1053.61
  46. Upgrade

    Upgrade ubuntu/linux-azure-fde to a version that resolves this vulnerability.

    Fixed in 5.15.0-1053.61.1
  47. Upgrade

    Upgrade ubuntu/linux-gcp to a version that resolves this vulnerability.

    Fixed in 5.15.0-1048.56
  48. Upgrade

    Upgrade ubuntu/linux-gke to a version that resolves this vulnerability.

    Fixed in 5.15.0-1048.53
  49. Upgrade

    Upgrade ubuntu/linux-gkeop to a version that resolves this vulnerability.

    Fixed in 5.15.0-1034.40
  50. Upgrade

    Upgrade ubuntu/linux-ibm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1044.47
  51. Upgrade

    Upgrade ubuntu/linux-intel-iotg to a version that resolves this vulnerability.

    Fixed in 5.15.0-1046.52
  52. Upgrade

    Upgrade ubuntu/linux-kvm to a version that resolves this vulnerability.

    Fixed in 5.15.0-1048.53
  53. Upgrade

    Upgrade ubuntu/linux-lowlatency to a version that resolves this vulnerability.

    Fixed in 5.15.0-91.101
  54. Upgrade

    Upgrade ubuntu/linux-nvidia to a version that resolves this vulnerability.

    Fixed in 5.15.0-1042.42
  55. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra to a version that resolves this vulnerability.

    Fixed in 5.15.0-1020.20
  56. Upgrade

    Upgrade ubuntu/linux-nvidia-tegra-igx to a version that resolves this vulnerability.

    Fixed in 5.15.0-1007.7
  57. Upgrade

    Upgrade ubuntu/linux-oracle to a version that resolves this vulnerability.

    Fixed in 5.15.0-1049.55
  58. Upgrade

    Upgrade ubuntu/linux-raspi to a version that resolves this vulnerability.

    Fixed in 5.15.0-1044.47
  59. Upgrade

    Upgrade ubuntu/linux-xilinx-zynqmp to a version that resolves this vulnerability.

    Fixed in 5.15.0-1027.31
  60. Upgrade

    Upgrade ubuntu/linux-bluefield to a version that resolves this vulnerability.

    Fixed in 5.15.0-1033.35
  61. Upgrade

    Upgrade ubuntu/linux-intel-iot-realtime to a version that resolves this vulnerability.

    Fixed in 5.15.0-1044.46
  62. Upgrade

    Upgrade ubuntu/linux-realtime to a version that resolves this vulnerability.

    Fixed in 5.15.0-1052.58
  63. Configuration

    When unloading or unbinding a hardware-specific 8250 driver that initialized port->pm, clear port->pm in addition to reinitializing port->ops so serial8250_pm() calls serial8250_do_pm() instead of the unloaded driver callback.

    Linux kernel serial 8250 driver port->pm = clear

Event History

Dec 30, 2025
CVE Published
via MITRE·12:11 PM
Data Sourced
via MITRE·12:11 PM
DescriptionSeverity
Data Sourced
via OSV·12:11 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·01:16 PM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2023-54220?

CVE-2023-54220 has been classified with a low severity rating.

2

What issue does CVE-2023-54220 address in the Linux kernel?

CVE-2023-54220 addresses an oops error related to port->pm when unloading a hardware specific 8250 driver.

3

How can I mitigate the risks associated with CVE-2023-54220?

The risks associated with CVE-2023-54220 can be mitigated by ensuring you update to the latest version of the Linux kernel with the relevant patches applied.

4

What platforms are affected by CVE-2023-54220?

CVE-2023-54220 affects the Linux kernel specifically when working with the 8250 serial driver.

5

Is there a workaround for CVE-2023-54220 until a fix is applied?

A temporary workaround for CVE-2023-54220 would be to avoid unloading the affected hardware specific 8250 driver.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203