Menu

Star on GitHub · 3.2k

CVE-2025-21685

4.7 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: platform/x86: lenovo-yoga-tab2-pro-1380-fastcharger: fix serdev race The yt2_1380_fc_serdev_probe() function calls devm_serdev_…

Published Feb 9, 2025CWE-476EPSS 0.20%

Overview

CVE-2025-21685 is a medium-severity vulnerability. It was published on February 9, 2025 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

platform/x86: lenovo-yoga-tab2-pro-1380-fastcharger: fix serdev race

The yt2_1380_fc_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.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-21685?

CVE-2025-21685 is a medium-severity vulnerability. It was published on February 9, 2025 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2025-21685?

This vulnerability has a CVSS 3.1 base score of 4.7, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2025-21685?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-21685?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-21685 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2025

View all