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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.27% (percentile 11, 2026-11-28)
- **Published:** 2025-12-30T12:15:54.205Z
- **Modified:** 2026-06-17T06:47:06.733Z

## Who should check

- Anyone running Linux \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< d303e25887127364a6765eaf7ac68aa2bac518a9; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< 324c0c34fff1affd436e509325cb46739209704e; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< caac205e0d5b44c4c23a10c6c0976d50ebe16ac2; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< 46cd6c639cddba2bd2d810ceb16bb20374ad75b0; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< c51ae01104b318bf15f3c5097faba5c72addba7a; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< 04b7e13b8a13264282f874db5378fc3d3253cfac; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< e9d3401d95d62a9531082cd2453ed42f2740e3fd
- Anyone running Linux 4.16

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

## Affected and fixed versions

- Linux: \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< d303e25887127364a6765eaf7ac68aa2bac518a9; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< 324c0c34fff1affd436e509325cb46739209704e; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< caac205e0d5b44c4c23a10c6c0976d50ebe16ac2; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< 46cd6c639cddba2bd2d810ceb16bb20374ad75b0; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< c51ae01104b318bf15f3c5097faba5c72addba7a; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< 04b7e13b8a13264282f874db5378fc3d3253cfac; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< e9d3401d95d62a9531082cd2453ed42f2740e3fd (cvelist)
- Linux: 4.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54260. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54260.md
Affected: Linux >= c7398583340a6d82b8bb7f7f21edcde27dc6a898, < d303e25887127364a6765eaf7ac68aa2bac518a9; >= c7398583340a6d82b8bb7f7f21edcde27dc6a898, < 324c0c34fff1affd436e509325cb46739209704e; >= c7398583340a6d82b8bb7f7f21edcde27dc6a898, < caac205e0d5b44c4c23a10c6c0976d50ebe16ac2; >= c7398583340a6d82b8bb7f7…
Fixed in: Linux 324c0c34fff1affd436e509325cb46739209704e, Linux 46cd6c639cddba2bd2d810ceb16bb20374ad75b0, Linux 04b7e13b8a13264282f874db5378fc3d3253cfac

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54260 being exploited?

There is no confirmed exploitation: CVE-2023-54260 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-54260?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54260?

Linux \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< d303e25887127364a6765eaf7ac68aa2bac518a9; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< 324c0c34fff1affd436e509325cb46739209704e; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< caac205e0d5b44c4c23a10c6c0976d50ebe16ac2; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< 46cd6c639cddba2bd2d810ceb16bb20374ad75b0; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< c51ae01104b318bf15f3c5097faba5c72addba7a; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< 04b7e13b8a13264282f874db5378fc3d3253cfac; \>= c7398583340a6d82b8bb7f7f21edcde27dc6a898, \< e9d3401d95d62a9531082cd2453ed42f2740e3fd; Linux 4.16.

### Is there a fix for CVE-2023-54260?

Yes. Fixed in Linux 324c0c34fff1affd436e509325cb46739209704e, Linux 46cd6c639cddba2bd2d810ceb16bb20374ad75b0, Linux 04b7e13b8a13264282f874db5378fc3d3253cfac. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54260?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54260>

HTML: <https://flawdb.com/CVE-2023-54260> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54260>
