Bug 2394603 (CVE-2025-39747) - CVE-2025-39747 kernel: drm/msm: Add error handling for krealloc in metadata setup
Summary: CVE-2025-39747 kernel: drm/msm: Add error handling for krealloc in metadata s...
Keywords:
Status: NEW
Alias: CVE-2025-39747
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-11 17:01 UTC by OSIDB Bzimport
Modified: 2025-09-12 11:58 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-11 17:01:43 UTC
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/


Note You need to log in before you can comment on or make changes to this bug.