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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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 6% of CVEs (2026-12-01)
- Published: 2025-10-07T15:19:42.374Z
- Modified: 2026-10-15T22:17:45.263Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 02c57a82c0081141abc19150beab48ef47f97f18 before fe2d9e54165dadaa0d0cc3355c0be9c3e129fa0d; from 02c57a82c0081141abc19150beab48ef47f97f18 before d82f762db4776fa11de88018f0f5de2d5db72a72; from 02c57a82c0081141abc19150beab48ef47f97f18 before 76d54bf20cdcc1ed7569a89885e09636e9a8d71d; 6.1 (not affected: before 6.1; from 6.1.18 up to 6.1.*; from 6.2.5 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: from 6.1 before 6.1.18; from 6.2 before 6.2.5

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/fe2d9e54165dadaa0d0cc3355c0be9c3e129fa0d> (patch)
- <https://git.kernel.org/stable/c/d82f762db4776fa11de88018f0f5de2d5db72a72> (patch)
- <https://git.kernel.org/stable/c/76d54bf20cdcc1ed7569a89885e09636e9a8d71d> (patch)

## Sources

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

---

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