CVE-2022-49495Published Feb 26, 2025 · Feb 26Updated Oct 28
drm/msm/hdmi: check return value after calling platform_get_resource_byname()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c6a57a50ad562a2e6fc6ac3218b710caea73a58b · < 4cd66a8016b872a153bf892fe4258cbc0dacf5b1| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/hdmi: check return value after calling platform_get_resource_byname()
It will cause null-ptr-deref if platform_get_resource_byname() returns NULL, we need check the return value.
Patchwork: https://patchwork.freedesktop.org/patch/482992/
From the CVE record · Linux
The Linux kernel's drm/msm/hdmi component does not check whether platform_get_resource_byname() returns NULL, which can cause a null pointer dereference. The input does not establish how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels with the drm/msm/hdmi component should check their exposure; affected versions are not specified.