Review reviewCritical

CVE-2024-35870

Linux Linux, linux kernel

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix UAF in smb2_reconnect_server() The UAF bug is due to smb2_reconnect_server() accessing a session that is already being teared down by another thread that is executing __cifs_put_smb_ses(). This can happen when (a) the client has connection to the server but no session or (b) another thread ends up setting @ses->ses_status again to something different than SES_EXITING. To fix this, we need to make sure to unconditionally set @ses->ses_status to SES_EXITING and prevent any other threads from setting a new sta...

CVSS
9.8
EPSS
0.61%
46.0% percentile
CISA KEV
Not listed
Published
2024.05.19
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.61%
Technical severityCVSS 9.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix UAF in smb2_reconnect_server() The UAF bug is due to smb2_reconnect_server() accessing a session that is already being teared down by another thread that is executing __cifs_put_smb_ses(). This can happen when (a) the client has connection to the server but no session or (b) another thread ends up setting @ses->ses_status again to something different than SES_EXITING. To fix this, we need to make sure to unconditionally set @ses->ses_status to SES_EXITING and prevent any other threads from setting a new sta...

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= b327a717e506980399464e304e363f94f95eb7a1 < 755fe68cd4b59e1d2a2dd3286177fd4404f57fed, >= b327a717e506980399464e304e363f94f95eb7a1 < 6202996a1c1887e83d0b3b0fcd86d0e5e6910ea0, >= b327a717e506980399464e304e363f94f95eb7a1 < 45f2beda1f1bc3d962ec07db1ccc3197c25499a5, >= b327a717e506980399464e304e363f94f95eb7a1 < 24a9799aa8efecd0eb55a75e35f9d8e6400063aa, >= 4.16, < 6.1.121, >= 6.2 < 6.6.29, >= 6.7 < 6.8.5, 6.9
Fixed versions
6.1.121, 6.6.29, 6.8.5

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416