drm/arm/malidp: fix a possible null pointer dereference
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8cbc5caf36ef7a299b5cbedf55f27fd898d700bf · < 335cc45ef2b81b68be63c698b4f867a530bdf7a5| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/arm/malidp: fix a possible null pointer dereference
In malidp_mw_connector_reset, new memory is allocated with kzalloc, but no check is performed. In order to prevent null pointer dereferencing, ensure that mw_state is checked before calling __drm_atomic_helper_connector_reset.
From the CVE record · Linux
The Linux kernel's malidp_mw_connector_reset does not check whether a memory allocation succeeded before using the resulting pointer. If the allocation fails, this can cause a null pointer dereference. The input does not establish whether an attacker can trigger it or specify access or interaction requirements.
Engineers running Linux kernels with the drm/arm/malidp component should check their exposure; affected versions are not specified.