VDB

CVE-2025-39724

CVE-2025-39724 PUBLISHED

serial: 8250: fix panic due to PSLVERR

Reported by linux · Published September 5, 2025

In the Linux kernel, the following vulnerability has been resolved: serial: 8250: fix panic due to PSLVERR When the PSLVERR_RESP_EN 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 serial8250_do_startup(), calling serial_port_out(port, UART_LCR, UART_LCR_WLEN8) triggers dw8250_check_lcr(), which invokes dw8250_force_idle() and serial8250_clear_and_reinit_fifos(). The latter function enables the FIFO via serial_out(p, UART_FCR, p->fcr). Execution proceeds to the serial_port_in(port, UART_RX). 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 & ~UART_LCR_SPAR) == (lcr & ~UART_LCR_SPAR) in dw8250_check_lcr(), causing it to enter dw8250_force_idle(). Put serial_port_out(port, UART_LCR, UART_LCR_WLEN8) under the port->lock to fix this issue. Panic backtrace: [ 0.442336] Oops - unknown exception [#1] [ 0.442343] epc : dw8250_serial_in32+0x1e/0x4a [ 0.442351] ra : serial8250_do_startup+0x2c8/0x88e ... [ 0.442416] console_on_rootfs+0x26/0x70

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-libbpf-staticAmazon Linux1:6.12.46-66.121.amzn2023
kernel-toolsAmazon Linux1:6.1.150-174.273.amzn2023
perf6.12Amazon Linux1:6.12.46-66.121.amzn2023
kernelAmazon Linux1:6.1.150-174.273.amzn2023
kernel-tools-develAmazon Linux1:6.1.150-174.273.amzn2023
kernel-modules-extraAmazon Linux1:6.1.150-174.273.amzn2023
linux_kernellinux6.16.4, 6.12.44, 6.6.103, 6.1.149, 5.15.190, 5.10.241, 5.4.297, 3.11
LinuxLinux7f8fdd4dbffc05982b96caf586f77a014b2a9353, 3.13

Affected products

VendorProductVersions
LinuxLinuxc49436b657d0a56a6ad90d14a7c3041add7cf64d, c49436b657d0a56a6ad90d14a7c3041add7cf64d, c49436b657d0a56a6ad90d14a7c3041add7cf64d
LinuxLinux3.13, 0, 5.4.297
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.5
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel-tools0
Linuxlinux_kernel
amazon:2023perf6.120
amazon:2023kernel0
amazon:2023kernel-tools-devel0
amazon:2023kernel-modules-extra0
LinuxLinux*, 6.17, 6.16.4
amazon:2023bpftool0
amazon:2023kernel6.12-libbpf0
amazon:2023kernel6.120
amazon:2023kernel-headers0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.1.150-174.2730
amazon:2023bpftool6.120
amazon:2023kernel-livepatch-6.12.46-66.1210
amazon:2023kernel-libbpf-static0

…and 17 more

Timeline

  • Sep 5, 2025 CVE Published
  • Sep 6, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (11 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (154 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (169 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-39724
vulnetix vdb fixes CVE-2025-39724

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39724/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›