NetSight
medium5.5

CVE-2023-53464

In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param() The validity of sock sho…

Impact

In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param() The validity of sock should be checked before assignment to avoid incorrect values. Commit 57569c37f0ad ("scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()") introduced this change which may lead to inconsistent values of tcp_sw_conn->sendpage and conn->datadgst_en. Fix the issue by moving the position of the assignment.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.10.150 before 5.10.178
from 5.15.75 before 5.15.107
from 5.19.17 before 6.0
from 6.0.3 before 6.1.24
from 6.2 before 6.2.11
Version 6.3

Weakness classification

References