# smb: prevent use-after-free due to open_cached_dir error paths

CVE record · `CVE-2024-53177`

- **Identifiers:** `CVE-2024-53177`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **CNA:** Linux
- **Weakness (CWE):** [CWE-416](https://cwe.mitre.org/data/definitions/416.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 Dec 2024
- **Updated:** 30 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 Dec 2024, 13:49 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `93877b9afc2994c89362007aac480a7b150f386f to before 791f833053578b9fd24252ebb7162a61bc3f805b` (git)
  - affected: `5c86919455c1edec99ebd3338ad213b59271a71b to before 97e2afcac0bebfef6a5360f4267ce4c44507b845` (git)
  - affected: `5c86919455c1edec99ebd3338ad213b59271a71b to before 47655a12c6b1bca8fa230085eab2e85a076932b7` (git)
  - affected: `5c86919455c1edec99ebd3338ad213b59271a71b to before a9685b409a03b73d2980bbfa53eb47555802d0a9` (git)
  - affected: `06c106e1e8568e840c946cc0222579e3d29dab8e` (git)
  - affected: `6db94d08359c43f2c8fe372811cdee04564a41b9` (git)
  - affected: `6.6.3 to before 6.6.64` (semver)
  - affected: `6.1.191 to before 6.2` (semver)
  - affected: `6.5.13 to before 6.6` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.7`
  - unaffected: `before 6.7` (semver)
  - unaffected: `6.6.64 to 6.6.*, inclusive` (semver)
  - unaffected: `6.11.11 to 6.11.*, inclusive` (semver)
  - unaffected: `6.12.2 to 6.12.*, inclusive` (semver)
  - unaffected: `6.13 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel SMB client is vulnerable to a use-after-free in its cached directory error handling, affecting kernel 6.7 and later until fixed. An SMB server the client connects to can trigger it by sending a lease break while the client is handling a lease parse error, leading to a use-after-free. Upgrade to kernel 6.6.64 or later in the 6.6 series, 6.11.11 or later in 6.11, 6.12.2 or later in 6.12, or 6.13 or later.

Written 13 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 9.8 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux) (used for this record)
- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0055, the 47th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 27 Dec 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-53177](https://www.cve.org/CVERecord?id=CVE-2024-53177)
- [NVD: CVE-2024-53177](https://nvd.nist.gov/vuln/detail/CVE-2024-53177)

### References from the CNA

- <https://git.kernel.org/stable/c/791f833053578b9fd24252ebb7162a61bc3f805b>
- <https://git.kernel.org/stable/c/97e2afcac0bebfef6a5360f4267ce4c44507b845>
- <https://git.kernel.org/stable/c/47655a12c6b1bca8fa230085eab2e85a076932b7>
- <https://git.kernel.org/stable/c/a9685b409a03b73d2980bbfa53eb47555802d0a9>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-53177>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-53177/>. Everything for agents: <https://agentprime.io/llms.txt>.
