CVE-2024-35861: smb: client: fix potential UAF in cifs_signal_cifsd_for_reconnect()

Published May 19, 2024
·
Updated

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

smb: client: fix potential UAF in cifssignalcifsdforreconnect()

Skip sessions that are being teared down (status == SESEXITING) to avoid UAF.

Other sources

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

smb: client: fix potential UAF in cifssignalcifsdforreconnect()

The Linux kernel CVE team has assigned CVE-2024-35861 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051937-CVE-2024-35861-dcfe@gregkh/T

Red Hat

Affected Software

11 affected componentsFixes available
Linux Linux kernel<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
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-16.12.27-1
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
Linux Linux kernel>=5.17.2<6.1.85

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

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

    Fixed in 6.1.85
  3. Upgrade

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

    Fixed in 6.6.26
  4. Upgrade

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

    Fixed in 6.8.5
  5. Upgrade

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

    Fixed in 6.9
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch CVE-2024-35861
  7. Compensating control

    In cifs_signal_cifsd_for_reconnect(), skip SMB client sessions that are being torn down (status == SES_EXITING) to avoid a potential UAF.

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:44 PM
DescriptionSeverityAffected Software
Jul 11, 2024
Data Sourced
via Launchpad·07:46 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·12:17 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35861?

CVE-2024-35861 has a medium severity rating due to the potential for use-after-free conditions in the Linux kernel.

2

How do I fix CVE-2024-35861?

To fix CVE-2024-35861, update to kernel versions 6.1.85 or later, 6.6.26 or later, 6.8.5 or later, or 6.9.

3

What systems are affected by CVE-2024-35861?

CVE-2024-35861 affects a range of Linux kernel versions prior to 6.1.85, 6.6.26, 6.8.5, and 6.9.

4

What impact does CVE-2024-35861 have on Linux systems?

CVE-2024-35861 may lead to potential instability and security risks due to a use-after-free vulnerability.

5

What does CVE-2024-35861 involve?

CVE-2024-35861 involves an issue in the Linux kernel related to improper handling of sessions, which can lead to use-after-free vulnerabilities.

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