CVE-2022-50201
published 2025-06-18CVE-2022-50201: In the Linux kernel, the following vulnerability has been resolved: selinux: fix memleak in security_read_state_kernel() In this function, it directly returns…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.20%
10.2th percentile
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]
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.0.2-1 (bookworm) | linux 6.0.2-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= fdd1ffe8a812b1109388e4bc389e57b2695ad095 < c877c5217145bda8fd95f506bf42f8d981afa57d | c877c5217145bda8fd95f506bf42f8d981afa57d |
| linux | linux | >= fdd1ffe8a812b1109388e4bc389e57b2695ad095 < f3cd7562c0a6774fc62d79654482014020e574f5 | f3cd7562c0a6774fc62d79654482014020e574f5 |
| linux | linux | >= fdd1ffe8a812b1109388e4bc389e57b2695ad095 < 1fc1f72aad2070d34022d0823e4cf09706b53f25 | 1fc1f72aad2070d34022d0823e4cf09706b53f25 |
| linux | linux | >= fdd1ffe8a812b1109388e4bc389e57b2695ad095 < 73de1befcc53a7c68b0c5e76b9b5ac41c517760f | 73de1befcc53a7c68b0c5e76b9b5ac41c517760f |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 0 < 6.0.2-1 | 6.0.2-1 |
| linux | linux_kernel | >= 5.12 < 5.15.61 | 5.15.61 |
| linux | linux_kernel | >= 5.16 < 5.18.18 | 5.18.18 |
| linux | linux_kernel | >= 5.19 < 5.19.2 | 5.19.2 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: selinux: fix memleak in security_read_state_kernel()
vendor_redhat·2025-06-18·CVSS 5.5
CVE-2022-50201 [MEDIUM] kernel: selinux: fix memleak in security_read_state_kernel()
kernel: selinux: fix memleak in security_read_state_kernel()
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]
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel (Red Hat Enterprise Linux 8) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 8) - Fix deferred
Package: k
Debian
CVE-2022-50201: linux - In the Linux kernel, the following vulnerability has been resolved: selinux: fi...
vendor_debian·2022·CVSS 5.5
CVE-2022-50201 [MEDIUM] CVE-2022-50201: linux - In the Linux kernel, the following vulnerability has been resolved: selinux: fi...
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]
Scope: local
bookworm: resolved (fixed in 6.0.2-1)
bullseye: resolved
forky: resolved (fixed in 6.0.2-1)
sid: resolved (fixed in 6.0.2-1)
trixie: resolved (fixed in 6.0.2-1)
OSV
CVE-2022-50201: In the Linux kernel, the following vulnerability has been resolved: selinux: fix memleak in security_read_state_kernel() In this function, it directly
osv·2025-06-18·CVSS 5.5
CVE-2022-50201 [MEDIUM] CVE-2022-50201: In the Linux kernel, the following vulnerability has been resolved: selinux: fix memleak in security_read_state_kernel() In this function, it directly
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]
GHSA
GHSA-hhpm-97gw-pcv3: In the Linux kernel, the following vulnerability has been resolved:
selinux: fix memleak in security_read_state_kernel()
In this function, it direct
ghsa_unreviewed·2025-06-18
CVE-2022-50201 [MEDIUM] CWE-401 GHSA-hhpm-97gw-pcv3: In the Linux kernel, the following vulnerability has been resolved:
selinux: fix memleak in security_read_state_kernel()
In this function, it direct
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]
No detection rules found.
No public exploits indexed.
2025-06-18
Published