CVE-2023-53124

scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()

published May 2, 2025

CVSS
—
EPSS
0%
Percentile
8.0
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()

Port is allocated by sas_port_alloc_num() and rphy is allocated by either

sas_end_device_alloc() or sas_expander_alloc(), all of which may return

NULL. So we need to check the rphy to avoid possible NULL pointer access.

If sas_rphy_add() returned with failure, rphy is set to NULL. We would

access the rphy in the following lines which would also result NULL pointer

access.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00189 · 8.0th percentile
Published
2025-05-02T15:56Z
EPSS history
Timeline
  • 02 MAY 15:56Z
    scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
    cvelistv5