Misinterpretation of alloc_memory_type Return Value in Linux Kernel

Misinterpretation of alloc_memory_type Return Value in Linux Kernel

CVE-2023-23005 · 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 6.2, mm/memory-tiers.c misinterprets the alloc_memory_type return value (expects it to be NULL in the error case, whereas it is actually an error pointer). NOTE: this is disputed by third parties because there are no realistic cases in which a user can cause the alloc_memory_type error case to be reached.

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