U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2022-50140 Detail

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


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://git.kernel.org/stable/c/16e07966638717416abf45393d6a80a5a1034429 kernel.org
https://git.kernel.org/stable/c/37958980eb4cd71ae594ace093c11b6a91e165e8 kernel.org
https://git.kernel.org/stable/c/39be95d1ff7b44c1e969af72ba9da7332dfcc1da kernel.org
https://git.kernel.org/stable/c/54eb7a55be6779c4d0c25eaf5056498a28595049 kernel.org
https://git.kernel.org/stable/c/9260a154b3b5e387dbceec7c0ac441470646bc6f kernel.org
https://git.kernel.org/stable/c/961d7d12080fe70847f944d656e36cd0dd0214ba kernel.org
https://git.kernel.org/stable/c/9d8b911fe3c3ed788c66edba7c90e32a4a7a5f53 kernel.org
https://git.kernel.org/stable/c/efd675246aec045507b9425c67b548cc2d782d8f kernel.org

Weakness Enumeration

CWE-ID CWE Name Source

Change History

1 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2022-50140
NVD Published Date:
06/18/2025
NVD Last Modified:
06/18/2025
Source:
kernel.org