What’s Vulnerable › Vulnerabilities
CVE-2022-49178: memstick/mspro_block: fix handling of read-only devices
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-10-15
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: memstick/mspro_block: fix handling of read-only devices Use set_disk_ro to propagate the read-only state to the block layer instead of checking for it in ->open and leaking a reference in case of a read-only device.
Affected products
- Linux kernel: before 5.16.19; from 5.17 before 5.17.2 — fixed in 5.16.19, 5.17.2
How to fix
Upgrade to a fixed version: Linux kernel 5.16.19, 5.17.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/057b53c4f87690d626203acef8b63d52a9bf2f43
- https://git.kernel.org/stable/c/6a0725b9d78ff6efdc95a37e4f05072e79c63918
- https://git.kernel.org/stable/c/6dab421bfe06a59bf8f212a72e34673e8acf2018
Get alerted when CVE-2022-49178 or the next vulnerability affects your stack