Skip to main content
Network Thinking Solutions Logo

CVE-2022-50140

Linux kernel: memstick/ms_block: Fix a memory leak

All CVEs
CVE-2022-50140Published 6/18/2025

Linux kernel: memstick/ms_block: Fix a memory leak

Vendor advisory
CVSS5.5Medium

Overview

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

Published
6/18/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 3.12, < 4.14.291

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.256

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.211

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.137

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.61

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.18.18

Verify advisory

Source
linux kernel
linux
≥ 5.19, < 5.19.2

Verify advisory

Source
Linux
Linux
≥ 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, < efd675246aec045507b9425c67b548cc2d782d8f

Verify advisory

Source
Linux
Linux
≥ 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, < 37958980eb4cd71ae594ace093c11b6a91e165e8

Verify advisory

Source
Linux
Linux
≥ 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, < 9d8b911fe3c3ed788c66edba7c90e32a4a7a5f53

Verify advisory

Source
Linux
Linux
≥ 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, < 9260a154b3b5e387dbceec7c0ac441470646bc6f

Verify advisory

Source
Linux
Linux
≥ 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, < 961d7d12080fe70847f944d656e36cd0dd0214ba

Verify advisory

Source
Linux
Linux
≥ 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, < 16e07966638717416abf45393d6a80a5a1034429

Verify advisory

Source
Linux
Linux
≥ 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, < 39be95d1ff7b44c1e969af72ba9da7332dfcc1da

Verify advisory

Source
Linux
Linux
≥ 0ab30494bc4f3bc1ea4659b7c5d97c5218554a63, < 54eb7a55be6779c4d0c25eaf5056498a28595049

Verify advisory

Source
Linux
Linux
3.12

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.