CVE-2023-53124
scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
Check your servers for CVE-2023-53124
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53124 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 9.57% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d60000cb1195a464080b0efb4949daf7594e0020, before 090305c36185c0547e4441d4c08f1cf096b32134 affected from ce1a69cc85006b494353911b35171da195d79e25, before 6f0c2f70d9929208d8427ec72c3ed91e2251e289 affected from 6a92129c8f999ff5b122c100ce7f625eb3e98c4b, before 9937f784a608944107dcc2ba9a9c3333f8330b9e affected from d17bca3ddfe507874cb826d32721552da12e741f, before b5e5bbb3fa5f8412e96c5eda7f4a4af6241d6bd3 affected from 78316e9dfc24906dd474630928ed1d3c562b568e, before a26c775ccc4cfe46f9b718b51bd24313053c7e0b affected from 78316e9dfc24906dd474630928ed1d3c562b568e, before d3c57724f1569311e4b81e98fad0931028b9bdcd affected 6f6768e2fc8638fabdd8802c2ef693d7aef01db1 affected from 5.4.229, before 5.4.238 affected from 5.10.163, before 5.10.176 affected from 5.15.86, before 5.15.104 affected from 6.1.2, before 6.1.21 affected from 6.0.16, before 6.1
Other versions: unaffected
|
| Linux |
affected 6.2 unaffected before 6.2 unaffected from 5.4.238 up to and including 5.4.* unaffected from 5.10.176 up to and including 5.10.* unaffected from 5.15.104 up to and including 5.15.* unaffected from 6.1.21 up to and including 6.1.* unaffected from 6.2.8 up to and including 6.2.* unaffected 6.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53124 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53124
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-53124
trivy image --scanners vuln IMAGE | grep CVE-2023-53124
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/090305c36185c0547e4441d4c08f1cf096b32134 git.kernel.org
- https://git.kernel.org/stable/c/6f0c2f70d9929208d8427ec72c3ed91e2251e289 git.kernel.org
- https://git.kernel.org/stable/c/9937f784a608944107dcc2ba9a9c3333f8330b9e git.kernel.org
- https://git.kernel.org/stable/c/b5e5bbb3fa5f8412e96c5eda7f4a4af6241d6bd3 git.kernel.org
- https://git.kernel.org/stable/c/a26c775ccc4cfe46f9b718b51bd24313053c7e0b git.kernel.org
- https://git.kernel.org/stable/c/d3c57724f1569311e4b81e98fad0931028b9bdcd git.kernel.org
Source: the record CVE-2023-53124 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse