CVE-2022-49334

MEDIUM

Linux Kernel 5.17-5.17.14, 5.18-5.18.3 Use-After-Free in xarray Node Memory Handling

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: Fix xarray node memory leak If xas_split_alloc() fails to allocate the necessary nodes to complete the xarray entry split, it sets the xa_state to -ENOMEM, which xas_nomem() then interprets as "Please allocate more memory", not as "Please free any unnecessary memory" (which was the intended outcome). It's confusing to use xas_nomem() to free memory in this context, so call xas_destroy() instead.

Scores

CVSS v3 5.5
EPSS 0.0024
EPSS Percentile 14.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-401
Status published
Products (12)
linux/Kernel 5.17.0 - 5.17.15linux
linux/Kernel 5.18.0 - 5.18.4linux
Linux/Linux < 5.17
Linux/Linux 5.17
Linux/Linux 5.17.15 - 5.17.*
Linux/Linux 5.18.4 - 5.18.*
Linux/Linux 5.19
Linux/Linux 6b24ca4a1a8d4ee3221d6d44ddbb99f542e4bda3 - 69a37a8ba1b408a1c7616494aa7018e4b3844cbe
Linux/Linux 6b24ca4a1a8d4ee3221d6d44ddbb99f542e4bda3 - 95c8181b4947e000f3b9b8e5918d899fce77b93d
Linux/Linux 6b24ca4a1a8d4ee3221d6d44ddbb99f542e4bda3 - c0c84962e297927ba57fd6ddc2bb000c9d149655
... and 2 more
Published Feb 26, 2025
Tracked Since Feb 18, 2026