Bug 2347935 (CVE-2022-49178) - CVE-2022-49178 kernel: memstick/mspro_block: fix handling of read-only devices
Summary: CVE-2022-49178 kernel: memstick/mspro_block: fix handling of read-only devices
Keywords:
Status: NEW
Alias: CVE-2022-49178
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:11 UTC by OSIDB Bzimport
Modified: 2025-05-14 17:41 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:11:52 UTC
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.

Comment 3 Avinash Hanwate 2025-02-27 23:37:23 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022614-CVE-2022-49178-b663@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.