5.5medium
pm: cpupower: bench: Prevent NULL dereference on malloc failure
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 7fe2f6399a84760a9af8896ac152728250f82adb before 34a9394794b0f97af6afedc0c9ee2012c24b28ed, from 7fe2f6399a84760a9af8896ac152728250f82adb before 79bded9d70142d2a11d931fc029afece471641db, from 7fe2f6399a84760a9af8896ac152728250f82adb before 0e297a02e03dceb2874789ca40bd4e65c5371704, from 7fe2f6399a84760a9af8896ac152728250f82adb before 87b9f0867c0afa7e892f4b30c36cff6bf2707f85, from 7fe2f6399a84760a9af8896ac152728250f82adb before 942a4b97fc77516678b1d8af1521ff9a94c13b3e, from 7fe2f6399a84760a9af8896ac152728250f82adb before f8d28fa305b78c5d1073b63f26db265ba8291ae1, from 7fe2f6399a84760a9af8896ac152728250f82adb before ceec06f464d5cfc0ba966225f7d50506ceb62242, from 7fe2f6399a84760a9af8896ac152728250f82adb before 5e38122aa3fd0f9788186e86a677925bfec0b2d1 and 2 more Not affected: before 3.1, from 5.4.293 up to 5.4.*, from 5.10.237 up to 5.10.*, from 5.15.181 up to 5.15.*, from 6.1.135 up to 6.1.*, from 6.6.88 up to 6.6.* | CVE List |
| linux linux_kernel | before 5.4.293, from 5.5 before 5.10.237, from 5.11 before 5.15.181, from 5.16 before 6.1.135, from 6.2 before 6.6.88, from 6.7 before 6.12.24, from 6.13 before 6.13.12, from 6.14 before 6.14.3 | NVD |
| debian debian_linux | 11.0 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: pm: cpupower: bench: Evitar la desreferenciación de valores NULL en caso de fallo de malloc. Si malloc devuelve NULL debido a poca memoria, el puntero 'config' puede ser NULL. Se ha añadido una comprobación para evitar la desreferenciación de valores NULL.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37841 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-37841 changed 2026-06-17 | Public domain |