Bug 2320553 (CVE-2024-49992) - CVE-2024-49992 kernel: drm/stm: Avoid use-after-free issues with crtc and plane
Summary: CVE-2024-49992 kernel: drm/stm: Avoid use-after-free issues with crtc and plane
Keywords:
Status: NEW
Alias: CVE-2024-49992
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: 2321039
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 19:10 UTC by OSIDB Bzimport
Modified: 2024-10-22 19:21 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 19:10:19 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/stm: Avoid use-after-free issues with crtc and plane

ltdc_load() calls functions drm_crtc_init_with_planes(),
drm_universal_plane_init() and drm_encoder_init(). These functions
should not be called with parameters allocated with devm_kzalloc()
to avoid use-after-free issues [1].

Use allocations managed by the DRM framework.

Found by Linux Verification Center (linuxtesting.org).

[1]
https://lore.kernel.org/lkml/u366i76e3qhh3ra5oxrtngjtm2u5lterkekcz6y2jkndhuxzli@diujon4h7qwb/


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