CVE-2022-50201

MEDIUM

Linux Kernel 5.12-5.15.60, 5.16.0-5.18.17, 5.19.0-5.19.1 - Use-After-Free in security_read_state_kernel

Title source: llm
STIX 2.1

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]

Scores

CVSS v3 5.5
EPSS 0.0020
EPSS Percentile 9.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (14)
linux/Kernel 5.12.0 - 5.15.61linux
linux/Kernel 5.16.0 - 5.18.18linux
linux/Kernel 5.19.0 - 5.19.2linux
Linux/Linux < 5.12
Linux/Linux 5.12
Linux/Linux 5.15.61 - 5.15.*
Linux/Linux 5.18.18 - 5.18.*
Linux/Linux 5.19.2 - 5.19.*
Linux/Linux 6.0
Linux/Linux fdd1ffe8a812b1109388e4bc389e57b2695ad095 - 1fc1f72aad2070d34022d0823e4cf09706b53f25
... and 4 more
Published Jun 18, 2025
Tracked Since Feb 18, 2026