CVE-2023-53124 Details
Description
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.
A vulnerability allowing NULL pointer dereference has been identified in the Linux kernel's mpt3sas SCSI driver. The issue arises in the function mpt3sas_transport_port_add(), where a newly allocated port may not be properly validated before use. The vulnerability occurs because the port, allocated by sas_port_alloc_num(), and the rphy, allocated by either sas_end_device_alloc() or sas_expander_alloc(), can potentially be NULL. If sas_rphy_add() fails, it sets rphy to NULL, leading to a dereference of a NULL pointer in subsequent lines, which can cause a kernel crash.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/090305c36185c0547e4441d4c08f1cf096b32134 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6f0c2f70d9929208d8427ec72c3ed91e2251e289 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9937f784a608944107dcc2ba9a9c3333f8330b9e | kernel.org | Patch |
| https://git.kernel.org/stable/c/a26c775ccc4cfe46f9b718b51bd24313053c7e0b | kernel.org | Patch |
| https://git.kernel.org/stable/c/b5e5bbb3fa5f8412e96c5eda7f4a4af6241d6bd3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d3c57724f1569311e4b81e98fad0931028b9bdcd | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.4.229, < 5.4.238 >= 5.10.163, < 5.10.176 >= 5.15.86, < 5.15.104 >= 6.0.16, < 6.1 >= 6.1.2, < 6.1.21 >= 6.2, < 6.2.8 6.3 rc1 6.3 rc2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 10, 2025 | Initial Analysis | [email protected] |
| May 2, 2025 | New CVE Received | kernel.org |