{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-50140","published":"2025-06-18T11:15:43.953000Z","last_modified":"2026-06-17T05:22:50.387000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-401"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"3.12","version_end_excluding":"4.14.291"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.15","version_end_excluding":"4.19.256"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.20","version_end_excluding":"5.4.211"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.5","version_end_excluding":"5.10.137"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.61"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"5.18.18"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.19","version_end_excluding":"5.19.2"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"epss":{"score":0.0028,"percentile":0.13048,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2022-50140/","html_en":"/en/cve/CVE-2022-50140/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-50140","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-50140"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nmemstick/ms_block: Fix a memory leak\n\n'erased_blocks_bitmap' is never freed. As it is allocated at the same time\nas 'used_blocks_bitmap', it is likely that it should be freed also at the\nsame time.\n\nAdd the corresponding bitmap_free() in msb_data_clear().","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/16e07966638717416abf45393d6a80a5a1034429","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/37958980eb4cd71ae594ace093c11b6a91e165e8","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/39be95d1ff7b44c1e969af72ba9da7332dfcc1da","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/54eb7a55be6779c4d0c25eaf5056498a28595049","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/9260a154b3b5e387dbceec7c0ac441470646bc6f","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/961d7d12080fe70847f944d656e36cd0dd0214ba","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/9d8b911fe3c3ed788c66edba7c90e32a4a7a5f53","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/efd675246aec045507b9425c67b548cc2d782d8f","tags":["Patch"]}]}}