CVE-2025-37950

published 20 May 2025 · updated 11 May 2026

ocfs2: fix panic in failed foilio allocation

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 31d4cd4eb2f8d9b87ebfa6a5e443a59e3b3d7b8c and Kernel 80d18f060d5bdf2c5eb3d1d00dcb744d6a879222.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.14, >=7e119cff9d0a21e39e53c7d27addc31f4b8c0000 <31d4cd4eb2f8d9b87ebfa6a5e443a59e3b3d7b8c, >=7e119cff9d0a21e39e53c7d27addc31f4b8c0000 <80d18f060d5bdf2c5eb3d1d00dcb744d6a87922231d4cd4eb2f8d9b87ebfa6a5e443a59e3b3d7b8c, 80d18f060d5bdf2c5eb3d1d00dcb744d6a879222

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-37950 severity on Zeptric[![CVE-2025-37950](https://zeptric.io/badge/cve/CVE-2025-37950.svg)](https://zeptric.io/cve/CVE-2025-37950)