Misinterpretation of get_sg_table Return Value in Linux Kernel's malidp_planes.c

Misinterpretation of get_sg_table Return Value in Linux Kernel's malidp_planes.c

CVE-2023-23004 · MEDIUM Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

In the Linux kernel before 5.19, drivers/gpu/drm/arm/malidp_planes.c misinterprets the get_sg_table return value (expects it to be NULL in the error case, whereas it is actually an error pointer).

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.