CVE-2024-49992

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

State
Published
Severity
7.8 High
Published
Oct 21, 2024
Updated
Aug 5, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

Description

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/

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b759012c5fa761ee08998c80fc4ad6343c258487 to before d02611ff001454358be6910cb926799e2d818716Affected
  • b759012c5fa761ee08998c80fc4ad6343c258487 to before 0a1741d10da29aa84955ef89ae9a03c4b6038657Affected
  • b759012c5fa761ee08998c80fc4ad6343c258487 to before 454e5d7e671946698af0f201e48469e5ddb42851Affected
  • b759012c5fa761ee08998c80fc4ad6343c258487 to before b22eec4b57d04befa90e8554ede34e6c67257606Affected
  • b759012c5fa761ee08998c80fc4ad6343c258487 to before 19dd9780b7ac673be95bf6fd6892a184c9db611fAffected
LinuxLinux
  • 4.13Affected
  • before 4.13Not affected
  • 6.1.113 through 6.1.*Not affected
  • 6.6.55 through 6.6.*Not affected
  • 6.10.14 through 6.10.*Not affected
  • 6.11.3 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.