CVE-2025-37965
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
20/05/2025
Last modified:
21/05/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/amd/display: Fix invalid context error in dml helper<br />
<br />
[Why]<br />
"BUG: sleeping function called from invalid context" error.<br />
after:<br />
"drm/amd/display: Protect FPU in dml2_validate()/dml21_validate()"<br />
<br />
The populate_dml_plane_cfg_from_plane_state() uses the GFP_KERNEL flag<br />
for memory allocation, which shouldn&#39;t be used in atomic contexts.<br />
<br />
The allocation is needed only for using another helper function<br />
get_scaler_data_for_plane().<br />
<br />
[How]<br />
Modify helpers to pass a pointer to scaler_data within existing context,<br />
eliminating the need for dynamic memory allocation/deallocation<br />
and copying.<br />
<br />
(cherry picked from commit bd3e84bc98f81b44f2c43936bdadc3241d654259)