What’s Vulnerable › Vulnerabilities

CVE-2025-39747: drm/msm: Add error handling for krealloc in metadata setup

Description

In the Linux kernel, the following vulnerability has been resolved: drm/msm: Add error handling for krealloc in metadata setup Function msm_ioctl_gem_info_set_metadata() now checks for krealloc failure and returns -ENOMEM, avoiding potential NULL pointer dereference. Explicitly avoids __GFP_NOFAIL due to deadlock risks and allocation constraints. Patchwork: https://patchwork.freedesktop.org/patch/661235/

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.43, 6.15.11, 6.16.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-39747 or the next vulnerability affects your stack