drm/msm/dpu: Add callback function pointer check before its call
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/dpu: Add callback function pointer check before its call
In dpu_core_irq_callback_handler() callback function pointer is compared to NULL, but then callback function is unconditionally called by this pointer. Fix this bug by adding conditional return.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Patchwork: https://patchwork.freedesktop.org/patch/588237/
From the CVE record · Linux
The Linux kernel's dpu_core_irq_callback_handler() checks whether a callback pointer is NULL but then calls it unconditionally. This can cause a null pointer dereference; the input does not specify how it can be triggered or whether authentication or user interaction is required.
Teams running the Linux kernel should check whether their builds include the affected drm/msm/dpu code; affected versions are not specified.