VDB

CVE-2025-37965

CVE-2025-37965 PUBLISHED

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

Reported by linux · Published May 20, 2025

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.19% · 8.3th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxd8c4afe78385cd355e4d80299d785379d6e874df, b371f8f6d89ec8dfea796e00a44a57c44fc8fcc0, 9984db63742099ee3f3cff35cf71306d10e64356, 6.14.7, 6.12.29
linux_kernellinux6.14.7, 6.12.29

Risk scores

EPSS Score
0.19%
8.3th percentile

Affected products

VendorProductVersions
LinuxLinux74d6fba60f05ca6b298702233b6e6cc7629eeb5a, 7b80dcf343d45088931d16a6c9ba2fd975138a0b, 366e77cd4923c3aa45341e15dcaf3377af9b042f
LinuxLinux6.12.25, 6.14.4
LinuxLinux7b80dcf343d45088931d16a6c9ba2fd975138a0b, 6.12.25, 6.14.4
linuxlinux_kernel6.14.4, 6.12.25

Timeline

  • May 20, 2025 CVE Published
  • May 21, 2025 EPSS Score (30 in total, the first dated here)
  • Jun 14, 2025 Coalition ESS Score (7 in total, the first dated here)
  • Oct 24, 2025 PoC Published (2 in total, the first dated here)
  • Dec 15, 2025 Security Advisory (207 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (199 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-37965
vulnetix vdb fixes CVE-2025-37965

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37965/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›