CVE-2022-50140

MEDIUM

Linux Kernel < 4.14.291 - Memory Leak

Title source: rule

Description

In the Linux kernel, the following vulnerability has been resolved: memstick/ms_block: Fix a memory leak 'erased_blocks_bitmap' is never freed. As it is allocated at the same time as 'used_blocks_bitmap', it is likely that it should be freed also at the same time. Add the corresponding bitmap_free() in msb_data_clear().

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 (8)

linux/linux_kernel < 4.14.291
linux/Kernel < 4.14.291linux
linux/Kernel < 4.19.256linux
linux/Kernel < 5.4.211linux
linux/Kernel < 5.10.137linux
linux/Kernel < 5.15.61linux
linux/Kernel < 5.18.18linux
linux/Kernel < 5.19.2linux

Timeline

Published Jun 18, 2025
Tracked Since Feb 18, 2026