CVE-2022-50201

selinux: fix memleak in security_read_state_kernel()

published June 18, 2025

CVSS
—
EPSS
0%
Percentile
14.9
In the wild
Unconfirmed
What it is

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]

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00245 · 14.9th percentile
Published
2025-06-18T11:03Z
EPSS history
Timeline
  • 18 JUN 11:03Z
    selinux: fix memleak in security_read_state_kernel()
    cvelistv5