CVE-2024-37021
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-37021 affects the Linux kernel's FPGA manager implementation. The vulnerability was discovered in June 2024 and involves a potential null pointer dereference in the FPGA manager module. The issue affects Linux kernel versions from 4.4 up to (excluding) 6.1.120, from 6.2 up to (excluding) 6.6.33, and from 6.7 up to (excluding) 6.9.4 (NVD).

Technical details

The vulnerability stems from the FPGA manager's implementation assuming that the low-level module registers a driver for the parent device and uses its owner pointer to take the module's refcount. This assumption can lead to a null pointer dereference when attempting to get the manager if the parent device does not have a driver. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

If exploited, this vulnerability can lead to a denial of service condition through a system crash when attempting to access the FPGA manager functionality with an invalid parent device driver configuration (Kernel Patch).

Mitigation and workarounds

The issue has been fixed by adding a module owner pointer to the fpga_manager struct and modifying the functions for registering the manager to take an additional owner module parameter. The fix includes renaming functions to avoid conflicts and using helper macros that automatically set the module that registers the manager as the owner. Updates are available in the Linux kernel patches (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-hwe-6.14
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-azure-fde-6.14
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-tools-libs-devel
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management