Back

MEDIUM

kernel: incorrect check for error case in the memory_tier_init

Published Mar 1, 2023

Description

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.

Affected products

Remediation

No remediation recorded yet.

References (7)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Mar 1, 2023
Updated Mar 19, 2025
Reserved Jan 11, 2023
CISA Vulnrichment
Updated Mar 6, 2025
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Dec 1, 2022