CVE-2022-50074

MEDIUM

Linux Kernel < 4.19.256 - Memory Leak

Title source: rule

Description

In the Linux kernel, the following vulnerability has been resolved: apparmor: Fix memleak in aa_simple_write_to_buffer() When copy_from_user failed, the memory is freed by kvfree. however the management struct and data blob are allocated independently, so only kvfree(data) cause a memleak issue here. Use aa_put_loaddata(data) to fix this issue.

Scores

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

Classification

CWE
CWE-401
Status published

Affected Products (6)

linux/linux_kernel < 4.19.256
linux/Kernel < 4.19.256linux
linux/Kernel < 5.4.211linux
linux/Kernel < 5.10.138linux
linux/Kernel < 5.15.63linux
linux/Kernel < 5.19.4linux

Timeline

Published Jun 18, 2025
Tracked Since Feb 18, 2026