{"id":"CVE-2025-39747","published":"2025-09-11T16:52:19Z","modified":"2026-05-11T21:35:29Z","title":"drm/msm: Add error handling for krealloc in metadata setup","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/msm: Add error handling for krealloc in metadata setup\n\nFunction msm_ioctl_gem_info_set_metadata() now checks for krealloc\nfailure and returns -ENOMEM, avoiding potential NULL pointer dereference.\nExplicitly avoids __GFP_NOFAIL due to deadlock risks and allocation constraints.\n\nPatchwork: https://patchwork.freedesktop.org/patch/661235/","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00167,"percentile":0.05998,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/53dc780c1e94ea782d8936b41bfaa83c663702eb","tags":[]},{"url":"https://git.kernel.org/stable/c/01e3eda8edc3c4caaa49261d1a56c799b0bd6268","tags":[]},{"url":"https://git.kernel.org/stable/c/d5386bcede7b57b193c658dcbb9d22004cde7580","tags":[]},{"url":"https://git.kernel.org/stable/c/1c8c354098ea9d4376a58c96ae6b65288a6f15d8","tags":[]}],"priority":{"score":1.2,"factors":[{"name":"EPSS percentile","points":1.2}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300, < 53dc780c1e94ea782d8936b41bfaa83c663702eb",">= 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300, < 01e3eda8edc3c4caaa49261d1a56c799b0bd6268",">= 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300, < d5386bcede7b57b193c658dcbb9d22004cde7580",">= 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300, < 1c8c354098ea9d4376a58c96ae6b65288a6f15d8"]},{"vendor":"Linux","product":"Linux","versions":["3.12"]}],"euvd":{"id":"EUVD-2025-28964","exploited":false,"provenance":"source"}}