CVE-2022-49506
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
26/02/2025
Last modified:
26/02/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/mediatek: Add vblank register/unregister callback functions<br />
<br />
We encountered a kernel panic issue that callback data will be NULL when<br />
it&#39;s using in ovl irq handler. There is a timing issue between<br />
mtk_disp_ovl_irq_handler() and mtk_ovl_disable_vblank().<br />
<br />
To resolve this issue, we use the flow to register/unregister vblank cb:<br />
- Register callback function and callback data when crtc creates.<br />
- Unregister callback function and callback data when crtc destroies.<br />
<br />
With this solution, we can assure callback data will not be NULL when<br />
vblank is disable.