Vulnerabilities · 2022 · Linux
CVE-2022-50140
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/16e07966638717416abf45393d6a80a5a1034429 · Patch
- git.kernel.org/stable/c/37958980eb4cd71ae594ace093c11b6a91e165e8 · Patch
- git.kernel.org/stable/c/39be95d1ff7b44c1e969af72ba9da7332dfcc1da · Patch
- git.kernel.org/stable/c/54eb7a55be6779c4d0c25eaf5056498a28595049 · Patch
- git.kernel.org/stable/c/9260a154b3b5e387dbceec7c0ac441470646bc6f · Patch
- git.kernel.org/stable/c/961d7d12080fe70847f944d656e36cd0dd0214ba · Patch
- git.kernel.org/stable/c/9d8b911fe3c3ed788c66edba7c90e32a4a7a5f53 · Patch
- git.kernel.org/stable/c/efd675246aec045507b9425c67b548cc2d782d8f · Patch
- nvd.nist.gov/vuln/detail/CVE-2022-50140
- cve.org/CVERecord?id=CVE-2022-50140
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.