drm/mediatek: Add vblank register/unregister callback functions (Linux Linux)

CVE-2022-49506
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 18 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 9b0704988b151824a51133dc4c921f4273c5d839 < 8a2dbdeccef6de47565638abdf3c25f41cdffc37 ; affected 9b0704988b151824a51133dc4c921f4273c5d839 < 8a265d9838bc3c63579002d55c2b2c655c4f8f26 ; affected 9b0704988b151824a51133dc4c921f4273c5d839 < 3a4027b5971fe2a94e32754f007d9d3c12c68ad1 ; affected 9b0704988b151824a51133dc4c921f4273c5d839 < b74d921b900b6ce38c6247c0a1c86be9f3746493
Linux · Linuxaffected 5.12 ; unaffected 0 < 5.12 ; unaffected 5.15.54 ≤ 5.15.* ; unaffected 5.17.14 ≤ 5.17.* ; unaffected 5.18.3 ≤ 5.18.* ; unaffected 5.19 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD