{"id":"CVE-2022-49210","published":"2025-02-26T01:55:47Z","modified":"2026-05-11T18:55:16Z","title":"MIPS: pgalloc: fix memory leak caused by pgd_free()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nMIPS: pgalloc: fix memory leak caused by pgd_free()\n\npgd page is freed by generic implementation pgd_free() since commit\nf9cb654cb550 (\"asm-generic: pgalloc: provide generic pgd_free()\"),\nhowever, there are scenarios that the system uses more than one page as\nthe pgd table, in such cases the generic implementation pgd_free() won't\nbe applicable anymore. For example, when PAGE_SIZE_4KB is enabled and\nMIPS_VA_BITS_48 is not enabled in a 64bit system, the macro \"PGD_ORDER\"\nwill be set as \"1\", which will cause allocating two pages as the pgd\ntable. Well, at the same time, the generic implementation pgd_free()\njust free one pgd page, which will result in the memory leak.\n\nThe memory leak can be easily detected by executing shell command:\n\"while true; do ls > /dev/null; grep MemFree /proc/meminfo; done\"","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.00261,"percentile":0.18259,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/fa3d44424579972cc7c4fac3d9cf227798ebdfa0","tags":[]},{"url":"https://git.kernel.org/stable/c/d29cda15cab086d82d692de016f7249545d4b6b4","tags":[]},{"url":"https://git.kernel.org/stable/c/5a8501d34b261906e4c76ec9da679f2cb4d309ed","tags":[]},{"url":"https://git.kernel.org/stable/c/1bf0d78c8cc3cf615a6e7bf33ada70b73592f0a1","tags":[]},{"url":"https://git.kernel.org/stable/c/2bc5bab9a763d520937e4f3fe8df51c6a1eceb97","tags":[]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":3.65},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f9cb654cb550b7b87e8608b14fc3eca432429ffe, < fa3d44424579972cc7c4fac3d9cf227798ebdfa0",">= f9cb654cb550b7b87e8608b14fc3eca432429ffe, < d29cda15cab086d82d692de016f7249545d4b6b4",">= f9cb654cb550b7b87e8608b14fc3eca432429ffe, < 5a8501d34b261906e4c76ec9da679f2cb4d309ed",">= f9cb654cb550b7b87e8608b14fc3eca432429ffe, < 1bf0d78c8cc3cf615a6e7bf33ada70b73592f0a1",">= f9cb654cb550b7b87e8608b14fc3eca432429ffe, < 2bc5bab9a763d520937e4f3fe8df51c6a1eceb97"]},{"vendor":"Linux","product":"Linux","versions":["5.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:46:51.248312Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-55016","exploited":false,"provenance":"source"}}