CVEvulnerability

CVE-2025-37950

5.5 MEDIUM Published 2025-05-20 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2025-05-20
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476

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.

Affected configurations

• linux linux kernel (>= 6.14 < 6.14.7) • linux linux kernel 6.15

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References