CVE-2024-35862: smb: client: fix potential UAF in smb2_is_network_name_deleted()

Published May 19, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Affected Software

10 affected componentsFixes available
Linux Linux kernel>=5.12<6.1.85
Linux Linux kernel>=6.2<6.6.26
Linux Linux kernel>=6.7<6.8.5
Linux Linux kernel=6.9-rc1
Linux Linux kernel=6.9-rc2
redhat/kernel<6.1.85
6.1.85
redhat/kernel<6.6.26
6.6.26
redhat/kernel<6.8.5
6.8.5
redhat/kernel<6.9
6.9
debian/linux
5.10.223-15.10.257-16.1.170-36.1.174-16.12.86-16.12.90-27.0.10-17.0.12-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.1.85
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.6.26
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8.5
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.9
  5. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.257-1Fixed in 6.1.170-3Fixed in 6.1.174-1Fixed in 6.12.86-1Fixed in 6.12.90-2Fixed in 7.0.10-1Fixed in 7.0.12-2
  6. Upgrade

    Upgrade linux kernel smb client to a version that resolves this vulnerability.

    Patch CVE-2024-35862
  7. Compensating control

    If you are able to avoid the affected code path while patching, skip SMB client sessions that are being teared down (status == SES_EXITING) so that smb2_is_network_name_deleted() does not operate on sessions in teardown and avoids the potential UAF described for CVE-2024-35862.

Event History

May 19, 2024
CVE Published
via MITRE·08:34 AM
Data Sourced
via MITRE·08:34 AM
DescriptionSeverity
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 20, 2024
Data Sourced
via Red Hat·01:41 PM
DescriptionSeverityAffected Software
May 21, 2026
Data Sourced
via Launchpad·01:47 PM
Description
Jun 17, 2026
Data Sourced
via Ubuntu·07:43 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·07:45 PM
DescriptionAffected 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-35862?

CVE-2024-35862 has a severity rating that indicates a potential risk of unauthorized access due to a use-after-free vulnerability in the Linux kernel.

2

How do I fix CVE-2024-35862?

To fix CVE-2024-35862, upgrade the Kernel to one of the patched versions such as Red Hat kernel 6.1.85 or later.

3

Which versions of the Linux kernel are affected by CVE-2024-35862?

CVE-2024-35862 affects multiple versions of the Linux kernel prior to the patched versions of 6.1.85, 6.6.26, 6.8.5, and 6.9.

4

Is CVE-2024-35862 exploitable remotely?

CVE-2024-35862 could potentially be exploited remotely depending on the system configurations and network access.

5

What are the symptoms of CVE-2024-35862 vulnerability?

The symptoms of CVE-2024-35862 may include system instability or crashes related to the SMB protocol on affected Linux kernel versions.

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