CVE-2023-53124 scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add()
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.4.229 이상 5.4.238 미만
- 5.10.163 이상 5.10.176 미만
- 5.15.86 이상 5.15.104 미만
- 6.1.2 이상 6.1.21 미만
- 6.0.16 이상 6.1 미만
- 6.2
해결 버전
- 5.4.238 이상
- 5.10.176 이상
- 5.15.104 이상
- 6.1.21 이상
- 6.1 이상
- 6.2 미만
- 6.2.8 이상