CVE-2025-37950

ocfs2: fix panic in failed foilio allocation

State
Published
Severity
Not scored
Published
May 20, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7e119cff9d0a21e39e53c7d27addc31f4b8c0000 to before 80d18f060d5bdf2c5eb3d1d00dcb744d6a879222Affected
  • 7e119cff9d0a21e39e53c7d27addc31f4b8c0000 to before 31d4cd4eb2f8d9b87ebfa6a5e443a59e3b3d7b8cAffected
LinuxLinux
  • 6.14Affected
  • before 6.14Not affected
  • 6.14.7 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.