NULL pointer dereference in Linux
CVE-2025-37950
In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix panic in failed foilio allocation commit 7e119cff9d0a ("ocfs2: convert w_pages to w_folios") and commit 9a5e08652dc4b ("ocfs2: use an array of folios instead of an array of pages") save -ENOMEM in the folio array upon allocation failure and call the folio array free code. The folio array free code expects either valid folio pointers or NULL. Finding the -ENOMEM will result in a panic. Fix by NULLing the error folio entry.
EPSS: 0.001 (3.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions 7e119cff9d0a21e39e53c7d27addc31f4b8c0000, 6.14, 0
- Linux Linux_kernel — versions 6.15
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-37950?
- CVE-2025-37950 is a medium-severity vulnerability in Linux, classified under NULL Pointer Dereference. CVSS score: 5.5/10. Published 2025-05-20.
- How severe is CVE-2025-37950?
- Medium severity. CVSS v3 base score is 5.5 out of 10.