CVE-2023-53176
Last modified
CVE-2023-53176 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 4.14.316 |
| Linux | Linux Kernel | >= 4.15, < 4.19.284 |
| Linux | Linux Kernel | >= 4.20, < 5.4.244 |
| Linux | Linux Kernel | >= 5.5, < 5.10.181 |
| Linux | Linux Kernel | >= 5.11, < 5.15.113 |
| Linux | Linux Kernel | >= 5.16, < 6.1.30 |
| Linux | Linux Kernel | >= 6.2, < 6.3.4 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-53176?
How severe is CVE-2023-53176?
How do I fix CVE-2023-53176?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-53170In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53171In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53172In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53173In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53174In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53175In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53177In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53178In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2023-53179In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-5318Use of Hard-coded Credentials in GitHub repository microwebe…7.5
- CVE-2023-53180In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53181In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2023-53176?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
