CVE-2023-53124
kernel: scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
Overview
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-476
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 97 fixes
Red Hat 3 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | bpftool +25 | eol | — |
| 8 | kernel-rt +14 | eol | — |
| 8 | bpftool +22 | 0:4.18.0-513.5.1.el8_9 | RHSA-2023:7077 |
| 9 | bpftool +106 | affected | — |
| 9 | kernel +60 | 0:5.14.0-362.8.1.el9_3 | RHSA-2023:6583 |
| 9 | bpftool | 0:7.2.0-362.8.1.el9_3 | RHSA-2023:6583 |
SUSE Linux Enterprise 3 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | kgraft-patch-4-12-14-122-261-default | 1-8.3.1 | SUSE-SU-2025:01983-1 |
| 12.5 | cluster-md-kmp-default +13 | 4.12.14-122.261.1 | SUSE-SU-2025:01983-1 |
| 15.4 | kernel-livepatch-5-14-21-150400-24-167-default | 1-150400.9.3.1 | SUSE-SU-2025:02262-1 |
| 15.4 | cluster-md-kmp-default +17 | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| 15.4 | kernel-default-base | 5.14.21-150400.24.167.1.150400.24.84.1 | SUSE-SU-2025:02262-1 |
| 15.5 | kernel-livepatch-5-14-21-150500-55-110-default | 1-150500.11.7.1 | SUSE-SU-2025:02173-1 |
2 more rows
SUSE Linux Enterprise Micro 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | kernel-rt +1 | 5.14.21-150400.15.121.1 | SUSE-SU-2025:01918-1 |
| 5.3 | kernel-default | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| 5.3 | kernel-default-base | 5.14.21-150400.24.167.1.150400.24.84.1 | SUSE-SU-2025:02262-1 |
| 5.4 | kernel-rt +1 | 5.14.21-150400.15.121.1 | SUSE-SU-2025:01918-1 |
| 5.4 | kernel-default | 5.14.21-150400.24.167.1 | SUSE-SU-2025:02262-1 |
| 5.4 | kernel-default-base | 5.14.21-150400.24.167.1.150400.24.84.1 | SUSE-SU-2025:02262-1 |
3 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | 5.10.178-1 |
| 12 | linux | 6.1.25-1 |
| 13 | linux | 6.1.25-1 |
| 14 | linux | 6.1.25-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.1.25-1 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-linux | 5.10.178-1 |
| 12 | rootio-linux | 6.1.25-1 |
| 13 | rootio-linux | 6.1.25-1 |
root.io ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | rootio-linux | 5.15.0-79.86 |
ubuntu 4 releases · 37 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | linux-ibm-5-4 | 5.4.0-1054.59~18.04.1 |
| 18.04-ESM | linux-raspi-5-4 | 5.4.0-1091.102~18.04.1 |
| 18.04-ESM | linux-oracle-5-4 | 5.4.0-1106.115~18.04.1 |
| 18.04-ESM | linux-aws-5-4 | 5.4.0-1107.115~18.04.1 |
| 18.04-ESM | linux-gcp-5-4 | 5.4.0-1110.119~18.04.1 |
| 18.04-ESM | linux-azure-5-4 | 5.4.0-1113.119~18.04.1 |
59 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-53124
- git.kernel.org https://git.kernel.org/linus/d3c57724f1569311e4b81e98fad0931028b9bdcd (6.3-rc3)
- git.kernel.org 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/a26c775ccc4cfe46f9b718b51bd24313053c7e0b
- git.kernel.org https://git.kernel.org/stable/c/b5e5bbb3fa5f8412e96c5eda7f4a4af6241d6bd3
- git.kernel.org https://git.kernel.org/stable/c/d3c57724f1569311e4b81e98fad0931028b9bdcd
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2025050232-CVE-2023-53124-9900@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-53124
Show all 11 references
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.