CVE-2023-53124
scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= d60000cb1195a464080b0efb4949daf7594e0020, < 090305c36185c0547e4441d4c08f1cf096b32134; >= ce1a69cc85006b494353911b35171da195d79e25, < 6f0c2f70d9929208d8427ec72c3ed91e2251e289; >= 6a92129c8f999ff5b122c100ce7f625eb3e98c4b, < 9937f784a608944107dcc2ba9a9c3333f8330b9e; >= d17bca3ddfe507874cb826d32721552da12e741f, < b5e5bbb3fa5f8412e96c5eda7f4a4af6241d6bd3; >= 78316e9dfc24906dd474630928ed1d3c562b568e, < a26c775ccc4cfe46f9b718b51bd24313053c7e0b; >= 78316e9dfc24906dd474630928ed1d3c562b568e, < d3c57724f1569311e4b81e98fad0931028b9bdcd; 6f6768e2fc8638fabdd8802c2ef693d7aef01db1; >= 5.4.229, < 5.4.238; >= 5.10.163, < 5.10.176; >= 5.15.86, < 5.15.104; …
- Anyone running Linux 6.2
Vulnerability facts
- Affected
- Linux >= d60000cb1195a464080b0efb4949daf7594e0020, < 090305c36185c0547e4441d4c08f1cf096b32134; >= ce1a69cc85006b494353911b35171da195d79e25, < 6f0c2f70d9929208d8427ec72c3ed91e2251e289; >= 6a92129c8f999ff5b122c100ce7f625eb3e98c4b, < 9937f784a608944107dcc2ba9a9c3333f8330b9e; >= d17bca3ddfe507874cb826d32721552da12e741f, < b5e5bbb3fa5f8412e96c5eda7f4a4af6241d6bd3; >= 78316e9dfc24906dd474630928ed1d3c562b568e, < a26c775ccc4cfe46f9b718b51bd24313053c7e0b; >= 78316e9dfc24906dd474630928ed1d3c562b568e, < d3c57724f1569311e4b81e98fad0931028b9bdcd; 6f6768e2fc8638fabdd8802c2ef693d7aef01db1; >= 5.4.229, < 5.4.238; >= 5.10.163, < 5.10.176; >= 5.15.86, < 5.15.104; …; Linux 6.2
- Fixed in
- Linux 090305c36185c0547e4441d4c08f1cf096b32134, Linux 6f0c2f70d9929208d8427ec72c3ed91e2251e289, Linux 9937f784a608944107dcc2ba9a9c3333f8330b9e, Linux 5.4.238, Linux 5.10.176, Linux 5.15.104
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
- CWE
- CWE-476
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d60000cb1195a464080b0efb4949daf7594e0020, < 090305c36185c0547e4441d4c08f1cf096b32134; >= ce1a69cc85006b494353911b35171da195d79e25, < 6f0c2f70d9929208d8427ec72c3ed91e2251e289; >= 6a92129c8f999ff5b122c100ce7f625eb3e98c4b, < 9937f784a608944107dcc2ba9a9c3333f8330b9e; >= d17bca3ddfe507874cb826d32721552da12e741f, < b5e5bbb3fa5f8412e96c5eda7f4a4af6241d6bd3; >= 78316e9dfc24906dd474630928ed1d3c562b568e, < a26c775ccc4cfe46f9b718b51bd24313053c7e0b; >= 78316e9dfc24906dd474630928ed1d3c562b568e, < d3c57724f1569311e4b81e98fad0931028b9bdcd; 6f6768e2fc8638fabdd8802c2ef693d7aef01db1; >= 5.4.229, < 5.4.238; >= 5.10.163, < 5.10.176; >= 5.15.86, < 5.15.104; … | — | cvelist |
| Linux | 6.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-53124. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-53124.md Affected: Linux >= d60000cb1195a464080b0efb4949daf7594e0020, < 090305c36185c0547e4441d4c08f1cf096b32134; >= ce1a69cc85006b494353911b35171da195d79e25, < 6f0c2f70d9929208d8427ec72c3ed91e2251e289; >= 6a92129c8f999ff5b122c100ce7f625eb3e98c4b, < 9937f784a608944107dcc2ba9a9c3333f8330b9e; >= d17bca3ddfe507874cb826d… Fixed in: Linux 090305c36185c0547e4441d4c08f1cf096b32134, Linux 6f0c2f70d9929208d8427ec72c3ed91e2251e289, Linux 9937f784a608944107dcc2ba9a9c3333f8330b9e, Linux 5.4.238, Linux 5.10.176, Linux 5.15.104 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/090305c36185c0547e4441d4c08f1cf096b32134
- https://git.kernel.org/stable/c/6f0c2f70d9929208d8427ec72c3ed91e2251e289
- https://git.kernel.org/stable/c/9937f784a608944107dcc2ba9a9c3333f8330b9e
- https://git.kernel.org/stable/c/b5e5bbb3fa5f8412e96c5eda7f4a4af6241d6bd3
- https://git.kernel.org/stable/c/a26c775ccc4cfe46f9b718b51bd24313053c7e0b
- https://git.kernel.org/stable/c/d3c57724f1569311e4b81e98fad0931028b9bdcd
FAQ
Is CVE-2023-53124 being exploited?
There is no confirmed exploitation: CVE-2023-53124 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-53124?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2023-53124?
Linux >= d60000cb1195a464080b0efb4949daf7594e0020, < 090305c36185c0547e4441d4c08f1cf096b32134; >= ce1a69cc85006b494353911b35171da195d79e25, < 6f0c2f70d9929208d8427ec72c3ed91e2251e289; >= 6a92129c8f999ff5b122c100ce7f625eb3e98c4b, < 9937f784a608944107dcc2ba9a9c3333f8330b9e; >= d17bca3ddfe507874cb826d32721552da12e741f, < b5e5bbb3fa5f8412e96c5eda7f4a4af6241d6bd3; >= 78316e9dfc24906dd474630928ed1d3c562b568e, < a26c775ccc4cfe46f9b718b51bd24313053c7e0b; >= 78316e9dfc24906dd474630928ed1d3c562b568e, < d3c57724f1569311e4b81e98fad0931028b9bdcd; 6f6768e2fc8638fabdd8802c2ef693d7aef01db1; >= 5.4.229, < 5.4.238; >= 5.10.163, < 5.10.176; >= 5.15.86, < 5.15.104; …; Linux 6.2.
Is there a fix for CVE-2023-53124?
Yes. Fixed in Linux 090305c36185c0547e4441d4c08f1cf096b32134, Linux 6f0c2f70d9929208d8427ec72c3ed91e2251e289, Linux 9937f784a608944107dcc2ba9a9c3333f8330b9e, Linux 5.4.238, Linux 5.10.176, Linux 5.15.104. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-53124?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.