{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49210","id":"CVE-2022-49210","title":"MIPS: pgalloc: fix memory leak caused by pgd_free()","description":"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'","descriptionLong":"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\"","published":"2025-02-26T01:55:47.679Z","updated":"2026-10-28T02:30:44.929646581Z","reserved":"2025-02-26T01:49:39.291Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f9cb654cb550b7b87e8608b14fc3eca432429ffe","lessThan":"fa3d44424579972cc7c4fac3d9cf227798ebdfa0","status":"affected","versionType":"git"},{"version":"f9cb654cb550b7b87e8608b14fc3eca432429ffe","lessThan":"d29cda15cab086d82d692de016f7249545d4b6b4","status":"affected","versionType":"git"},{"version":"f9cb654cb550b7b87e8608b14fc3eca432429ffe","lessThan":"5a8501d34b261906e4c76ec9da679f2cb4d309ed","status":"affected","versionType":"git"},{"version":"f9cb654cb550b7b87e8608b14fc3eca432429ffe","lessThan":"1bf0d78c8cc3cf615a6e7bf33ada70b73592f0a1","status":"affected","versionType":"git"},{"version":"f9cb654cb550b7b87e8608b14fc3eca432429ffe","lessThan":"2bc5bab9a763d520937e4f3fe8df51c6a1eceb97","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.9","status":"affected"},{"version":"0","lessThan":"5.9","status":"unaffected","versionType":"semver"},{"version":"5.10.110","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.33","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.19","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17.2","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/fa3d44424579972cc7c4fac3d9cf227798ebdfa0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d29cda15cab086d82d692de016f7249545d4b6b4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5a8501d34b261906e4c76ec9da679f2cb4d309ed","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1bf0d78c8cc3cf615a6e7bf33ada70b73592f0a1","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/2bc5bab9a763d520937e4f3fe8df51c6a1eceb97","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49210.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49210","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00261,"epssPercentile":0.18077,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49210","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49210","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49210","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49210","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}