smb: client: fix potential UAF in smb2_is_valid_oplock_break()
Summary
| CVE | CVE-2024-35865 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-05-19 09:15:08 UTC |
| Updated | 2026-06-01 17:16:28 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in smb2_is_valid_oplock_break() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from ADP
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-416 | CWE-noinfo Not enough information
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 7f48558e6489d032b1584b0cc9ac4bb11072c034 a710ef9e974f18232d2b9b19c90eda1a1167b2d4 git | Not specified |
| CNA | Linux | Linux | affected 7f48558e6489d032b1584b0cc9ac4bb11072c034 84488466b7a69570bdbf76dd9576847ab97d54e7 git | Not specified |
| CNA | Linux | Linux | affected 7f48558e6489d032b1584b0cc9ac4bb11072c034 21fed37d2bdcde33453faf61d3d4d96c355f04bd git | Not specified |
| CNA | Linux | Linux | affected 7f48558e6489d032b1584b0cc9ac4bb11072c034 3dba0e5276f131e36d6d8043191d856f49238628 git | Not specified |
| CNA | Linux | Linux | affected 7f48558e6489d032b1584b0cc9ac4bb11072c034 22863485a4626ec6ecf297f4cc0aef709bc862e4 git | Not specified |
| CNA | Linux | Linux | affected a67172a013953664b1dad03c648200c70b90506c git | Not specified |
| CNA | Linux | Linux | affected 3.12.48 3.13 semver | Not specified |
| CNA | Linux | Linux | affected 3.13 | Not specified |
| CNA | Linux | Linux | unaffected 3.13 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.209 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.85 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.26 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.8.5 6.8.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.9 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/3dba0e5276f131e36d6d8043191d856f49238628 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/22863485a4626ec6ecf297f4cc0aef709bc862e4 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/21fed37d2bdcde33453faf61d3d4d96c355f04bd | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/84488466b7a69570bdbf76dd9576847ab97d54e7 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/a710ef9e974f18232d2b9b19c90eda1a1167b2d4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.