CVE-2025-21695 Details
Description
In the Linux kernel, the following vulnerability has been resolved: platform/x86: dell-uart-backlight: fix serdev race The dell_uart_bl_serdev_probe() function calls devm_serdev_device_open() before setting the client ops via serdev_device_set_client_ops(). This ordering can trigger a NULL pointer dereference in the serdev controller's receive_buf handler, as it assumes serdev->ops is valid when SERPORT_ACTIVE is set. This is similar to the issue fixed in commit 5e700b384ec1 ("platform/chrome: cros_ec_uart: properly fix race condition") where devm_serdev_device_open() was called before fully initializing the device. Fix the race by ensuring client ops are set before enabling the port via devm_serdev_device_open(). Note, serdev_device_set_baudrate() and serdev_device_set_flow_control() calls should be after the devm_serdev_device_open() call.
A vulnerability in the Linux kernel's handling of the Dell UART backlight serdev can lead to a NULL pointer dereference. This issue arises because the 'dell_uart_bl_serdev_probe()' function opens the serdev device before fully initializing the client operations. As a result, the serdev controller's receive buffer handler can encounter a NULL pointer dereference, assuming that the operations are valid when the port is activated. This vulnerability is similar to a previously addressed issue in the Chrome platform's cros_ec_uart handling, where the device was not properly initialized before being opened.
The vulnerability has been fixed by adjusting the order of operations in the 'dell_uart_bl_serdev_probe()' function. The client operations are now set before the serdev device is opened, preventing the race condition. Users should update to the latest version of the Linux kernel where this fix is applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1b2128aa2d45ab20b22548dcf4b48906298ca7fd | kernel.org | Patch |
| https://git.kernel.org/stable/c/d3a24d923333f75aaece9acb051d676edc0afb75 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-476 | NULL Pointer Dereference | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.10, < 6.12.11 6.13 rc1 6.13 rc2 6.13 rc3 6.13 rc4 6.13 rc5 6.13 rc6 6.13 rc7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Feb 14, 2025 | Initial Analysis | [email protected] |
| Feb 12, 2025 | New CVE Received | kernel.org |