Vulnerability in Linux

CVE-2025-37965

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix invalid context error in dml helper [Why] "BUG: sleeping function called from invalid context" error. after: "drm/amd/display: Protect FPU in dml2_validate()/dml21_validate()" The populate_dml_plane_cfg_from_plane_state() uses the GFP_KERNEL flag for memory allocation, which shouldn't be used in atomic contexts. The allocation is needed only for using another helper function get_scaler_data_for_plane(). [How] Modify helpers to pass a pointer to scaler_data within existing context, eliminating the need for dynamic memory allocation/deallocation and copying. (cherry picked from commit bd3e84bc98f81b44f2c43936bdadc3241d654259)

EPSS: 0.002 (5.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Linux — versions 74d6fba60f05ca6b298702233b6e6cc7629eeb5a, 7b80dcf343d45088931d16a6c9ba2fd975138a0b, 366e77cd4923c3aa45341e15dcaf3377af9b042f
  • Linux Linux_kernel — versions 6.15

References

Frequently asked questions

What is CVE-2025-37965?
CVE-2025-37965 is a medium-severity vulnerability in Linux. CVSS score: 5.5/10. Published 2025-05-20.
How severe is CVE-2025-37965?
Medium severity. CVSS v3 base score is 5.5 out of 10.