scsi: mpt3sas: Avoid freeing unallocated PCIe SGL buffers
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: mpt3sas: Avoid freeing unallocated PCIe SGL buffers _base_release_memory_pools() unconditionally frees every ioc->pcie_sg_lookup[] entry, including ones the setup loop never allocated after a partial failure, causing a "bad dma" warning on debug kernels or a NULL pointer dereference otherwise.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From dbec4c9040edc15442c3ebdb65408aa9d3b82c24 · fixed in 3361709fb6f6568b157c6f24ed21a4a5d86d73db; From dbec4c9040edc15442c3ebdb65408aa9d3b82c24 · fixed in 240b582b6372bebb1245d911add9954b7dd6c02d; From dbec4c9040edc15442c3ebdb65408aa9d3b82c24 · fixed in a61181f9ee30a98d2350c1bff32954a7521f9a23; From dbec4c9040edc15442c3ebdb65408aa9d3b82c24 · fixed in afedf35df054bd713e9e13771aa0a056932c5c67; From dbec4c9040edc15442c3ebdb65408aa9d3b82c24 · fixed in bc3398db3b64729b4a7907af317daad04795ad40; From dbec4c9040edc15442c3ebdb65408aa9d3b82c24 · fixed in 2dbdd025b228110ccbfbab95fe16e098313a14af; From dbec4c9040edc15442c3ebdb65408aa9d3b82c24 · fixed in e2cd23443d3616ea0876f27762b17e2ec67d896c; From dbec4c9040edc15442c3ebdb65408aa9d3b82c24 · fixed in b9f679dfe629004b593f018df33b330d799bcee4
- Linux Linux
4.16
- KernelLinux
From 4.16.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6
References 8
git.kernel.org
- stable/c/3361709fb6f6568b157c6f24ed21a4a5d86d73db
- stable/c/240b582b6372bebb1245d911add9954b7dd6c02d
- stable/c/a61181f9ee30a98d2350c1bff32954a7521f9a23
- stable/c/afedf35df054bd713e9e13771aa0a056932c5c67
- stable/c/bc3398db3b64729b4a7907af317daad04795ad40
- stable/c/2dbdd025b228110ccbfbab95fe16e098313a14af
- stable/c/e2cd23443d3616ea0876f27762b17e2ec67d896c
- stable/c/b9f679dfe629004b593f018df33b330d799bcee4