Skip to content
Heist/ feed
Back to feed
HighFix available

scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.16, 6.2.3
CVEs
CVE-2023-54234
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:26 UTC · Revision 1

Source evidence

scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization

core-osv · Original source

Published 30 Dec 2025, 12:11 UTC

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.

osv:CVE-2023-54234

Kernel

Fixed versions: 6.1.16, 6.2.3

Complete source record
{
  "id": "e0d6f508072d8b4c838537273e4f9d6e22fa3c864085c7ed9fb2c397a2f1d2f9",
  "url": "https://osv.dev/vulnerability/CVE-2023-54234",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization",
    "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.",
    "evidence": "osv:CVE-2023-54234",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.2.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-54234",
      "aliases": [
        "CVE-2023-54234"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c1af985d27da2d530c22604644e9025810f57d7c"
                },
                {
                  "fixed": "4e0dfdb48a824deac3dfbc67fb856ef2aee13529"
                },
                {
                  "fixed": "67989091e11a974003ddf2ec39bc613df8eadd83"
                },
                {
                  "fixed": "e39ea831ebad4ab15c4748cb62a397a8abcca36e"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54234.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.17.0"
                },
                {
                  "fixed": "6.1.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.2.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54234.json"
          }
        }
      ],
      "modified": "2026-10-30T02:30:37.193702787Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/4e0dfdb48a824deac3dfbc67fb856ef2aee13529",
        "https://git.kernel.org/stable/c/67989091e11a974003ddf2ec39bc613df8eadd83",
        "https://git.kernel.org/stable/c/e39ea831ebad4ab15c4748cb62a397a8abcca36e",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54234.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-54234",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54234.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-54234",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489839,
  "published_at": "2025-12-30T12:11:25.021+00:00"
}