VDB

CVE-2025-21695

CVE-2025-21695 PUBLISHED CVSS 4.7 MEDIUM

platform/x86: dell-uart-backlight: fix serdev race

Reported by linux · Published February 12, 2025

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.

Fixed versions

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

PackageEcosystemFixed in
LinuxLinux1b2128aa2d45ab20b22548dcf4b48906298ca7fd

Risk scores

CVSS 3.1
4.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux484bae9e4d6acb5eec39e1ea47f9aa43f11b154d, 484bae9e4d6acb5eec39e1ea47f9aa43f11b154d
LinuxLinux6.10, 0, 6.12.11
LinuxLinux6.13, 0, 6.12.11
linuxlinux_kernel6.10, 6.10

Timeline

  • Feb 12, 2025 CVE Published
  • Feb 12, 2025 PoC Published (2 in total, the first dated here)
  • Feb 13, 2025 EPSS Score (30 in total, the first dated here)
  • Feb 22, 2025 Coalition ESS Score (11 in total, the first dated here)
  • Dec 5, 2025 CVE Updated
  • Dec 22, 2025 Security Advisory (58 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (50 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-21695
vulnetix vdb fixes CVE-2025-21695

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-21695/fixes/registry"

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

References

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