CVE-2023-53176
serial: 8250: Reinit port->pm on port specific driver unbind
Check your servers for CVE-2023-53176
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-53176 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: Reinit port->pm on port specific driver unbind
When we unbind a serial port hardware specific 8250 driver, the generic serial8250 driver takes over the port. After that we see an oops about 10 seconds later. This can produce the following at least on some TI SoCs:
Unhandled fault: imprecise external abort (0x1406) Internal error: : 1406 [#1] SMP ARM
Turns out that we may still have the serial port hardware specific driver port->pm in use, and serial8250_pm() tries to call it after the port specific driver is gone:
serial8250_pm [8250_base] from uart_change_pm+0x54/0x8c [serial_base] uart_change_pm [serial_base] from uart_hangup+0x154/0x198 [serial_base] uart_hangup [serial_base] from __tty_hangup.part.0+0x328/0x37c __tty_hangup.part.0 from disassociate_ctty+0x154/0x20c disassociate_ctty from do_exit+0x744/0xaac do_exit from do_group_exit+0x40/0x8c do_group_exit from __wake_up_parent+0x0/0x1c
Let's fix the issue by calling serial8250_set_defaults() in serial8250_unregister_port(). This will set the port back to using the serial8250 default functions, and sets the port->pm to point to serial8250_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.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.51% 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 c161afe9759ddcc174d08e7c4f683d08ac9ba86f, before 490bf37eaabb0a857ed1ae8e75d8854e41662f1c affected from c161afe9759ddcc174d08e7c4f683d08ac9ba86f, before c9e080c3005fd183c56ff8f4d75edb5da0765d2c affected from c161afe9759ddcc174d08e7c4f683d08ac9ba86f, before d5cd2928d31042a7c0a01464f9a8d95be736421d affected from c161afe9759ddcc174d08e7c4f683d08ac9ba86f, before 2c86a1305c1406f45ea780d06953c484ea1d9e6e affected from c161afe9759ddcc174d08e7c4f683d08ac9ba86f, before 1ba5594739d858e524ff0f398ee1ebfe0a8b9d41 affected from c161afe9759ddcc174d08e7c4f683d08ac9ba86f, before af4d6dbb1a92ea424ad1ba1d0c88c7fa2345d872 affected from c161afe9759ddcc174d08e7c4f683d08ac9ba86f, before 8e596aed5f2f98cf3e6e98d6fe1d689f4a319308 affected from c161afe9759ddcc174d08e7c4f683d08ac9ba86f, before 04e82793f068d2f0ffe62fcea03d007a8cdc16a7
Other versions: unaffected
|
| Linux |
affected 2.6.37 unaffected before 2.6.37 unaffected from 4.14.316 up to and including 4.14.* unaffected from 4.19.284 up to and including 4.19.* unaffected from 5.4.244 up to and including 5.4.* unaffected from 5.10.181 up to and including 5.10.* unaffected from 5.15.113 up to and including 5.15.* unaffected from 6.1.30 up to and including 6.1.* unaffected from 6.3.4 up to and including 6.3.* unaffected 6.4 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-53176 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53176
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-53176
trivy image --scanners vuln IMAGE | grep CVE-2023-53176
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/490bf37eaabb0a857ed1ae8e75d8854e41662f1c git.kernel.org
- https://git.kernel.org/stable/c/c9e080c3005fd183c56ff8f4d75edb5da0765d2c git.kernel.org
- https://git.kernel.org/stable/c/d5cd2928d31042a7c0a01464f9a8d95be736421d git.kernel.org
- https://git.kernel.org/stable/c/2c86a1305c1406f45ea780d06953c484ea1d9e6e git.kernel.org
- https://git.kernel.org/stable/c/1ba5594739d858e524ff0f398ee1ebfe0a8b9d41 git.kernel.org
- https://git.kernel.org/stable/c/af4d6dbb1a92ea424ad1ba1d0c88c7fa2345d872 git.kernel.org
- https://git.kernel.org/stable/c/8e596aed5f2f98cf3e6e98d6fe1d689f4a319308 git.kernel.org
- https://git.kernel.org/stable/c/04e82793f068d2f0ffe62fcea03d007a8cdc16a7 git.kernel.org
Source: the record CVE-2023-53176 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