← Database

CVE-2022-50201

MEDIUM CVSS: 5.5 Published: 2025-06-18 Modified: 2026-06-17

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]

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-401

References