CVE-2023-54220
serial: 8250: Fix oops for port->pm on uart_change_pm()
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().
INFO
Published Date :
Dec. 30, 2025, 1:16 p.m.
Last Modified :
Oct. 28, 2026, 7:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the patched version.
- Ensure the serial driver is correctly unloaded.
- Monitor system stability after driver operations.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-54220.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-54220 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-54220
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-54220 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-54220 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 28, 2026
Action Type Old Value New Value Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: serial: 8250: Corrección de oops para port -> pm en uart_change_pm() La descarga de un controlador 8250 específico de hardware puede producir el error ’Unable to handle kernel paging request at virtual address’ aproximadamente diez segundos después de descargar el controlador. Esto ocurre cuando uart_hangup() llama a uart_change_pm(). Resulta que el commit 04e82793f068 (’serial: 8250: Reiniciar port -> pm al desvincular el controlador específico del puerto’) fue solo una solución parcial. Si el controlador específico de hardware ha inicializado la función port -> pm, también necesitamos limpiar port -> pm. Solo reinicializar port -> ops no hace esto. De lo contrario, serial8250_pm() llamará a port -> pm() en lugar de serial8250_do_pm(). -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 15, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c Added Reference https://git.kernel.org/stable/c/18e27df4f2b4e257c317ba8076f31a888f6cc64b Added Reference https://git.kernel.org/stable/c/375806616f8c772c33d40e112530887b37c1a816 Added Reference https://git.kernel.org/stable/c/66f3e55960698c874b0598277913b478ecd29573 Added Reference https://git.kernel.org/stable/c/720a297b334e85d34099e83d1f375b92c3efedd6 Added Reference https://git.kernel.org/stable/c/b653289ca6460a6552c8590b75dfa84a0140a46b Added Reference https://git.kernel.org/stable/c/bd70d0b28010d560a8be96b44fea86fe2ba016ae Added Reference https://git.kernel.org/stable/c/dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534 Removed Reference https://git.kernel.org/stable/c/0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c Removed Reference https://git.kernel.org/stable/c/18e27df4f2b4e257c317ba8076f31a888f6cc64b Removed Reference https://git.kernel.org/stable/c/375806616f8c772c33d40e112530887b37c1a816 Removed Reference https://git.kernel.org/stable/c/66f3e55960698c874b0598277913b478ecd29573 Removed Reference https://git.kernel.org/stable/c/720a297b334e85d34099e83d1f375b92c3efedd6 Removed Reference https://git.kernel.org/stable/c/b653289ca6460a6552c8590b75dfa84a0140a46b Removed Reference https://git.kernel.org/stable/c/bd70d0b28010d560a8be96b44fea86fe2ba016ae Removed Reference https://git.kernel.org/stable/c/dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Oct. 15, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2023-54220', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-15T21:39:29.518449Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 04, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '490bf37eaabb0a857ed1ae8e75d8854e41662f1c', 'lessThan': '66f3e55960698c874b0598277913b478ecd29573', 'versionType': 'git'}, {'status': 'affected', 'version': 'c9e080c3005fd183c56ff8f4d75edb5da0765d2c', 'lessThan': '720a297b334e85d34099e83d1f375b92c3efedd6', 'versionType': 'git'}, {'status': 'affected', 'version': 'd5cd2928d31042a7c0a01464f9a8d95be736421d', 'lessThan': 'b653289ca6460a6552c8590b75dfa84a0140a46b', 'versionType': 'git'}, {'status': 'affected', 'version': '2c86a1305c1406f45ea780d06953c484ea1d9e6e', 'lessThan': 'bd70d0b28010d560a8be96b44fea86fe2ba016ae', 'versionType': 'git'}, {'status': 'affected', 'version': '1ba5594739d858e524ff0f398ee1ebfe0a8b9d41', 'lessThan': '18e27df4f2b4e257c317ba8076f31a888f6cc64b', 'versionType': 'git'}, {'status': 'affected', 'version': 'af4d6dbb1a92ea424ad1ba1d0c88c7fa2345d872', 'lessThan': '0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c', 'versionType': 'git'}, {'status': 'affected', 'version': '04e82793f068d2f0ffe62fcea03d007a8cdc16a7', 'lessThan': '375806616f8c772c33d40e112530887b37c1a816', 'versionType': 'git'}, {'status': 'affected', 'version': '04e82793f068d2f0ffe62fcea03d007a8cdc16a7', 'lessThan': 'dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534', 'versionType': 'git'}, {'status': 'affected', 'version': '8e596aed5f2f98cf3e6e98d6fe1d689f4a319308', 'versionType': 'git'}, {'status': 'affected', 'version': '4.14.316', 'lessThan': '4.14.324', 'versionType': 'semver'}, {'status': 'affected', 'version': '4.19.284', 'lessThan': '4.19.293', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.4.244', 'lessThan': '5.4.255', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.10.181', 'lessThan': '5.10.192', 'versionType': 'semver'}, {'status': 'affected', 'version': '5.15.113', 'lessThan': '5.15.128', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.1.30', 'lessThan': '6.1.47', 'versionType': 'semver'}, {'status': 'affected', 'version': '6.3.4', 'lessThan': '6.4', 'versionType': 'semver'}], 'programFiles': ['drivers/tty/serial/8250/8250_port.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.4'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.4', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '4.14.324', 'versionType': 'semver', 'lessThanOrEqual': '4.14.*'}, {'status': 'unaffected', 'version': '4.19.293', 'versionType': 'semver', 'lessThanOrEqual': '4.19.*'}, {'status': 'unaffected', 'version': '5.4.255', 'versionType': 'semver', 'lessThanOrEqual': '5.4.*'}, {'status': 'unaffected', 'version': '5.10.192', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.128', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.47', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.4.12', 'versionType': 'semver', 'lessThanOrEqual': '6.4.*'}, {'status': 'unaffected', 'version': '6.5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/tty/serial/8250/8250_port.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 30, 2025
Action Type Old Value New Value Added 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(). Added Reference https://git.kernel.org/stable/c/0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c Added Reference https://git.kernel.org/stable/c/18e27df4f2b4e257c317ba8076f31a888f6cc64b Added Reference https://git.kernel.org/stable/c/375806616f8c772c33d40e112530887b37c1a816 Added Reference https://git.kernel.org/stable/c/66f3e55960698c874b0598277913b478ecd29573 Added Reference https://git.kernel.org/stable/c/720a297b334e85d34099e83d1f375b92c3efedd6 Added Reference https://git.kernel.org/stable/c/b653289ca6460a6552c8590b75dfa84a0140a46b Added Reference https://git.kernel.org/stable/c/bd70d0b28010d560a8be96b44fea86fe2ba016ae Added Reference https://git.kernel.org/stable/c/dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534