CVE-2022-49506

drm/mediatek: Add vblank register/unregister callback functions

State
Published
Severity
Not scored
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9b0704988b151824a51133dc4c921f4273c5d839 to before 8a2dbdeccef6de47565638abdf3c25f41cdffc37Affected
  • 9b0704988b151824a51133dc4c921f4273c5d839 to before 8a265d9838bc3c63579002d55c2b2c655c4f8f26Affected
  • 9b0704988b151824a51133dc4c921f4273c5d839 to before 3a4027b5971fe2a94e32754f007d9d3c12c68ad1Affected
  • 9b0704988b151824a51133dc4c921f4273c5d839 to before b74d921b900b6ce38c6247c0a1c86be9f3746493Affected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 5.15.54 through 5.15.*Not affected
  • 5.17.14 through 5.17.*Not affected
  • 5.18.3 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.