{"id":"CVE-2024-49992","summary":"drm/stm: Avoid use-after-free issues with crtc and plane","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/stm: Avoid use-after-free issues with crtc and plane\n\nltdc_load() calls functions drm_crtc_init_with_planes(),\ndrm_universal_plane_init() and drm_encoder_init(). These functions\nshould not be called with parameters allocated with devm_kzalloc()\nto avoid use-after-free issues [1].\n\nUse allocations managed by the DRM framework.\n\nFound by Linux Verification Center (linuxtesting.org).\n\n[1]\nhttps://lore.kernel.org/lkml/u366i76e3qhh3ra5oxrtngjtm2u5lterkekcz6y2jkndhuxzli@diujon4h7qwb/","modified":"2026-04-16T04:38:07.624437227Z","published":"2024-10-21T18:02:34.442Z","related":["USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49992.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0a1741d10da29aa84955ef89ae9a03c4b6038657"},{"type":"WEB","url":"https://git.kernel.org/stable/c/19dd9780b7ac673be95bf6fd6892a184c9db611f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/454e5d7e671946698af0f201e48469e5ddb42851"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b22eec4b57d04befa90e8554ede34e6c67257606"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d02611ff001454358be6910cb926799e2d818716"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49992.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49992"},{"type":"PACKAGE","url":"https://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":"b759012c5fa761ee08998c80fc4ad6343c258487"},{"fixed":"d02611ff001454358be6910cb926799e2d818716"},{"fixed":"0a1741d10da29aa84955ef89ae9a03c4b6038657"},{"fixed":"454e5d7e671946698af0f201e48469e5ddb42851"},{"fixed":"b22eec4b57d04befa90e8554ede34e6c67257606"},{"fixed":"19dd9780b7ac673be95bf6fd6892a184c9db611f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49992.json"}}],"schema_version":"1.7.5"}