CVE-2025-39724: serial: 8250: fix panic due to PSLVERR

Published Sep 5, 2025
·
Updated

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

serial: 8250: fix panic due to PSLVERR

When the PSLVERRRESPEN parameter is set to 1, the device generates an error response if an attempt is made to read an empty RBR (Receive Buffer Register) while the FIFO is enabled.

In serial8250dostartup(), calling serialportout(port, UARTLCR, UARTLCRWLEN8) triggers dw8250checklcr(), which invokes dw8250forceidle() and serial8250clearandreinitfifos(). The latter function enables the FIFO via serialout(p, UARTFCR, p->fcr). Execution proceeds to the serialportin(port, UARTRX). This satisfies the PSLVERR trigger condition.

When another CPU (e.g., using printk()) is accessing the UART (UART is busy), the current CPU fails the check (value & ~UARTLCRSPAR) == (lcr & ~UARTLCRSPAR) in dw8250checklcr(), causing it to enter dw8250forceidle().

Put serialportout(port, UARTLCR, UARTLCRWLEN8) under the port->lock to fix this issue.

Panic backtrace: [ 0.442336] Oops - unknown exception [#1] [ 0.442343] epc : dw8250serialin32+0x1e/0x4a [ 0.442351] ra : serial8250dostartup+0x2c8/0x88e ... [ 0.442416] consoleonrootfs+0x26/0x70

Affected Software

13 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.96.2-1
Microsoft azl3 kernel 6.6.96.2-2
Linux Linux kernel>=3.10.48<3.11
Linux Linux kernel>=3.12.24<5.4.297
Linux Linux kernel>=5.5<5.10.241
Linux Linux kernel>=5.11<5.15.190
Linux Linux kernel>=5.16<6.1.149
Linux Linux kernel>=6.2<6.6.103
Linux Linux kernel>=6.7<6.12.44
Linux Linux kernel>=6.13<6.16.4
Debian Debian Linux=11.0
Microsoft cbl2 kernel 5.15.186.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Fix the panic by ensuring the call to serial_port_out(port, UART_LCR, UART_LCR_WLEN8) in serial8250_do_startup() is performed while holding port->lock.

    Linux kernel serial driver (8250 / dw8250) Put serial_port_out(port, UART_LCR, UART_LCR_WLEN8) under the port->lock = locked

Event History

Sep 5, 2025
CVE Published
via MITRE·05:21 PM
Data Sourced
via MITRE·05:21 PM
Description
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityAffected Software
Sep 7, 2025
Data Sourced
via Microsoft·01:05 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:05 AM
SeverityAffected Software
Updated
via Microsoft·08:05 AM
DescriptionSeverity
Updated
via Microsoft·08:05 AM
SeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-39724?

CVE-2025-39724 is considered a high severity vulnerability due to its potential to cause system crashes.

2

How do I fix CVE-2025-39724?

To fix CVE-2025-39724, update to the latest version of the Linux kernel where this vulnerability has been patched.

3

What systems are affected by CVE-2025-39724?

CVE-2025-39724 affects systems running vulnerable versions of the Linux kernel utilizing the 8250 serial driver.

4

Is CVE-2025-39724 exploitable remotely?

CVE-2025-39724 is not considered to be remotely exploitable, as it requires local access to the affected system.

5

What is the impact of not addressing CVE-2025-39724?

Failure to address CVE-2025-39724 may lead to system instability and potential crashes when interacting with the affected serial devices.

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