CVE-2025-37965 Details
Description
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)
A vulnerability in the Linux kernel's AMD display driver has been addressed. The issue was caused by the 'populate_dml_plane_cfg_from_plane_state()' function using the GFP_KERNEL flag for memory allocation, which is inappropriate for atomic contexts. This misuse led to a 'BUG: sleeping function called from invalid context' error. The allocation was only necessary for using another helper function, 'get_scaler_data_for_plane()'. The vulnerability has been resolved by modifying the helper functions to pass a pointer to the scaler data within the existing context, thereby eliminating the need for dynamic memory allocation and copying.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/9984db63742099ee3f3cff35cf71306d10e64356 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b371f8f6d89ec8dfea796e00a44a57c44fc8fcc0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d8c4afe78385cd355e4d80299d785379d6e874df | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.12.25, < 6.12.29 >= 6.14.4, < 6.14.7 6.15 rc2 6.15 rc3 6.15 rc4 6.15 rc5 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 14, 2025 | Initial Analysis | [email protected] |
| May 20, 2025 | New CVE Received | kernel.org |