Files
linux-stable-mirror/drivers/scsi
Colin Ian KingandSasha Levin 25d623f0d7 scsi: csiostor: Fix dereference of null pointer rn
[ Upstream commit 1982257570 ]

The error exit path when rn is NULL ends up deferencing the null pointer rn
via the use of the macro CSIO_INC_STATS. Fix this by adding a new error
return path label after the use of the macro to avoid the deference.

Fixes: a3667aaed5 ("[SCSI] csiostor: Chelsio FCoE offload driver")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://patch.msgid.link/20260129155332.196338-1-colin.i.king@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-04 07:20:04 -05:00
..
2025-08-28 16:28:26 +02:00
2025-05-02 07:50:48 +02:00