# CVE-2024-56729: smb: Initialize cfid->tcon before performing network ops

- Severity: Medium 4.7 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/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.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-12-29T11:30:07.181Z
- Modified: 2026-10-30T13:17:48.570Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

smb: Initialize cfid->tcon before performing network ops

Avoid leaking a tcon ref when a lease break races with opening the
cached directory. Processing the leak break might take a reference to
the tcon in cached_dir_lease_break() and then fail to release the ref in
cached_dir_offload_close, since cfid->tcon is still NULL.

(As written by CVE List.)

## Affected

- Linux Linux: from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before 269ff24a5b2b58600151e04e964d2043bfe1843c; from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before 625e2357c8fcfae6e66dcc667dc656fe390bab15; from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before 4b216c8f9c7d84ef7de33ca60b97e08e03ef3292; from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before 1b9ab6b648f89441c8a13cb3fd8ca83ffebc5262; from ebe98f1447bbccf8228335c62d86af02a0ed23f7 before c353ee4fb119a2582d0e011f66a76a38f5cf984d; 6.1 (not affected: before 6.1; from 6.1.191 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 6.1 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2

## Every score

- CISA-ADP: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/269ff24a5b2b58600151e04e964d2043bfe1843c>
- <https://git.kernel.org/stable/c/625e2357c8fcfae6e66dcc667dc656fe390bab15> (patch)
- <https://git.kernel.org/stable/c/4b216c8f9c7d84ef7de33ca60b97e08e03ef3292> (patch)
- <https://git.kernel.org/stable/c/1b9ab6b648f89441c8a13cb3fd8ca83ffebc5262> (patch)
- <https://git.kernel.org/stable/c/c353ee4fb119a2582d0e011f66a76a38f5cf984d> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2024-56729 · Whole record: https://cve.day/CVE-2024-56729.json · Rebuilt by cve.day 2026-11-25T22:58:50.558Z
