{"id":"CVE-2021-47165","aliases":["CVE-2021-47165"],"related":[],"kind":"vulnerability","state":"published","title":"drm/meson: fix shutdown crash when component not probed","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/meson: fix shutdown crash when component not probed\n\nWhen main component is not probed, by example when the dw-hdmi module is\nnot loaded yet or in probe defer, the following crash appears on shutdown:\n\nUnable to handle kernel NULL pointer dereference at virtual address 0000000000000038\n...\npc : meson_drv_shutdown+0x24/0x50\nlr : platform_drv_shutdown+0x20/0x30\n...\nCall trace:\nmeson_drv_shutdown+0x24/0x50\nplatform_drv_shutdown+0x20/0x30\ndevice_shutdown+0x158/0x360\nkernel_restart_prepare+0x38/0x48\nkernel_restart+0x18/0x68\n__do_sys_reboot+0x224/0x250\n__arm64_sys_reboot+0x24/0x30\n...\n\nSimply check if the priv struct has been allocated before using it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/meson: fix shutdown crash when component not probed\n\nWhen main component is not probed, by example when the dw-hdmi module is\nnot loaded yet or in probe defer, the following crash appears on shutdown:\n\nUnable to handle kernel NULL pointer dereference at virtual address 0000000000000038\n...\npc : meson_drv_shutdown+0x24/0x50\nlr : platform_drv_shutdown+0x20/0x30\n...\nCall trace:\nmeson_drv_shutdown+0x24/0x50\nplatform_drv_shutdown+0x20/0x30\ndevice_shutdown+0x158/0x360\nkernel_restart_prepare+0x38/0x48\nkernel_restart+0x18/0x68\n__do_sys_reboot+0x224/0x250\n__arm64_sys_reboot+0x24/0x30\n...\n\nSimply check if the priv struct has been allocated before using it.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm/meson: corrige el fallo de apagado cuando el componente no se prueba Cuando el componente principal no se prueba, por ejemplo, cuando el módulo dw-hdmi aún no está cargado o en el aplazamiento de la prueba, se produce el siguiente fallo aparece al apagar: No se puede manejar la desreferencia del puntero NULL del kernel en la dirección virtual 0000000000000038... pc: meson_drv_shutdown+0x24/0x50 lr: platform_drv_shutdown+0x20/0x30... Rastreo de llamadas: meson_drv_shutdown+0x24/0x50 platform_drv_shutdown+0x20/0x3 0 dispositivo_apagado+ 0x158/0x360 kernel_restart_prepare+0x38/0x48 kernel_restart+0x18/0x68 __do_sys_reboot+0x224/0x250 __arm64_sys_reboot+0x24/0x30... Simplemente verifique si la estructura priv se ha asignado antes de usarla.","source":"nvd"}],"published":"2024-03-25T09:16:18.321Z","modified":"2026-06-17T04:16:48.630Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"8a5160cc8488776ddc48ea045860dab015f47390","fixed":"b4298d33c1fcce511ffe84d8d3de07e220300f9b","status":"affected"},{"type":"git","introduced":"8fbbf2b3849419e31731902d7478b0c934732632","fixed":"e256a0eb43e17209e347409a80805b1659398d68","status":"affected"},{"type":"git","introduced":"d2100ef32a8cfd024bad94f4fbc5e53d40d2b3da","fixed":"4ce2bf20b4a6e307e114847d60b2bf40a6a1fac0","status":"affected"},{"type":"git","introduced":"d4ec1ffbdaa8939a208656e9c1440742c457ef16","fixed":"d66083c0d6f5125a4d982aa177dd71ab4cd3d212","status":"affected"},{"type":"git","introduced":"fa0c16caf3d73ab4d2e5d6fa2ef2394dbec91791","fixed":"b4b91033a0b11fe9ade58156cd9168f89f4a8c1a","status":"affected"},{"type":"git","introduced":"fa0c16caf3d73ab4d2e5d6fa2ef2394dbec91791","fixed":"7cfc4ea78fc103ea51ecbacd9236abb5b1c490d2","status":"affected"},{"type":"git","version":"cef14d5d92f14a6e282c3216c2da63e05f14758a","status":"affected"},{"type":"semver","introduced":"4.14.226","fixed":"4.14.235","status":"affected"},{"type":"semver","introduced":"4.19.181","fixed":"4.19.193","status":"affected"},{"type":"semver","introduced":"5.4.106","fixed":"5.4.124","status":"affected"},{"type":"semver","introduced":"5.10.24","fixed":"5.10.42","status":"affected"},{"type":"semver","introduced":"5.11.7","fixed":"5.12","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"4.14.235","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.193","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.124","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.42","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.12.9","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.14.226","fixed":"4.14.235"},{"status":"affected","introduced":"4.19.181","fixed":"4.19.193"},{"status":"affected","introduced":"5.4.106","fixed":"5.4.124"},{"status":"affected","introduced":"5.10.24","fixed":"5.10.42"},{"status":"affected","introduced":"5.12","fixed":"5.12.9"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b4298d33c1fcce511ffe84d8d3de07e220300f9b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e256a0eb43e17209e347409a80805b1659398d68","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ce2bf20b4a6e307e114847d60b2bf40a6a1fac0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d66083c0d6f5125a4d982aa177dd71ab4cd3d212","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b4b91033a0b11fe9ade58156cd9168f89f4a8c1a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7cfc4ea78fc103ea51ecbacd9236abb5b1c490d2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-25T18:15:28.552Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47165","url":"https://www.cve.org/CVERecord?id=CVE-2021-47165","licence":"CVE Terms of Use","modified":"2026-05-23T15:19:25.869Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47165","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47165","licence":"Public domain","modified":"2026-06-17T04:16:48.630Z"}],"updatedAt":"2026-11-25T22:58:08.694Z","epss":{"score":0.00226,"percentile":0.14184,"date":"2026-12-01T12:00:22.000Z"}}