{"id":"CVE-2022-49178","summary":"memstick/mspro_block: fix handling of read-only devices","details":"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 -\u003eopen and leaking a reference in case\nof a read-only device.","modified":"2026-04-02T08:27:22.055251Z","published":"2025-02-26T01:55:31.574Z","related":["SUSE-SU-2025:0834-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1241-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49178.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/057b53c4f87690d626203acef8b63d52a9bf2f43"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6a0725b9d78ff6efdc95a37e4f05072e79c63918"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6dab421bfe06a59bf8f212a72e34673e8acf2018"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49178.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49178"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"baf8532a147d5b76681ce040e2c8f25a3f0e718d"},{"fixed":"057b53c4f87690d626203acef8b63d52a9bf2f43"},{"fixed":"6a0725b9d78ff6efdc95a37e4f05072e79c63918"},{"fixed":"6dab421bfe06a59bf8f212a72e34673e8acf2018"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49178.json"}}],"schema_version":"1.7.5"}