{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49178","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-02-26T01:49:39.281Z","datePublished":"2025-02-26T01:55:31.574Z","dateUpdated":"2025-12-23T13:22:38.983Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-12-23T13:22:38.983Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmemstick/mspro_block: fix handling of read-only devices\n\nUse set_disk_ro to propagate the read-only state to the block layer\ninstead of checking for it in ->open and leaking a reference in case\nof a read-only device."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/memstick/core/mspro_block.c"],"versions":[{"version":"baf8532a147d5b76681ce040e2c8f25a3f0e718d","lessThan":"057b53c4f87690d626203acef8b63d52a9bf2f43","status":"affected","versionType":"git"},{"version":"baf8532a147d5b76681ce040e2c8f25a3f0e718d","lessThan":"6a0725b9d78ff6efdc95a37e4f05072e79c63918","status":"affected","versionType":"git"},{"version":"baf8532a147d5b76681ce040e2c8f25a3f0e718d","lessThan":"6dab421bfe06a59bf8f212a72e34673e8acf2018","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/memstick/core/mspro_block.c"],"versions":[{"version":"2.6.25","status":"affected"},{"version":"0","lessThan":"2.6.25","status":"unaffected","versionType":"semver"},{"version":"5.16.19","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17.2","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.25","versionEndExcluding":"5.16.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.25","versionEndExcluding":"5.17.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.25","versionEndExcluding":"5.18"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/057b53c4f87690d626203acef8b63d52a9bf2f43"},{"url":"https://git.kernel.org/stable/c/6a0725b9d78ff6efdc95a37e4f05072e79c63918"},{"url":"https://git.kernel.org/stable/c/6dab421bfe06a59bf8f212a72e34673e8acf2018"}],"title":"memstick/mspro_block: fix handling of read-only devices","x_generator":{"engine":"bippy-1.2.0"}}}}