Skip to main content
← All vulnerabilities
CVE-2023-53464

scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.178, 5.15.107, 5.20, 6.1
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 5.10.150 · fixed in 5.10.178; From 5.15.75 · fixed in 5.15.107; From 5.19.17 · fixed in 5.20; From 6.0.3 · fixed in 6.1

  • Linux Linux

    6.1

References 5

git.kernel.org