In the Linux kernel, the following vulnerability has been resolved:
scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization
Commit c1af985d27da ("scsi: mpi3mr: Add Event acknowledgment logic") introduced an array mrioc->evtackcmds but initialization of the array elements was missed. They are just zero cleared. The function mpi3mrcompleteevtack() refers hosttag field of the elements. Due to the zero value of the hosttag field, the function calls clearbit() for mrico->evtackcmdsbitmap with wrong bit index. This results in memory access to invalid address and "BUG: KASAN: use-after-free". This BUG was observed at eHBA-9600 firmware update to version 8.3.1.0. To fix it, add the missing initialization of mrioc->evtackcmds.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54234.json",
"cna_assigner": "Linux"
}