CVE-2025-37965

published 20 May 2025 · updated 11 May 2026

drm/amd/display: Fix invalid context error in dml helper

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 9984db63742099ee3f3cff35cf71306d10e64356, Kernel 6.12.29, Kernel 6.14.7 and 2 more.

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)

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=366e77cd4923c3aa45341e15dcaf3377af9b042f <9984db63742099ee3f3cff35cf71306d10e64356, >=6.12.25 <6.12.29, >=6.14.4 <6.14.7, >=74d6fba60f05ca6b298702233b6e6cc7629eeb5a <d8c4afe78385cd355e4d80299d785379d6e874df, >=7b80dcf343d45088931d16a6c9ba2fd975138a0b <b371f8f6d89ec8dfea796e00a44a57c44fc8fcc09984db63742099ee3f3cff35cf71306d10e64356, 6.12.29, 6.14.7, d8c4afe78385cd355e4d80299d785379d6e874df, b371f8f6d89ec8dfea796e00a44a57c44fc8fcc0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-37965 severity on Zeptric[![CVE-2025-37965](https://zeptric.io/badge/cve/CVE-2025-37965.svg)](https://zeptric.io/cve/CVE-2025-37965)