PT-2025-51562 · Linux+2 · Linux Kernel+2

Published

2025-09-23

·

Updated

2026-05-07

·

CVE-2025-40346

CVSS v2.0

4.4

Medium

VectorAV:L/AC:M/Au:S/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The Linux kernel contains a flaw in the topology parse cpu capacity() function within the arch topology code. The function incorrectly uses PTR ERR OR ZERO() which can lead to the code proceeding with NULL clock pointers. Specifically, the logic !PTR ERR OR ZERO(cpu clk) evaluates to true for both valid pointers and NULL pointers, potentially causing a NULL pointer dereference in the clk get rate() function when of clk get() returns NULL. The issue arises from the behavior of PTR ERR OR ZERO() as defined in include/linux/err.h, which returns 0 for both valid pointers and NULL pointers. This incorrect check can lead to calling clk get rate() with a NULL pointer.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

NULL Pointer Dereference

Weakness Enumeration

Related Identifiers

BDU:2026-02819
CVE-2025-40346
OESA-2026-1341
OESA-2026-1759
OESA-2026-1760
OESA-2026-1761
OPENSUSE-SU-2026:20145-1
SUSE-SU-2026:0278-1
SUSE-SU-2026:0281-1
SUSE-SU-2026:0315-1
SUSE-SU-2026:20207-1
SUSE-SU-2026:20220-1
SUSE-SU-2026:20228-1
SUSE-SU-2026:20477-1
SUSE-SU-2026:20498-1
SUSE-SU-2026:20845-1
SUSE-SU-2026:20876-1
USN-8029-1
USN-8029-2
USN-8029-3
USN-8030-1
USN-8033-1
USN-8033-2
USN-8033-3
USN-8033-4
USN-8033-5
USN-8033-6
USN-8033-7
USN-8033-8
USN-8034-1
USN-8034-2
USN-8048-1
USN-8095-1
USN-8095-2
USN-8095-3
USN-8095-4
USN-8095-5
USN-8100-1
USN-8125-1
USN-8126-1
USN-8141-1
USN-8163-1
USN-8163-2
USN-8165-1
USN-8243-1
USN-8261-1

Affected Products

Linuxmint
Linux Kernel
Ubuntu