CVE-2025-37950: ocfs2: fix panic in failed foilio allocation

Published May 20, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ocfs2: fix panic in failed foilio allocation

commit 7e119cff9d0a ("ocfs2: convert wpages to wfolios") 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 Software

7 affected components
Linux Kernel
Linux Linux kernel>=6.14<6.14.7
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Linux Linux kernel=6.15-rc4
Linux Linux kernel=6.15-rc5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 9a5e08652dc4b

Event History

May 20, 2025
CVE Published
via MITRE·04:01 PM
Data Sourced
via MITRE·04:01 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-37950?

CVE-2025-37950 has been classified as having a high severity due to the potential for system crashes.

2

How do I fix CVE-2025-37950?

To fix CVE-2025-37950, you should update your Linux kernel to the latest version where the vulnerability has been patched.

3

Which versions of the Linux kernel are affected by CVE-2025-37950?

CVE-2025-37950 affects specific versions of the Linux kernel prior to the security patch being applied.

4

What is the impact of CVE-2025-37950?

The impact of CVE-2025-37950 can lead to system panic during foilio allocation failure, causing instability.

5

Is CVE-2025-37950 publicly known?

Yes, CVE-2025-37950 is a publicly known vulnerability that has been documented and reported.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203