CVE-2025-39747

published 11 Sep 2025 · updated 5 Nov 2026

drm/msm: Add error handling for krealloc in metadata setup

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 01e3eda8edc3c4caaa49261d1a56c799b0bd6268, Kernel 1c8c354098ea9d4376a58c96ae6b65288a6f15d8, Kernel 53dc780c1e94ea782d8936b41bfaa83c663702eb and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.12, >=0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 <01e3eda8edc3c4caaa49261d1a56c799b0bd6268, >=0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 <1c8c354098ea9d4376a58c96ae6b65288a6f15d8, >=0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 <53dc780c1e94ea782d8936b41bfaa83c663702eb, >=0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 <d5386bcede7b57b193c658dcbb9d22004cde758001e3eda8edc3c4caaa49261d1a56c799b0bd6268, 1c8c354098ea9d4376a58c96ae6b65288a6f15d8, 53dc780c1e94ea782d8936b41bfaa83c663702eb, d5386bcede7b57b193c658dcbb9d22004cde7580

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-39747 severity on Zeptric[![CVE-2025-39747](https://zeptric.io/badge/cve/CVE-2025-39747.svg)](https://zeptric.io/cve/CVE-2025-39747)