drm: xlnx: zynqmp_dpsub: Add NULL check in zynqmp_audio_init
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: xlnx: zynqmp_dpsub: Add NULL check in zynqmp_audio_init
devm_kasprintf() calls can return null pointers on failure. But some return values were not checked in zynqmp_audio_init().
Add NULL check in zynqmp_audio_init(), avoid referencing null pointers in the subsequent code.
From the CVE record · Linux
The Linux kernel's zynqmp_dpsub audio initialization did not check some devm_kasprintf() results for NULL. If an allocation fails, subsequent code can dereference a NULL pointer. The input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels with the zynqmp_dpsub component should check their versions; affected versions are not specified.