CVE-2025-37965

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37965
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37965.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-37965
Downstream
Published
2025-05-20T17:15:46Z
Modified
2025-06-07T05:01:32Z
Summary
[none]
Details

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 dml2validate()/dml21validate()"

The populatedmlplanecfgfromplanestate() 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 getscalerdataforplane().

[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)

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.29-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}