---
id: CVE-2023-53464
title: 'scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param()'
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 57569c37f…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 884a788f065578bb640382279a83d1df433b13e6 <
    499757ad3332e2527254f9ab68dec1da087b1d96
  - >-
    Linux >= a26b0658751bb0a3b28386fca715333b104d32a2 <
    5e5c5f472972c4bc9430adc08b36763a0fa5b9f7
  - >-
    Linux >= 57569c37f0add1b6489e1a1563c71519daf732cf <
    6e06a68fbbfcd8576eee8f7139fa2b13c9b72e91
  - >-
    Linux >= 57569c37f0add1b6489e1a1563c71519daf732cf <
    b287e21e73ec23f3788fbe40037c42dbe6e9a9a9
  - >-
    Linux >= 57569c37f0add1b6489e1a1563c71519daf732cf <
    48b19b79cfa37b1e50da3b5a8af529f994c08901
  - Linux 897dbbc57d71e8a34ec1af8e573a142de457da38
  - Linux 0a0b861fce2657ba08ec356a74346b37ca4b2008
  - Linux >= 5.10.150 < 5.10.178
  - Linux >= 5.15.75 < 5.15.107
  - Linux >= 5.19.17 < 5.20
  - Linux >= 6.0.3 < 6.1
  - Linux 6.1
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:21:33.666694Z'
published: '2025-10-01'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:31:10.388Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-53464'
references:
  - url: 'https://git.kernel.org/stable/c/499757ad3332e2527254f9ab68dec1da087b1d96'
  - url: 'https://git.kernel.org/stable/c/5e5c5f472972c4bc9430adc08b36763a0fa5b9f7'
  - url: 'https://git.kernel.org/stable/c/6e06a68fbbfcd8576eee8f7139fa2b13c9b72e91'
  - url: 'https://git.kernel.org/stable/c/b287e21e73ec23f3788fbe40037c42dbe6e9a9a9'
  - url: 'https://git.kernel.org/stable/c/48b19b79cfa37b1e50da3b5a8af529f994c08901'
tags:
  - cve.org
epss: 0.00166
epssPercentile: 0.05899
ingestedAt: '2026-11-05T22:38:31.798Z'
---

## Overview

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

- `Linux >= 884a788f065578bb640382279a83d1df433b13e6 < 499757ad3332e2527254f9ab68dec1da087b1d96`
- `Linux >= a26b0658751bb0a3b28386fca715333b104d32a2 < 5e5c5f472972c4bc9430adc08b36763a0fa5b9f7`
- `Linux >= 57569c37f0add1b6489e1a1563c71519daf732cf < 6e06a68fbbfcd8576eee8f7139fa2b13c9b72e91`
- `Linux >= 57569c37f0add1b6489e1a1563c71519daf732cf < b287e21e73ec23f3788fbe40037c42dbe6e9a9a9`
- `Linux >= 57569c37f0add1b6489e1a1563c71519daf732cf < 48b19b79cfa37b1e50da3b5a8af529f994c08901`
- `Linux 897dbbc57d71e8a34ec1af8e573a142de457da38`
- `Linux 0a0b861fce2657ba08ec356a74346b37ca4b2008`
- `Linux >= 5.10.150 < 5.10.178`
- `Linux >= 5.15.75 < 5.15.107`
- `Linux >= 5.19.17 < 5.20`
- `Linux >= 6.0.3 < 6.1`
- `Linux 6.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
