CVE-2025-39747

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

At a glance

Severity
Not available
EPSS
EPSS 0.16 % · percentile 5 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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/

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 < 53dc780c1e94ea782d8936b41bfaa83c663702eb ; affected 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 < 01e3eda8edc3c4caaa49261d1a56c799b0bd6268 ; affected 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 < d5386bcede7b57b193c658dcbb9d22004cde7580 ; affected 0cf6c71d70d8aa39b8fd0e39c9009602a0e0d300 < 1c8c354098ea9d4376a58c96ae6b65288a6f15d8
Linux · Linuxaffected 3.12 ; unaffected 0 < 3.12 ; unaffected 6.12.43 ≤ 6.12.* ; unaffected 6.15.11 ≤ 6.15.* ; unaffected 6.16.2 ≤ 6.16.* ; unaffected 6.17 ≤ *

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD