{"id":"CVE-2022-50201","aliases":["CVE-2022-50201"],"related":[],"kind":"vulnerability","state":"published","title":"selinux: fix memleak in security_read_state_kernel()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nselinux: fix memleak in security_read_state_kernel()\n\nIn this function, it directly returns the result of __security_read_policy\nwithout freeing the allocated memory in *data, cause memory leak issue,\nso free the memory if __security_read_policy failed.\n\n[PM: subject line tweak]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nselinux: fix memleak in security_read_state_kernel()\n\nIn this function, it directly returns the result of __security_read_policy\nwithout freeing the allocated memory in *data, cause memory leak issue,\nso free the memory if __security_read_policy failed.\n\n[PM: subject line tweak]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: selinux: corrige memleak en security_read_state_kernel() En esta función, devuelve directamente el resultado de __security_read_policy sin liberar la memoria asignada en *data, lo que causa un problema de pérdida de memoria, por lo que libera la memoria si __security_read_policy falla. [PM: ajuste de la línea de asunto]","source":"nvd"}],"published":"2025-06-18T11:03:43.263Z","modified":"2026-11-05T20:17:27.087Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"fdd1ffe8a812b1109388e4bc389e57b2695ad095","fixed":"c877c5217145bda8fd95f506bf42f8d981afa57d","status":"affected"},{"type":"git","introduced":"fdd1ffe8a812b1109388e4bc389e57b2695ad095","fixed":"f3cd7562c0a6774fc62d79654482014020e574f5","status":"affected"},{"type":"git","introduced":"fdd1ffe8a812b1109388e4bc389e57b2695ad095","fixed":"1fc1f72aad2070d34022d0823e4cf09706b53f25","status":"affected"},{"type":"git","introduced":"fdd1ffe8a812b1109388e4bc389e57b2695ad095","fixed":"73de1befcc53a7c68b0c5e76b9b5ac41c517760f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"5.15.61","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.18","lastAffected":"5.18.*","status":"unaffected"},{"type":"semver","introduced":"5.19.2","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.12","fixed":"5.15.61"},{"status":"affected","introduced":"5.16","fixed":"5.18.18"},{"status":"affected","introduced":"5.19","fixed":"5.19.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c877c5217145bda8fd95f506bf42f8d981afa57d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f3cd7562c0a6774fc62d79654482014020e574f5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1fc1f72aad2070d34022d0823e4cf09706b53f25","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73de1befcc53a7c68b0c5e76b9b5ac41c517760f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:06:48.659Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50201","url":"https://www.cve.org/CVERecord?id=CVE-2022-50201","licence":"CVE Terms of Use","modified":"2026-11-05T20:10:28.710Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50201","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50201","licence":"Public domain","modified":"2026-11-05T20:17:27.087Z"}],"updatedAt":"2026-11-25T22:58:21.101Z","epss":{"score":0.00257,"percentile":0.18494,"date":"2026-12-01T12:00:22.000Z"}}