{"id":"CVE-2022-50147","summary":"mm/mempolicy: fix get_nodes out of bound access","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mempolicy: fix get_nodes out of bound access\n\nWhen user specified more nodes than supported, get_nodes will access nmask\narray out of bounds.","modified":"2026-05-18T05:56:59.460043204Z","published":"2025-06-18T11:03:07.759Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50147.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/000eca5d044d1ee23b4ca311793cf3fc528da6c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/44652154484e7e3d12008802cfb6c28a8aa16d85"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8176f6a0d9c1b06bc7af7c3d6acd4a66448939df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d1b5113674c3e95bb53c601ce2ea4719e851c74d"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50147.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50147"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e130242dc351f1cfa2bbeb6766a1486ce936ef88"},{"fixed":"44652154484e7e3d12008802cfb6c28a8aa16d85"},{"fixed":"8176f6a0d9c1b06bc7af7c3d6acd4a66448939df"},{"fixed":"d1b5113674c3e95bb53c601ce2ea4719e851c74d"},{"fixed":"000eca5d044d1ee23b4ca311793cf3fc528da6c6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50147.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.18.18"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.19.0"},{"fixed":"5.19.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50147.json"}}],"schema_version":"1.7.5"}