CVE-2022-49506

Source
https://cve.org/CVERecord?id=CVE-2022-49506
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49506.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49506
Downstream
Related
Published
2025-02-26T02:13:38.168Z
Modified
2026-03-12T03:25:20.099732Z
Summary
drm/mediatek: Add vblank register/unregister callback functions
Details

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 mtkdispovlirqhandler() and mtkovldisable_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49506.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2022-49506.json"