CVE-2022-50140
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/06/2025
Last modified:
18/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
memstick/ms_block: Fix a memory leak<br />
<br />
&#39;erased_blocks_bitmap&#39; is never freed. As it is allocated at the same time<br />
as &#39;used_blocks_bitmap&#39;, it is likely that it should be freed also at the<br />
same time.<br />
<br />
Add the corresponding bitmap_free() in msb_data_clear().
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 3.12 (including) | 4.14.291 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.15 (including) | 4.19.256 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.20 (including) | 5.4.211 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.5 (including) | 5.10.137 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.61 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 5.18.18 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.19 (including) | 5.19.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/16e07966638717416abf45393d6a80a5a1034429
- https://git.kernel.org/stable/c/37958980eb4cd71ae594ace093c11b6a91e165e8
- https://git.kernel.org/stable/c/39be95d1ff7b44c1e969af72ba9da7332dfcc1da
- https://git.kernel.org/stable/c/54eb7a55be6779c4d0c25eaf5056498a28595049
- https://git.kernel.org/stable/c/9260a154b3b5e387dbceec7c0ac441470646bc6f
- https://git.kernel.org/stable/c/961d7d12080fe70847f944d656e36cd0dd0214ba
- https://git.kernel.org/stable/c/9d8b911fe3c3ed788c66edba7c90e32a4a7a5f53
- https://git.kernel.org/stable/c/efd675246aec045507b9425c67b548cc2d782d8f



