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

Published Dec 29, 2024
·
Updated

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 cacheddirleasebreak() and then fail to release the ref in cacheddiroffloadclose, since cfid->tcon is still NULL.

Other sources

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 cacheddirleasebreak() and then fail to release the ref in cacheddiroffloadclose, since cfid->tcon is still NULL.

NVD

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

4 affected componentsFixes available
Linux Linux kernel>=6.1<6.6.64
Linux Linux kernel>=6.7<6.11.11
Linux Linux kernel>=6.12<6.12.2
debian/linux<=6.1.129-1, <=6.1.135-1
5.10.223-15.10.234-16.12.25-1

Event History

Dec 29, 2024
CVE Published
via MITRE·11:30 AM
Data Sourced
via MITRE·11:30 AM
Description
Data Sourced
via Red Hat·12:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 25, 2025
Data Sourced
via Launchpad·01:13 AM
Description
Apr 29, 2025
Data Sourced
via Ubuntu·01:13 AM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-56729?

CVE-2024-56729 has been classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-56729?

To fix CVE-2024-56729, update your Linux kernel to a version that addresses this vulnerability, specifically beyond the affected versions listed.

3

What versions of the Linux kernel are affected by CVE-2024-56729?

CVE-2024-56729 affects Linux kernel versions from 6.1 to 6.6.64, 6.7 to 6.11.11, and 6.12 to 6.12.2.

4

What type of vulnerability is CVE-2024-56729?

CVE-2024-56729 is a race condition vulnerability that potentially leads to resource leaks in the Linux kernel SMB implementation.

5

Is there a workaround for CVE-2024-56729?

Currently, the recommended approach for mitigating CVE-2024-56729 is to apply the necessary kernel updates, as no specific workaround has been provided.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203