CVE-2025-39747: drm/msm: Add error handling for krealloc in metadata setup
Vulnerability summary
CVE-2025-39747 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 4.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 24 · Related 24Timeline
- 11-09-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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/
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.16%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.15% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu149 products
- linuxAll versions (No fix recorded) | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300, < 53dc780c1e94ea782d8936b41bfaa83c663702eb | ≥ 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300, < 01e3eda8edc3c4caaa49261d1a56c799b0bd6268 | ≥ 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300, < d5386bcede7b57b193c658dcbb9d22004cde7580 | ≥ 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300, < 1c8c354098ea9d4376a58c96ae6b65288a6f15d8 | 3.12
- linux_kernel≥ 3.12, < 6.12.43 | ≥ 6.13, < 6.15.11 | ≥ 6.16, < 6.16.2
Debian1 product
- linuxAll versions (No fix recorded) | < 6.12.43-1 | < 6.16.3-1
3 vendors · 152 products