CVE-2022-49178Published Feb 26, 2025 · Feb 26Updated Oct 28
memstick/mspro_block: fix handling of read-only devices
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.16.195.17.25.18In 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.
From the CVE record · Linux
The Linux kernel's memstick/mspro_block driver leaks a reference when a read-only device is opened. An attacker could trigger the leak by opening such a device; the input does not specify authentication or other access requirements.
Engineers running Linux kernels with the memstick/mspro_block driver should check their installations; affected versions are not specified.