CVE record · CVE-2022-50201

selinux: fix memleak in security_read_state_kernel()

No CVSS scoreEPSS 0.0026 · 17th percentile

Published by the CVE Program (CNA: Linux) at 18 Jun 2025, 11:03 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
Linux Linux
  • affected fdd1ffe8a812b1109388e4bc389e57b2695ad095 to before c877c5217145bda8fd95f506bf42f8d981afa57d git
  • affected fdd1ffe8a812b1109388e4bc389e57b2695ad095 to before f3cd7562c0a6774fc62d79654482014020e574f5 git
  • affected fdd1ffe8a812b1109388e4bc389e57b2695ad095 to before 1fc1f72aad2070d34022d0823e4cf09706b53f25 git
  • affected fdd1ffe8a812b1109388e4bc389e57b2695ad095 to before 73de1befcc53a7c68b0c5e76b9b5ac41c517760f git
Other versions: unaffected
Linux Linux
  • affected 5.12
  • unaffected before 5.12 semver
  • unaffected 5.15.61 to 5.15.*, inclusive semver
  • unaffected 5.18.18 to 5.18.*, inclusive semver
  • unaffected 5.19.2 to 5.19.*, inclusive semver
  • unaffected 6.0 to *, inclusive original_commit_for_fix
Other versions: affected
Identifiers
CVE-2022-50201
CNA
Linux
Published
18 Jun 2025
Updated
5 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The Linux kernel's SELinux code (security_read_state_kernel()) is affected in a range of kernel versions starting from 5.12 until fixed in stable branches such as 5.15.61, 5.18.18, 5.19.2 and 6.0. The flaw is a memory leak: when reading the policy fails, the buffer already allocated is not freed. The source gives few details on who can trigger it or what impact results beyond the leak. Upgrade to a fixed kernel version for your branch, such as 5.15.61 or later in the 5.15 series, 5.18.18 or later in 5.18, 5.19.2 or later in 5.19, or 6.0 or later.

Written 16 Nov 2026.

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

No source has published a CVSS score for this record yet.

  • CISA KEV Not listed.
  • EPSS 0.0026, the 17th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 18 Jun 2025, 11:03 UTC Confirmed by the CVE List
  2. 18 Jun 2025, 11:15 UTC Confirmed by NVD

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.