CVE-2025-39747
drm/msm: Add error handling for krealloc in metadata setup
Reported by linux · Published September 11, 2025
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/
EPSS 0.17% · 6.0th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | d5386bcede7b57b193c658dcbb9d22004cde7580, 53dc780c1e94ea782d8936b41bfaa83c663702eb, 3.12, 1c8c354098ea9d4376a58c96ae6b65288a6f15d8, 01e3eda8edc3c4caaa49261d1a56c799b0bd6268 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300, 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300, 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 |
| Linux | Linux | 3.12, 0, 6.12.43 |
| Linux | Linux | 3.12, 6.12.43, 6.15.11 |
| linux | linux_kernel | 3.12, 3.12, 3.12 |
Timeline
- Sep 11, 2025 Coalition ESS Score (6 in total, the first dated here)
- Sep 11, 2025 CVE Published
- Sep 12, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (9 in total, the first dated here)
- Dec 15, 2025 Security Advisory (188 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (175 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-39747
vulnetix vdb fixes CVE-2025-39747
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-39747/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart