# CVE-2023-53464: scsi: iscsi_tcp: Check that sock is valid before iscsi_set_param()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-10-01T11:42:35.186Z
- Modified: 2026-11-05T21:17:21.463Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 884a788f065578bb640382279a83d1df433b13e6 before 499757ad3332e2527254f9ab68dec1da087b1d96; from a26b0658751bb0a3b28386fca715333b104d32a2 before 5e5c5f472972c4bc9430adc08b36763a0fa5b9f7; from 57569c37f0add1b6489e1a1563c71519daf732cf before 6e06a68fbbfcd8576eee8f7139fa2b13c9b72e91; from 57569c37f0add1b6489e1a1563c71519daf732cf before b287e21e73ec23f3788fbe40037c42dbe6e9a9a9; from 57569c37f0add1b6489e1a1563c71519daf732cf before 48b19b79cfa37b1e50da3b5a8af529f994c08901; 897dbbc57d71e8a34ec1af8e573a142de457da38; 0a0b861fce2657ba08ec356a74346b37ca4b2008; from 5.10.150 before 5.10.178; from 5.15.75 before 5.15.107; from 5.19.17 before 5.20; from 6.0.3 before 6.1; 6.1 (not affected: before 6.1; from 5.10.178 up to 5.10.*; from 5.15.107 up to 5.15.*; from 6.1.24 up to 6.1.*; from 6.2.11 up to 6.2.*; from 6.3 up to *)
- linux linux_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; 6.3

## References

- <https://git.kernel.org/stable/c/499757ad3332e2527254f9ab68dec1da087b1d96> (patch)
- <https://git.kernel.org/stable/c/5e5c5f472972c4bc9430adc08b36763a0fa5b9f7> (patch)
- <https://git.kernel.org/stable/c/6e06a68fbbfcd8576eee8f7139fa2b13c9b72e91> (patch)
- <https://git.kernel.org/stable/c/b287e21e73ec23f3788fbe40037c42dbe6e9a9a9> (patch)
- <https://git.kernel.org/stable/c/48b19b79cfa37b1e50da3b5a8af529f994c08901> (patch)

## Sources

- CVE List: [CVE-2023-53464](https://www.cve.org/CVERecord?id=CVE-2023-53464), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2023-53464](https://nvd.nist.gov/vuln/detail/CVE-2023-53464), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2023-53464 · Whole record: https://cve.day/CVE-2023-53464.json · Rebuilt by cve.day 2026-11-25T22:58:34.896Z
