CVE-2025-37841Published May 9, 2025 · May 9Updated Oct 28
pm: cpupower: bench: Prevent NULL dereference on malloc failure
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7fe2f6399a84760a9af8896ac152728250f82adb · < f8d28fa305b78c5d1073b63f26db265ba8291ae1| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's cpupower bench can dereference a NULL config pointer if malloc fails under low-memory conditions. The input does not establish whether an attacker can trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running Linux with cpupower bench should check their kernel versions; affected versions were not provided.