# CVE-2025-37841: pm: cpupower: bench: Prevent NULL dereference on malloc failure

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2025-05-09T06:41:50.684Z
- Modified: 2026-06-17T09:15:32.820Z
- Weaknesses: CWE-476
- 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.

(As written by CVE List.)

## Affected

- 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; from 7fe2f6399a84760a9af8896ac152728250f82adb before 208baa3ec9043a664d9acfb8174b332e6b17fb69; 3.1 (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.*; from 6.12.24 up to 6.12.*; from 6.13.12 up to 6.13.*; from 6.14.3 up to 6.14.*; from 6.15 up to *)
- 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
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/34a9394794b0f97af6afedc0c9ee2012c24b28ed> (patch)
- <https://git.kernel.org/stable/c/79bded9d70142d2a11d931fc029afece471641db> (patch)
- <https://git.kernel.org/stable/c/0e297a02e03dceb2874789ca40bd4e65c5371704> (patch)
- <https://git.kernel.org/stable/c/87b9f0867c0afa7e892f4b30c36cff6bf2707f85> (patch)
- <https://git.kernel.org/stable/c/942a4b97fc77516678b1d8af1521ff9a94c13b3e> (patch)
- <https://git.kernel.org/stable/c/f8d28fa305b78c5d1073b63f26db265ba8291ae1> (patch)
- <https://git.kernel.org/stable/c/ceec06f464d5cfc0ba966225f7d50506ceb62242> (patch)
- <https://git.kernel.org/stable/c/5e38122aa3fd0f9788186e86a677925bfec0b2d1> (patch)
- <https://git.kernel.org/stable/c/208baa3ec9043a664d9acfb8174b332e6b17fb69> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html> (mailing-list)

## Sources

- CVE List: [CVE-2025-37841](https://www.cve.org/CVERecord?id=CVE-2025-37841), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-37841](https://nvd.nist.gov/vuln/detail/CVE-2025-37841), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-37841 · Whole record: https://cve.day/CVE-2025-37841.json · Rebuilt by cve.day 2026-11-25T22:58:57.843Z
