CVE-2025-37841

pm: cpupower: bench: Prevent NULL dereference on malloc failure

MEDIUM
5.5
CVSS Score
Published: May 9, 2025 at 06:41 AM UTC
Updated: June 17, 2026 at 09:15 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

Description

In the Linux kernel, the following vulnerability has been resolved: pm: cpupower: bench: Prevent NULL dereference on malloc failure If malloc returns NULL due to low memory, 'config' pointer can be NULL. Add a check to prevent NULL dereference.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.2933.1 ≤ v < 5.10.2373.1 ≤ v < 5.15.1813.1 ≤ v < 5.4.2933.1 ≤ v < 6.1.1353.1 ≤ v < 6.12.243.1 ≤ v < 6.13.123.1 ≤ v < 6.14.33.1 ≤ v < 6.153.1 ≤ v < 6.6.885.11 ≤ v < 5.15.1815.16 ≤ v < 6.1.1355.5 ≤ v < 5.10.2376.13 ≤ v < 6.13.126.14 ≤ v < 6.14.36.2 ≤ v < 6.6.886.7 ≤ v < 6.12.243.17fe2f6399a84760a9af8896ac152728250f82adb
Vendor states this is fixed in 0e297a02e03dceb2874789ca40bd4e65c5371704 (fixed)
Vendor states this is fixed in 208baa3ec9043a664d9acfb8174b332e6b17fb69 (fixed)
Vendor states this is fixed in 34a9394794b0f97af6afedc0c9ee2012c24b28ed (fixed)
Vendor states this is fixed in 5e38122aa3fd0f9788186e86a677925bfec0b2d1 (fixed)
Vendor states this is fixed in 79bded9d70142d2a11d931fc029afece471641db (fixed)
Vendor states this is fixed in 87b9f0867c0afa7e892f4b30c36cff6bf2707f85 (fixed)
Vendor states this is fixed in 942a4b97fc77516678b1d8af1521ff9a94c13b3e (fixed)
Vendor states this is fixed in ceec06f464d5cfc0ba966225f7d50506ceb62242 (fixed)
Vendor states this is fixed in f8d28fa305b78c5d1073b63f26db265ba8291ae1 (fixed)
Vendor states this is fixed in 3.1 (unaffected)
Vendor states this is fixed in 5.10.237 (unaffected)
Vendor states this is fixed in 5.15.181 (unaffected)
Vendor states this is fixed in 5.4.293 (unaffected)
Vendor states this is fixed in 6.1.135 (unaffected)
Vendor states this is fixed in 6.12.24 (unaffected)
Vendor states this is fixed in 6.13.12 (unaffected)
Vendor states this is fixed in 6.14.3 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.88 (unaffected)

References (11)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0e297a02e03dceb2874789ca40bd4e65c5371704
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/208baa3ec9043a664d9acfb8174b332e6b17fb69
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/34a9394794b0f97af6afedc0c9ee2012c24b28ed
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5e38122aa3fd0f9788186e86a677925bfec0b2d1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/79bded9d70142d2a11d931fc029afece471641db
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/87b9f0867c0afa7e892f4b30c36cff6bf2707f85
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/942a4b97fc77516678b1d8af1521ff9a94c13b3e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ceec06f464d5cfc0ba966225f7d50506ceb62242

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card