← CVE Intelligence

CVE-2022-49178

memstick/mspro_block: fix handling of read-only devices PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected baf8532a147d5b76681ce040e2c8f25a3f0e718d before 057b53c4f87690d626203acef8b63d52a9bf2f43; affected baf8532a147d5b76681ce040e2c8f25a3f0e718d before 6a0725b9d78ff6efdc95a37e4f05072e79c63918; affected baf8532a147d5b76681ce040e2c8f25a3f0e718d before 6dab421bfe06a59bf8f212a72e34673e8acf2018
Linux / Linuxaffected 2.6.25; unaffected 0 before 2.6.25; unaffected 5.16.19 through 5.16.*; unaffected 5.17.2 through 5.17.*; unaffected 5.18 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.