CVE-2023-54220
serial: 8250: Fix oops for port->pm on uart_change_pm()
Check your servers for CVE-2023-54220
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-54220 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.10% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 490bf37eaabb0a857ed1ae8e75d8854e41662f1c, before 66f3e55960698c874b0598277913b478ecd29573 affected from c9e080c3005fd183c56ff8f4d75edb5da0765d2c, before 720a297b334e85d34099e83d1f375b92c3efedd6 affected from d5cd2928d31042a7c0a01464f9a8d95be736421d, before b653289ca6460a6552c8590b75dfa84a0140a46b affected from 2c86a1305c1406f45ea780d06953c484ea1d9e6e, before bd70d0b28010d560a8be96b44fea86fe2ba016ae affected from 1ba5594739d858e524ff0f398ee1ebfe0a8b9d41, before 18e27df4f2b4e257c317ba8076f31a888f6cc64b affected from af4d6dbb1a92ea424ad1ba1d0c88c7fa2345d872, before 0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c affected from 04e82793f068d2f0ffe62fcea03d007a8cdc16a7, before 375806616f8c772c33d40e112530887b37c1a816 affected from 04e82793f068d2f0ffe62fcea03d007a8cdc16a7, before dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534 affected 8e596aed5f2f98cf3e6e98d6fe1d689f4a319308 affected from 4.14.316, before 4.14.324 affected from 4.19.284, before 4.19.293 affected from 5.4.244, before 5.4.255 affected from 5.10.181, before 5.10.192 affected from 5.15.113, before 5.15.128 affected from 6.1.30, before 6.1.47 affected from 6.3.4, before 6.4
Other versions: unaffected
|
| Linux |
affected 6.4 unaffected before 6.4 unaffected from 4.14.324 up to and including 4.14.* unaffected from 4.19.293 up to and including 4.19.* unaffected from 5.4.255 up to and including 5.4.* unaffected from 5.10.192 up to and including 5.10.* unaffected from 5.15.128 up to and including 5.15.* unaffected from 6.1.47 up to and including 6.1.* unaffected from 6.4.12 up to and including 6.4.* unaffected 6.5 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-54220 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-54220
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-54220
trivy image --scanners vuln IMAGE | grep CVE-2023-54220
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/66f3e55960698c874b0598277913b478ecd29573 git.kernel.org
- https://git.kernel.org/stable/c/720a297b334e85d34099e83d1f375b92c3efedd6 git.kernel.org
- https://git.kernel.org/stable/c/b653289ca6460a6552c8590b75dfa84a0140a46b git.kernel.org
- https://git.kernel.org/stable/c/bd70d0b28010d560a8be96b44fea86fe2ba016ae git.kernel.org
- https://git.kernel.org/stable/c/18e27df4f2b4e257c317ba8076f31a888f6cc64b git.kernel.org
- https://git.kernel.org/stable/c/0c05493341d6f2097f75f0a5dbb7b53a9e8c5f6c git.kernel.org
- https://git.kernel.org/stable/c/375806616f8c772c33d40e112530887b37c1a816 git.kernel.org
- https://git.kernel.org/stable/c/dfe2aeb226fd5e19b0ee795f4f6ed8bc494c1534 git.kernel.org
Source: the record CVE-2023-54220 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse