Skip to main content
← All vulnerabilities
CVE-2023-54234

scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.16, 6.2.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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->evtack_cmds but initialization of the array elements was missed. They are just zero cleared. The function mpi3mr_complete_evt_ack() refers host_tag field of the elements. Due to the zero value of the host_tag field, the function calls clear_bit() for mrico->evtack_cmds_bitmap 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->evtack_cmds.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From c1af985d27da2d530c22604644e9025810f57d7c · fixed in 4e0dfdb48a824deac3dfbc67fb856ef2aee13529; From c1af985d27da2d530c22604644e9025810f57d7c · fixed in 67989091e11a974003ddf2ec39bc613df8eadd83; From c1af985d27da2d530c22604644e9025810f57d7c · fixed in e39ea831ebad4ab15c4748cb62a397a8abcca36e

  • Linux Linux

    5.17

  • KernelLinux

    From 5.17.0 · fixed in 6.1.16; From 6.2.0 · fixed in 6.2.3

References 3

git.kernel.org