CVE-2025-21695: platform/x86: dell-uart-backlight: fix serdev race

Published Feb 12, 2025
·
Updated

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

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

The delluartblserdevprobe() function calls devmserdevdeviceopen() before setting the client ops via serdevdevicesetclientops(). This ordering can trigger a NULL pointer dereference in the serdev controller's receivebuf handler, as it assumes serdev->ops is valid when SERPORTACTIVE is set.

This is similar to the issue fixed in commit 5e700b384ec1 ("platform/chrome: crosecuart: properly fix race condition") where devmserdevdeviceopen() was called before fully initializing the device.

Fix the race by ensuring client ops are set before enabling the port via devmserdevdeviceopen().

Note, serdevdevicesetbaudrate() and serdevdevicesetflowcontrol() calls should be after the devmserdevdeviceopen() call.

Affected Software

10 affected componentsFixes available
Linux Kernel
Linux Linux kernel>=6.10<6.12.11
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
Linux Linux kernel=6.13-rc3
Linux Linux kernel=6.13-rc4
Linux Linux kernel=6.13-rc5
Linux Linux kernel=6.13-rc6
Linux Linux kernel=6.13-rc7
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1

Event History

Feb 12, 2025
CVE Published
via MITRE·01:27 PM
Data Sourced
via MITRE·01:27 PM
Description
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 27, 2025
Data Sourced
via Ubuntu·02:32 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-21695?

The severity of CVE-2025-21695 has not been explicitly classified but pertains to a race condition in the Linux kernel.

2

How do I fix CVE-2025-21695?

To fix CVE-2025-21695, apply the latest patches from the Linux kernel that address this specific vulnerability.

3

What are the affected systems for CVE-2025-21695?

CVE-2025-21695 affects systems running vulnerable versions of the Linux kernel related to the dell_uart_bl_serdev_probe() function.

4

What type of vulnerability is CVE-2025-21695?

CVE-2025-21695 is a race condition vulnerability found in the Linux kernel's handling of device operations.

5

Is CVE-2025-21695 being actively exploited?

As of now, there is no public indication that CVE-2025-21695 is being actively exploited in the wild.

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