CVEvulnerability
CVE-2022-49506
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-02-26
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Description
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.
Affected configurations
• linux linux kernel (>= 5.12 < 5.15.54)
• linux linux kernel (>= 5.16 < 5.17.14)
• linux linux kernel (>= 5.18 < 5.18.3)
References
- https://git.kernel.org/stable/c/3a4027b5971fe2a94e32754f007d9d3c12c68ad1 Patch
- https://git.kernel.org/stable/c/8a265d9838bc3c63579002d55c2b2c655c4f8f26 Patch
- https://git.kernel.org/stable/c/8a2dbdeccef6de47565638abdf3c25f41cdffc37 Patch
- https://git.kernel.org/stable/c/b74d921b900b6ce38c6247c0a1c86be9f3746493 Patch