cbcvebase.
CVE-2022-50140
published 2025-06-18

CVE-2022-50140: 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…

PriorityP416medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.16%
5.6th percentile
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().

Affected

21 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.0.2-1 (bookworm)linux 6.0.2-1 (bookworm)
linuxlinux
linuxlinux>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 < efd675246aec045507b9425c67b548cc2d782d8fefd675246aec045507b9425c67b548cc2d782d8f
linuxlinux>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 < 37958980eb4cd71ae594ace093c11b6a91e165e837958980eb4cd71ae594ace093c11b6a91e165e8
linuxlinux>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 < 9d8b911fe3c3ed788c66edba7c90e32a4a7a5f539d8b911fe3c3ed788c66edba7c90e32a4a7a5f53
linuxlinux>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 < 9260a154b3b5e387dbceec7c0ac441470646bc6f9260a154b3b5e387dbceec7c0ac441470646bc6f
linuxlinux>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 < 961d7d12080fe70847f944d656e36cd0dd0214ba961d7d12080fe70847f944d656e36cd0dd0214ba
linuxlinux>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 < 16e07966638717416abf45393d6a80a5a103442916e07966638717416abf45393d6a80a5a1034429
linuxlinux>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 < 39be95d1ff7b44c1e969af72ba9da7332dfcc1da39be95d1ff7b44c1e969af72ba9da7332dfcc1da
linuxlinux>= 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63 < 54eb7a55be6779c4d0c25eaf5056498a2859504954eb7a55be6779c4d0c25eaf5056498a28595049
linuxlinux_kernel>= 0 < 5.10.140-15.10.140-1
linuxlinux_kernel>= 0 < 6.0.2-16.0.2-1
linuxlinux_kernel>= 0 < 6.0.2-16.0.2-1
linuxlinux_kernel>= 0 < 6.0.2-16.0.2-1
linuxlinux_kernel>= 3.12 < 4.14.2914.14.291
linuxlinux_kernel>= 4.15 < 4.19.2564.19.256
linuxlinux_kernel>= 4.20 < 5.4.2115.4.211
linuxlinux_kernel>= 5.11 < 5.15.615.15.61
linuxlinux_kernel>= 5.16 < 5.18.185.18.18
linuxlinux_kernel>= 5.19 < 5.19.25.19.2
linuxlinux_kernel>= 5.5 < 5.10.1375.10.137

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.