CVE-2025-21810
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability was discovered related to potential wild pointer dereferences in the class_dev_iter APIs (class_dev_iter_init, class_dev_iter_next, and class_dev_iter_exit). The issue was identified and fixed in February 2025 (Kernel Git).

Technical details

The vulnerability stems from uninitialized members in the class_dev_iter structure. When class_dev_iter_init() checks the class parameter for potential class_to_subsys() errors, it returns void type and does not initialize its output parameter iter. This means callers cannot detect the error and may continue to invoke class_dev_iter_next() with iter containing wild pointers. The issue affects all callers of these APIs in the kernel tree (Kernel Git).

Impact

When exploited, this vulnerability could lead to wild pointer dereferences in the Linux kernel, potentially causing system crashes or denial of service conditions. The issue affects the kernel's device class iteration functionality, which is a core part of the driver subsystem (Kernel Git).

Mitigation and workarounds

The issue has been fixed by implementing two key changes: 1) Initializing the output parameter iter using memset() in class_dev_iter_init() and providing caller prompts via pr_crit() for errors, and 2) Adding validation checks in class_dev_iter_next() to verify if iter is valid before proceeding (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-oem-6.14
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-rt-64k-core
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • linux-aws-fips
NoYesJan 05, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management