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).

Exploitability

The vulnerability requires the ability to trigger the class device iteration functionality in the Linux kernel. It specifically occurs when a class is not properly registered yet but the iteration APIs are called, leading to potential pointer dereferences (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

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux

Fixed

sid

linux: 6.12.13-1

Fixed

trixie

linux: 6.12.13-1

Fixed

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

kernel-rt.src

Affected

RHEL 10

kernel.src

Affected

Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-99999CRITICAL9.3
  • Linux Kernel logoLinux Kernel
  • kernel-uek-debug-core
NoYesOct 15, 2026
CVE-2026-98432MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • kernel-rt-modules-partner
NoYesOct 15, 2026
CVE-2026-98431MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-doc
NoYesOct 14, 2026
CVE-2026-98430MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • kernel-abi-stablelists
NoYesOct 14, 2026
CVE-2026-98429MEDIUM4.7
  • Linux Kernel logoLinux Kernel
  • kernel-rt-core
NoYesOct 14, 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