Skip to content
Heist/ feed
Unrated

scsi: mpi3mr: Fix possible crash when setting up bsg fails

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: scsi: mpi3mr: Fix possible crash when setting up bsg fails If bsg_setup_queue() fails, the bsg_queue is assigned a non-NULL value. Consequently, in mpi3mr_bsg_exit(), the condition "if(!mrioc->bsg_queue)" will not be satisfied, preventing execution from entering bsg_remove_queue(), which could lead to the following crash: BUG: kernel NULL pointer dereference, address: 000000000000041c Call Trace: mpi3mr_bsg_exit+0x1f/0x50 [mpi3mr] mpi3mr_remove+0x6f/0x340 [mpi3mr] pci_device_remove+0x3f/0xb0 device_release_driver_internal+0x19d/0x220 unbind_store+0xa4/0xb0 kernfs_fop_write_iter+0x11f/0x200 vfs_write+0x1fc/0x3e0 ksys_write+0x67/0xe0 do_syscall_64+0x38/0x80 entry_SYSCALL_64_after_hwframe+0x78/0xe2

Announced Group revision 1
Original source ↗

CVE-2025-21723

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2025-21723

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4268fa7513655a83d5492705591fdac6c65db48a",
        "lessThan": "bf66ec718e68767f6d463617adaf021963678803",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4268fa7513655a83d5492705591fdac6c65db48a",
        "lessThan": "19b248069d1b1424982723a2bf3941ad864d5204",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4268fa7513655a83d5492705591fdac6c65db48a",
        "lessThan": "832b8f95a2832321b8200ae478ed988b25faaef4",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "4268fa7513655a83d5492705591fdac6c65db48a",
        "lessThan": "295006f6e8c17212d3098811166e29627d19e05c",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/scsi/mpi3mr/mpi3mr_app.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.19"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.19",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.13",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.13.2",
        "versionType": "semver",
        "lessThanOrEqual": "6.13.*"
      },
      {
        "status": "unaffected",
        "version": "6.14",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/scsi/mpi3mr/mpi3mr_app.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2025-21723

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#45943 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement