CVE-2025-37950 is a vulnerability in the Linux kernel's ocfs2 filesystem code that could cause a kernel panic due to improper handling of memory allocation failures in folio arrays. The issue arises when an allocation failure returns an error pointer (-ENOMEM) instead of NULL, leading to a panic when the code attempts to free the folio array. This vulnerability has been fixed by ensuring that error folio entries are set to NULL to prevent the panic.