# CVE-2023-54260: cifs: Fix lost destroy smbd connection when MR allocate failed

- Severity: not scored yet
- 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.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-12-30T12:15:54.205Z
- Modified: 2026-06-17T06:47:06.733Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

cifs: Fix lost destroy smbd connection when MR allocate failed

If the MR allocate failed, the smb direct connection info is NULL,
then smbd_destroy() will directly return, then the connection info
will be leaked.

Let's set the smb direct connection info to the server before call
smbd_destroy().

(As written by CVE List.)

## Affected

- Linux Linux: from c7398583340a6d82b8bb7f7f21edcde27dc6a898 before d303e25887127364a6765eaf7ac68aa2bac518a9; from c7398583340a6d82b8bb7f7f21edcde27dc6a898 before 324c0c34fff1affd436e509325cb46739209704e; from c7398583340a6d82b8bb7f7f21edcde27dc6a898 before caac205e0d5b44c4c23a10c6c0976d50ebe16ac2; from c7398583340a6d82b8bb7f7f21edcde27dc6a898 before 46cd6c639cddba2bd2d810ceb16bb20374ad75b0; from c7398583340a6d82b8bb7f7f21edcde27dc6a898 before c51ae01104b318bf15f3c5097faba5c72addba7a; from c7398583340a6d82b8bb7f7f21edcde27dc6a898 before 04b7e13b8a13264282f874db5378fc3d3253cfac; from c7398583340a6d82b8bb7f7f21edcde27dc6a898 before e9d3401d95d62a9531082cd2453ed42f2740e3fd; 4.16 (not affected: before 4.16; from 4.19.276 up to 4.19.*; from 5.4.235 up to 5.4.*; from 5.10.173 up to 5.10.*; from 5.15.99 up to 5.15.*; from 6.1.16 up to 6.1.*; from 6.2.3 up to 6.2.*; from 6.3 up to *)

## References

- <https://git.kernel.org/stable/c/d303e25887127364a6765eaf7ac68aa2bac518a9>
- <https://git.kernel.org/stable/c/324c0c34fff1affd436e509325cb46739209704e>
- <https://git.kernel.org/stable/c/caac205e0d5b44c4c23a10c6c0976d50ebe16ac2>
- <https://git.kernel.org/stable/c/46cd6c639cddba2bd2d810ceb16bb20374ad75b0>
- <https://git.kernel.org/stable/c/c51ae01104b318bf15f3c5097faba5c72addba7a>
- <https://git.kernel.org/stable/c/04b7e13b8a13264282f874db5378fc3d3253cfac>
- <https://git.kernel.org/stable/c/e9d3401d95d62a9531082cd2453ed42f2740e3fd>

## Sources

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

---

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