CVE-2024-56729 Details
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.
A vulnerability in the Linux kernel's SMB client has been addressed, specifically related to the handling of TCON references in cached directory operations. The issue arose because the TCON reference was not properly initialized before certain network operations, leading to a potential reference leak. This leak could occur when a lease break interfered with opening a cached directory, causing the TCON reference to remain uninitialized. The vulnerability affected the Linux kernel stable tree.
Users can upgrade to the latest version of the Linux kernel stable tree, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1b9ab6b648f89441c8a13cb3fd8ca83ffebc5262 | kernel.org | Patch |
| https://git.kernel.org/stable/c/269ff24a5b2b58600151e04e964d2043bfe1843c | kernel.org | |
| https://git.kernel.org/stable/c/4b216c8f9c7d84ef7de33ca60b97e08e03ef3292 | kernel.org | Patch |
| https://git.kernel.org/stable/c/625e2357c8fcfae6e66dcc667dc656fe390bab15 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c353ee4fb119a2582d0e011f66a76a38f5cf984d | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.1, < 6.6.64 >= 6.7, < 6.11.11 >= 6.12, < 6.12.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Jan 7, 2025 | Initial Analysis | [email protected] |
| Dec 29, 2024 | New CVE Received | kernel.org |