PT-2025-9001

CVE-2025-21810

·

Published

2025-01-05

·

Updated

2026-11-06

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A potential wild pointer dereferences issue exists in the Linux kernel regarding the APIs class dev iter init(), class dev iter next(), and class dev iter exit(). The issue arises when the class dev iter init() function does not initialize its output parameter @iter and returns void, allowing the caller to continue invoking class dev iter next(@iter) even if @iter still contains wild pointers. This can lead to dereferences of these wild pointers, causing errors. The issue is resolved by initializing the output parameter @iter by memset() in class dev iter init() and prompting callers of errors by pr crit(). Additionally, class dev iter next() now checks if @iter is valid.
Recommendations For the Linux kernel, to resolve this issue, apply the fix that initializes the output parameter @iter by memset() in class dev iter init() and implements error checking in class dev iter next(). As a temporary workaround, consider adding manual checks for the validity of @iter before invoking class dev iter next() to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
CLSA-2026-1786352940
OESA-2025-1339
OESA-2025-1340
OPENSUSE-SU-2025_1177-1
OPENSUSE-SU-2025_1178-1
OPENSUSE-SU-2025_1180-1
SUSE-SU-2025:01919-1
SUSE-SU-2025:1177-1
SUSE-SU-2025_1177-1
SUSE-SU-2025:1178-1
SUSE-SU-2025_1178-1
SUSE-SU-2025:1180-1
SUSE-SU-2025_1180-1
SUSE-SU-2025:20190-1
SUSE-SU-2025:20192-1
SUSE-SU-2025:20260-1
SUSE-SU-2025:20270-1
USN-7521-1
USN-7521-2
USN-7521-3
USN-7651-1
USN-7651-2
USN-7651-3
USN-7651-4
USN-7651-5
USN-7651-6
USN-7652-1
USN-7653-1
USN-7737-1
Found an issue in the description? Have something to add? Feel free to write us 👾