Description
In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Fix out-of-bounds read in SAS topology change events The number of entries in a SAS topology change event is used to walk the entry array without being compared against the amount of event data that was received, so the walk can run past the end of the buffer. Work out how many entries the payload can hold and skip the event if it claims more.
Affected products and versions
Linux Linux13ef29ea4aa0655feab2462966f83e17df5cdad1 – < 40edab8fbf28252abb84f655a185ceda7777dfe9 · 13ef29ea4aa0655feab2462966f83e17df5cdad1 – < 62922e1af094b063f577c4bb08fb5db8ca95e6d0 · 13ef29ea4aa0655feab2462966f83e17df5cdad1 – < 973c244db4a168860e2aeddcd59c80d874859104 · 13ef29ea4aa0655feab2462966f83e17df5cdad1 – < ca5879115fbc9dc3c5f278abde65f5493d309740 · 13ef29ea4aa0655feab2462966f83e17df5cdad1 – < 0f51f1e721e51a2af6f0ed6a160d651ad4902a53 · 13ef29ea4aa0655feab2462966f83e17df5cdad1 – < fd4493d51b5907014e315268b102481be9482c5f · 13ef29ea4aa0655feab2462966f83e17df5cdad1 – < 9e220ce4bd0468e47cc9eea07e40799ebae6eda8Fixed in: 40edab8fbf28252abb84f655a185ceda7777dfe9 · 62922e1af094b063f577c4bb08fb5db8ca95e6d0 · 973c244db4a168860e2aeddcd59c80d874859104 · ca5879115fbc9dc3c5f278abde65f5493d309740 · 0f51f1e721e51a2af6f0ed6a160d651ad4902a53 · fd4493d51b5907014e315268b102481be9482c5f · 9e220ce4bd0468e47cc9eea07e40799ebae6eda8
Linux Linux5.14Fixed in: 5.15.226 · 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1
References
- git.kernel.org/stable/c/40edab8fbf28252abb84f655a185ceda7777dfe9
- git.kernel.org/stable/c/62922e1af094b063f577c4bb08fb5db8ca95e6d0
- git.kernel.org/stable/c/973c244db4a168860e2aeddcd59c80d874859104
- git.kernel.org/stable/c/ca5879115fbc9dc3c5f278abde65f5493d309740
- git.kernel.org/stable/c/0f51f1e721e51a2af6f0ed6a160d651ad4902a53
- git.kernel.org/stable/c/fd4493d51b5907014e315268b102481be9482c5f
- git.kernel.org/stable/c/9e220ce4bd0468e47cc9eea07e40799ebae6eda8
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.