What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.6.64, 6.11.11, 6.12.2; Linux 6.13. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-56729 or the next vulnerability affects your stack