CVE-2024-56729

published 29 Dec 2024 · updated 30 Oct 2026

smb: Initialize cfid->tcon before performing network ops

4.7MediumCVSS 4.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1b9ab6b648f89441c8a13cb3fd8ca83ffebc5262, Kernel 269ff24a5b2b58600151e04e964d2043bfe1843c, Kernel 4b216c8f9c7d84ef7de33ca60b97e08e03ef3292 and 2 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.1, >=ebe98f1447bbccf8228335c62d86af02a0ed23f7 <1b9ab6b648f89441c8a13cb3fd8ca83ffebc5262, >=ebe98f1447bbccf8228335c62d86af02a0ed23f7 <269ff24a5b2b58600151e04e964d2043bfe1843c, >=ebe98f1447bbccf8228335c62d86af02a0ed23f7 <4b216c8f9c7d84ef7de33ca60b97e08e03ef3292, >=ebe98f1447bbccf8228335c62d86af02a0ed23f7 <625e2357c8fcfae6e66dcc667dc656fe390bab15, >=ebe98f1447bbccf8228335c62d86af02a0ed23f7 <c353ee4fb119a2582d0e011f66a76a38f5cf984d1b9ab6b648f89441c8a13cb3fd8ca83ffebc5262, 269ff24a5b2b58600151e04e964d2043bfe1843c, 4b216c8f9c7d84ef7de33ca60b97e08e03ef3292, 625e2357c8fcfae6e66dcc667dc656fe390bab15, c353ee4fb119a2582d0e011f66a76a38f5cf984d

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-56729 severity on Zeptric[![CVE-2024-56729](https://zeptric.io/badge/cve/CVE-2024-56729.svg)](https://zeptric.io/cve/CVE-2024-56729)