{"id":"CVE-2022-49506","summary":"drm/mediatek: Add vblank register/unregister callback functions","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/mediatek: Add vblank register/unregister callback functions\n\nWe encountered a kernel panic issue that callback data will be NULL when\nit's using in ovl irq handler. There is a timing issue between\nmtk_disp_ovl_irq_handler() and mtk_ovl_disable_vblank().\n\nTo resolve this issue, we use the flow to register/unregister vblank cb:\n- Register callback function and callback data when crtc creates.\n- Unregister callback function and callback data when crtc destroies.\n\nWith this solution, we can assure callback data will not be NULL when\nvblank is disable.","modified":"2026-04-02T08:27:39.173984Z","published":"2025-02-26T02:13:38.168Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1241-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49506.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3a4027b5971fe2a94e32754f007d9d3c12c68ad1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a265d9838bc3c63579002d55c2b2c655c4f8f26"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a2dbdeccef6de47565638abdf3c25f41cdffc37"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b74d921b900b6ce38c6247c0a1c86be9f3746493"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49506.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49506"},{"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":"9b0704988b151824a51133dc4c921f4273c5d839"},{"fixed":"8a2dbdeccef6de47565638abdf3c25f41cdffc37"},{"fixed":"8a265d9838bc3c63579002d55c2b2c655c4f8f26"},{"fixed":"3a4027b5971fe2a94e32754f007d9d3c12c68ad1"},{"fixed":"b74d921b900b6ce38c6247c0a1c86be9f3746493"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49506.json"}}],"schema_version":"1.7.5"}