Back
CVE-2022-50201
selinux: fix memleak in security_read_state_kernel()
Medium5.5EPSS 0.24%
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: selinux: fix memleak in security_read_state_kernel() In this function, it directly returns the result of __security_read_policy without freeing the allocated memory in *data, cause memory leak issue, so free the memory if __security_read_policy failed. [PM: subject line tweak]
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 84% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
- affected fdd1ffe8a812b1109388e4bc389e57b2695ad095 – < c877c5217145bda8fd95f506bf42f8d981afa57d
- affected fdd1ffe8a812b1109388e4bc389e57b2695ad095 – < f3cd7562c0a6774fc62d79654482014020e574f5
- affected fdd1ffe8a812b1109388e4bc389e57b2695ad095 – < 1fc1f72aad2070d34022d0823e4cf09706b53f25
- affected fdd1ffe8a812b1109388e4bc389e57b2695ad095 – < 73de1befcc53a7c68b0c5e76b9b5ac41c517760f
- affected 5.12
- unaffected < 5.12
- unaffected 5.15.61 – ≤ 5.15.*
- unaffected 5.18.18 – ≤ 5.18.*
- unaffected 5.19.2 – ≤ 5.19.*
- unaffected 6.0 – ≤ *
References (4)
- https://git.kernel.org/stable/c/c877c5217145bda8fd95f506bf42f8d981afa57d (opens in a new tab)
- https://git.kernel.org/stable/c/f3cd7562c0a6774fc62d79654482014020e574f5 (opens in a new tab)
- https://git.kernel.org/stable/c/1fc1f72aad2070d34022d0823e4cf09706b53f25 (opens in a new tab)
- https://git.kernel.org/stable/c/73de1befcc53a7c68b0c5e76b9b5ac41c517760f (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50201)Record last updated .