CVE-2022-50201
MEDIUM 5.5CVSS 3.1In 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]
- Published
- 18 Jun 2025
- Last modified
- 5 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-401
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.12, < 5.15.61 | 5.15.61 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 5.18.18 | 5.18.18 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.19, < 5.19.2 | 5.19.2 |
References
- https://git.kernel.org/stable/c/1fc1f72aad2070d34022d0823e4cf09706b53f25 · Patch
- https://git.kernel.org/stable/c/73de1befcc53a7c68b0c5e76b9b5ac41c517760f · Patch
- https://git.kernel.org/stable/c/c877c5217145bda8fd95f506bf42f8d981afa57d · Patch
- https://git.kernel.org/stable/c/f3cd7562c0a6774fc62d79654482014020e574f5 · Patch
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 18 Jun 2025)