Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Serialize flash version read in reset handler The "update cache versions without reset" sysfs reset operation (0x20261) calls get_flash_version(), which reads hardware flash registers, without holding ha->optrom_mutex. The VPD update path serializes the same call under optrom_mutex, so this reset path can interleave its flash register accesses with a concurrent VPD or optrom flash operation and corrupt the reads. Hold ha->optrom_mutex across the get_flash_version() call to match the VPD update path.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 8c2cf7d4e387d003259488522523807f25576427 before f1fc052f2a5890ea6dba80d50254dd6258b13386; affected 8c2cf7d4e387d003259488522523807f25576427 before 31bf2714abbb0aa5a8a03d15038f8920e1c74b21; affected 8c2cf7d4e387d003259488522523807f25576427 before ae979c549cba684e67b6c047140f3a8d2439b298; affected 8c2cf7d4e387d003259488522523807f25576427 before 9cef42a073a0bdeee7fb1b47221cda222d330d2a; affected 8c2cf7d4e387d003259488522523807f25576427 before 75460967619eda720c9a03767729157ffd171d8c; affected 8c2cf7d4e387d003259488522523807f25576427 before 8d116137119371349fb09685fe05413d8fc92efe; affected 8c2cf7d4e387d003259488522523807f25576427 before 33735490789e5417851752974c0b1d23125559cd; affected 8c2cf7d4e387d003259488522523807f25576427 before f606ed93de0c4f1e7e3618779e9fad731455314a |
| Linux / Linux | affected 3.12; unaffected 0 before 3.12; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.51 through 6.18.*; unaffected 7.2.5 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/f1fc052f2a5890ea6dba80d50254dd6258b13386
- https://git.kernel.org/stable/c/31bf2714abbb0aa5a8a03d15038f8920e1c74b21
- https://git.kernel.org/stable/c/ae979c549cba684e67b6c047140f3a8d2439b298
- https://git.kernel.org/stable/c/9cef42a073a0bdeee7fb1b47221cda222d330d2a
- https://git.kernel.org/stable/c/75460967619eda720c9a03767729157ffd171d8c
- https://git.kernel.org/stable/c/8d116137119371349fb09685fe05413d8fc92efe
- https://git.kernel.org/stable/c/33735490789e5417851752974c0b1d23125559cd
- https://git.kernel.org/stable/c/f606ed93de0c4f1e7e3618779e9fad731455314a