CVE-2022-49506

In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: Add vblank register/unregister callback functions We encountered a kernel panic issue that callback data will be NULL when it's using in ovl irq handler. There is a timing issue between mtk_disp_ovl_irq_handler() and mtk_ovl_disable_vblank(). To resolve this issue, we use the flow to register/unregister vblank cb: - Register callback function and callback data when crtc creates. - Unregister callback function and callback data when crtc destroies. With this solution, we can assure callback data will not be NULL when vblank is disable.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

21 Oct 2025, 12:09

Type Values Removed Values Added
First Time Linux
Linux linux Kernel
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/mediatek: Agregar funciones de devolución de llamada de registro/cancelación de vblank Encontramos un problema de pánico del kernel que indicaba que los datos de devolución de llamada serían NULL cuando se usaban en el controlador de irq de ovl. Hay un problema de sincronización entre mtk_disp_ovl_irq_handler() y mtk_ovl_disable_vblank(). Para resolver este problema, usamos el flujo para registrar/cancelar el cb de vblank: - Registrar la función de devolución de llamada y los datos de devolución de llamada cuando se crea crtc. - Cancelar la función de devolución de llamada y los datos de devolución de llamada cuando se destruye crtc. Con esta solución, podemos asegurar que los datos de devolución de llamada no serían NULL cuando se deshabilita vblank.
CWE NVD-CWE-noinfo
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
References () https://git.kernel.org/stable/c/3a4027b5971fe2a94e32754f007d9d3c12c68ad1 - () https://git.kernel.org/stable/c/3a4027b5971fe2a94e32754f007d9d3c12c68ad1 - Patch
References () https://git.kernel.org/stable/c/8a265d9838bc3c63579002d55c2b2c655c4f8f26 - () https://git.kernel.org/stable/c/8a265d9838bc3c63579002d55c2b2c655c4f8f26 - Patch
References () https://git.kernel.org/stable/c/8a2dbdeccef6de47565638abdf3c25f41cdffc37 - () https://git.kernel.org/stable/c/8a2dbdeccef6de47565638abdf3c25f41cdffc37 - Patch
References () https://git.kernel.org/stable/c/b74d921b900b6ce38c6247c0a1c86be9f3746493 - () https://git.kernel.org/stable/c/b74d921b900b6ce38c6247c0a1c86be9f3746493 - Patch

26 Feb 2025, 07:01

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-26 07:01

Updated : 2025-10-21 12:09


NVD link : CVE-2022-49506

Mitre link : CVE-2022-49506

CVE.ORG link : CVE-2022-49506


JSON object : View

Products Affected

linux

  • linux_kernel