VYPR
Medium severity5.5NVD Advisory· Published Feb 26, 2025· Updated Jun 17, 2026

CVE-2022-49334

CVE-2022-49334

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

5
  • Linux/Kernelllm-fuzzy4 versions
    (expand)+ 3 more
    • (no CPE)
    • (no CPE)range: 5.17
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=5.17,<5.17.15
    • cpe:2.3:o:linux:linux_kernel:5.19:rc1:*:*:*:*:*:*
  • osv-coords
    Range: >= 5.17.0, < 5.17.15

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.