{"id":"CVE-2022-49334","published":"2025-02-26T02:10:52Z","modified":"2026-05-11T18:57:41Z","title":"mm/huge_memory: Fix xarray node memory leak","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/huge_memory: Fix xarray node memory leak\n\nIf xas_split_alloc() fails to allocate the necessary nodes to complete the\nxarray entry split, it sets the xa_state to -ENOMEM, which xas_nomem()\nthen interprets as \"Please allocate more memory\", not as \"Please free\nany unnecessary memory\" (which was the intended outcome).  It's confusing\nto use xas_nomem() to free memory in this context, so call xas_destroy()\ninstead.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00258,"percentile":0.17847,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/c0c84962e297927ba57fd6ddc2bb000c9d149655","tags":[]},{"url":"https://git.kernel.org/stable/c/95c8181b4947e000f3b9b8e5918d899fce77b93d","tags":[]},{"url":"https://git.kernel.org/stable/c/69a37a8ba1b408a1c7616494aa7018e4b3844cbe","tags":[]}],"priority":{"score":7.4,"factors":[{"name":"EPSS percentile","points":3.57},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 6b24ca4a1a8d4ee3221d6d44ddbb99f542e4bda3, < c0c84962e297927ba57fd6ddc2bb000c9d149655",">= 6b24ca4a1a8d4ee3221d6d44ddbb99f542e4bda3, < 95c8181b4947e000f3b9b8e5918d899fce77b93d",">= 6b24ca4a1a8d4ee3221d6d44ddbb99f542e4bda3, < 69a37a8ba1b408a1c7616494aa7018e4b3844cbe"]},{"vendor":"Linux","product":"Linux","versions":["5.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:43:11.577136Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-54894","exploited":false,"provenance":"source"}}