Wiz Agents & Workflows are here

CVE-2024-56729
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-56729 is a vulnerability in the Linux kernel's SMB client implementation, discovered and disclosed on December 29, 2024. The vulnerability affects Linux kernel versions from 6.1 up to (excluding) 6.6.64, from 6.7 up to (excluding) 6.11.11, and from 6.12 up to (excluding) 6.12.2. The issue involves improper initialization of cfid->tcon before performing network operations in the SMB client code (NVD).

Technical details

The vulnerability stems from a race condition in the SMB client's directory caching mechanism where a lease break can race with opening a cached directory. When this occurs, the code might take a reference to the tcon in cached_dir_lease_break() but fail to release the reference in cached_dir_offload_close because cfid->tcon is still NULL. This issue was introduced by the commit that enabled caching of directories for which a lease is held. The vulnerability has been assigned a CVSS v3.1 Base Score of 4.7 (Medium) with vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The primary impact of this vulnerability is a memory leak in the Linux kernel when handling SMB directory operations. The leak occurs when specific race conditions are met during directory caching operations, potentially leading to resource exhaustion over time (Kernel Patch).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that initializes cfid->tcon before performing network operations. The fix has been backported to affected stable kernel versions. Users should upgrade to kernel versions 6.6.64, 6.11.11, or 6.12.2 or later, depending on their kernel series (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23417N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-core
NoNoApr 02, 2026
CVE-2026-23415N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoNoApr 02, 2026
CVE-2026-23414N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra-matched
NoYesApr 02, 2026
CVE-2026-23413N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoYesApr 02, 2026
CVE-2026-23412N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoYesApr 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management