CVE-2022-49178

memstick/mspro_block: fix handling of read-only devices

State
Published
Severity
7.8 High
Published
Feb 26, 2025
Updated
Oct 15, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • baf8532a147d5b76681ce040e2c8f25a3f0e718d to before 057b53c4f87690d626203acef8b63d52a9bf2f43Affected
  • baf8532a147d5b76681ce040e2c8f25a3f0e718d to before 6a0725b9d78ff6efdc95a37e4f05072e79c63918Affected
  • baf8532a147d5b76681ce040e2c8f25a3f0e718d to before 6dab421bfe06a59bf8f212a72e34673e8acf2018Affected
LinuxLinux
  • 2.6.25Affected
  • before 2.6.25Not affected
  • 5.16.19 through 5.16.*Not affected
  • 5.17.2 through 5.17.*Not affected
  • 5.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.