CVE-2025-39747

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 < 53dc780c1e94ea782d8936b41bfaa83c663702ebaffected
LinuxLinux0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 < 01e3eda8edc3c4caaa49261d1a56c799b0bd6268affected
LinuxLinux0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 < d5386bcede7b57b193c658dcbb9d22004cde7580affected
LinuxLinux0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 < 1c8c354098ea9d4376a58c96ae6b65288a6f15d8affected
LinuxLinux3.12affected
LinuxLinux0 < 3.12unaffected
LinuxLinux6.12.43 <= 6.12.*unaffected
LinuxLinux6.15.11 <= 6.15.*unaffected
LinuxLinux6.16.2 <= 6.16.*unaffected
LinuxLinux6.17 <= *unaffected

Weaknesses

References