CVE & CISA-KEV Catalog

CVE-2025-21685

MEDIUM
4.7
CVSS v3
NVD

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.

How to fix

Remediation Available
linuxDebian
Fixed in:6.12.11-1CVE-2025-21685
Fixed in:6.12.11-1CVE-2025-21685
linux-azure-6.11Ubuntu
Fixed in:6.11.0-1013.13~24.04.1USN-7448-1
linux-hwe-6.11Ubuntu
Fixed in:6.11.0-24.24~24.04.1USN-7445-1
linux-image-6.11.0-1012-lowlatencyUbuntu
Fixed in:6.11.0-1012.13~24.04.1USN-7445-1
linux-image-6.11.0-1012-lowlatency-64kUbuntu
Fixed in:6.11.0-1012.13~24.04.1USN-7445-1
linux-image-6.11.0-1013-azureUbuntu
Fixed in:6.11.0-1013.13~24.04.1USN-7448-1
linux-image-6.11.0-1013-azure-fdeUbuntu
Fixed in:6.11.0-1013.13~24.04.1USN-7448-1
linux-image-6.11.0-1020-oemUbuntu
Fixed in:6.11.0-1020.20USN-7445-1
linux-image-6.11.0-24-genericUbuntu
Fixed in:6.11.0-24.24~24.04.1USN-7445-1
linux-image-6.11.0-24-generic-64kUbuntu
Fixed in:6.11.0-24.24~24.04.1USN-7445-1
linux-image-azureUbuntu
Fixed in:6.11.0-1013.13~24.04.1USN-7448-1
linux-image-azure-fdeUbuntu
Fixed in:6.11.0-1013.13~24.04.1USN-7448-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.11.0-24.24~24.04.1USN-7445-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.11.0-24.24~24.04.1USN-7445-1
linux-image-lowlatency-64k-hwe-24.04Ubuntu
Fixed in:6.11.0-1012.13~24.04.1USN-7445-1
linux-image-lowlatency-hwe-24.04Ubuntu
Fixed in:6.11.0-1012.13~24.04.1USN-7445-1
linux-image-oem-24.04bUbuntu
Fixed in:6.11.0-1020.20USN-7445-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.11.0-24.24~24.04.1USN-7445-1
linux-lowlatency-hwe-6.11Ubuntu
Fixed in:6.11.0-1012.13~24.04.1USN-7445-1
linux-oem-6.11Ubuntu
Fixed in:6.11.0-1020.20USN-7445-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

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

Exploit Intelligence

0.19%probability of exploitation in 30 days
9thpercentile

Low risk: more likely to be exploited than 9% of all known CVEs.

References

Related Vulnerabilities

Other CWE-476 (NULL Pointer Dereference) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-21758High7.592%-Fix
CVE-2023-21547High7.588%-Fix
CVE-2014-3470Medium4.386%-Fix
CVE-2021-44224High8.282%-Fix
CVE-2016-0742High7.582%-Fix
CVE-2009-1386Medium5.080%-Fix
Embed a live status badge for CVE-2025-21685
CVE-2025-21685 severity badge

Markdown

[![CVE-2025-21685](https://tridentstack.com/cve/badge/CVE-2025-21685.svg)](https://tridentstack.com/cve/CVE-2025-21685)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-21685"><img src="https://tridentstack.com/cve/badge/CVE-2025-21685.svg" alt="CVE-2025-21685"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-10-01.