{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53124","id":"CVE-2023-53124","title":"scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()\n\nPort is allocated by sas_port_alloc_num() and rphy is allocated by either\nsas_end_device_alloc() or sas_expander_alloc(), all of which may return\nNULL. So we need to check the rphy to avoid possible NULL pointer access.\n\nIf sas_rphy_add() returned with failur","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()\n\nPort is allocated by sas_port_alloc_num() and rphy is allocated by either\nsas_end_device_alloc() or sas_expander_alloc(), all of which may return\nNULL. So we need to check the rphy to avoid possible NULL pointer access.\n\nIf sas_rphy_add() returned with failure, rphy is set to NULL. We would\naccess the rphy in the following lines which would also result NULL pointer\naccess.","published":"2025-05-02T15:56:00.500Z","updated":"2026-11-17T07:00:40.931932492Z","reserved":"2025-05-02T15:51:43.555Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d60000cb1195a464080b0efb4949daf7594e0020","lessThan":"090305c36185c0547e4441d4c08f1cf096b32134","status":"affected","versionType":"git"},{"version":"ce1a69cc85006b494353911b35171da195d79e25","lessThan":"6f0c2f70d9929208d8427ec72c3ed91e2251e289","status":"affected","versionType":"git"},{"version":"6a92129c8f999ff5b122c100ce7f625eb3e98c4b","lessThan":"9937f784a608944107dcc2ba9a9c3333f8330b9e","status":"affected","versionType":"git"},{"version":"d17bca3ddfe507874cb826d32721552da12e741f","lessThan":"b5e5bbb3fa5f8412e96c5eda7f4a4af6241d6bd3","status":"affected","versionType":"git"},{"version":"78316e9dfc24906dd474630928ed1d3c562b568e","lessThan":"a26c775ccc4cfe46f9b718b51bd24313053c7e0b","status":"affected","versionType":"git"},{"version":"78316e9dfc24906dd474630928ed1d3c562b568e","lessThan":"d3c57724f1569311e4b81e98fad0931028b9bdcd","status":"affected","versionType":"git"},{"version":"6f6768e2fc8638fabdd8802c2ef693d7aef01db1","status":"affected","versionType":"git"},{"version":"5.4.229","lessThan":"5.4.238","status":"affected","versionType":"semver"},{"version":"5.10.163","lessThan":"5.10.176","status":"affected","versionType":"semver"},{"version":"5.15.86","lessThan":"5.15.104","status":"affected","versionType":"semver"},{"version":"6.1.2","lessThan":"6.1.21","status":"affected","versionType":"semver"},{"version":"6.0.16","lessThan":"6.1","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","lessThan":"6.2","status":"unaffected","versionType":"semver"},{"version":"5.4.238","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.176","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.104","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.21","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.8","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/090305c36185c0547e4441d4c08f1cf096b32134","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6f0c2f70d9929208d8427ec72c3ed91e2251e289","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9937f784a608944107dcc2ba9a9c3333f8330b9e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b5e5bbb3fa5f8412e96c5eda7f4a4af6241d6bd3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a26c775ccc4cfe46f9b718b51bd24313053c7e0b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d3c57724f1569311e4b81e98fad0931028b9bdcd","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53124.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53124","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0019,"epssPercentile":0.08701,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53124","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53124","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53124","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-53124","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}