CVE-2025-39747

Source
https://cve.org/CVERecord?id=CVE-2025-39747
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39747.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-39747
Downstream
Related
Published
2025-09-11T16:52:19.816Z
Modified
2026-05-10T18:42:09.905056191Z
Summary
drm/msm: Add error handling for krealloc in metadata setup
Details

In the Linux kernel, the following vulnerability has been resolved:

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

Function msmioctlgeminfoset_metadata() now checks for krealloc failure and returns -ENOMEM, avoiding potential NULL pointer dereference. Explicitly avoids _GFPNOFAIL due to deadlock risks and allocation constraints.

Patchwork: https://patchwork.freedesktop.org/patch/661235/

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39747.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300
Fixed
53dc780c1e94ea782d8936b41bfaa83c663702eb
Fixed
01e3eda8edc3c4caaa49261d1a56c799b0bd6268
Fixed
d5386bcede7b57b193c658dcbb9d22004cde7580
Fixed
1c8c354098ea9d4376a58c96ae6b65288a6f15d8

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39747.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.12.0
Fixed
6.12.43
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.11
Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.16.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-39747.json"