{"api_version":"1","generated_at":"2026-07-23T11:18:42+00:00","cve":"CVE-2024-35865","urls":{"html":"https://cve.report/CVE-2024-35865","api":"https://cve.report/api/cve/CVE-2024-35865.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-35865","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-35865"},"summary":{"title":"smb: client: fix potential UAF in smb2_is_valid_oplock_break()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix potential UAF in smb2_is_valid_oplock_break()\n\nSkip sessions that are being teared down (status == SES_EXITING) to\navoid UAF.","state":"PUBLISHED","assigner":"Linux","published_at":"2024-05-19 09:15:08","updated_at":"2026-06-01 17:16:28"},"problem_types":["CWE-416","CWE-noinfo Not enough information"],"metrics":[{"version":"3.1","source":"ADP","type":"DECLARED","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},{"version":"3.1","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/3dba0e5276f131e36d6d8043191d856f49238628","name":"https://git.kernel.org/stable/c/3dba0e5276f131e36d6d8043191d856f49238628","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/22863485a4626ec6ecf297f4cc0aef709bc862e4","name":"https://git.kernel.org/stable/c/22863485a4626ec6ecf297f4cc0aef709bc862e4","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/21fed37d2bdcde33453faf61d3d4d96c355f04bd","name":"https://git.kernel.org/stable/c/21fed37d2bdcde33453faf61d3d4d96c355f04bd","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/84488466b7a69570bdbf76dd9576847ab97d54e7","name":"https://git.kernel.org/stable/c/84488466b7a69570bdbf76dd9576847ab97d54e7","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a710ef9e974f18232d2b9b19c90eda1a1167b2d4","name":"https://git.kernel.org/stable/c/a710ef9e974f18232d2b9b19c90eda1a1167b2d4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-35865","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35865","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7f48558e6489d032b1584b0cc9ac4bb11072c034 a710ef9e974f18232d2b9b19c90eda1a1167b2d4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7f48558e6489d032b1584b0cc9ac4bb11072c034 84488466b7a69570bdbf76dd9576847ab97d54e7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7f48558e6489d032b1584b0cc9ac4bb11072c034 21fed37d2bdcde33453faf61d3d4d96c355f04bd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7f48558e6489d032b1584b0cc9ac4bb11072c034 3dba0e5276f131e36d6d8043191d856f49238628 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7f48558e6489d032b1584b0cc9ac4bb11072c034 22863485a4626ec6ecf297f4cc0aef709bc862e4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a67172a013953664b1dad03c648200c70b90506c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.12.48 3.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.209 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.85 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.26 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.8.5 6.8.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.9 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2024","cve_id":"35865","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},{"other":{"content":{"id":"CVE-2024-35865","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2024-06-18T16:57:58.906769Z","version":"2.0.3"},"type":"ssvc"}}],"problemTypes":[{"descriptions":[{"description":"CWE-noinfo Not enough information","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2024-11-01T15:44:35.957Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"},{"providerMetadata":{"dateUpdated":"2024-08-02T03:21:48.469Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/84488466b7a69570bdbf76dd9576847ab97d54e7"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/21fed37d2bdcde33453faf61d3d4d96c355f04bd"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/3dba0e5276f131e36d6d8043191d856f49238628"},{"tags":["x_transferred"],"url":"https://git.kernel.org/stable/c/22863485a4626ec6ecf297f4cc0aef709bc862e4"}],"title":"CVE Program Container"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/smb/client/smb2misc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a710ef9e974f18232d2b9b19c90eda1a1167b2d4","status":"affected","version":"7f48558e6489d032b1584b0cc9ac4bb11072c034","versionType":"git"},{"lessThan":"84488466b7a69570bdbf76dd9576847ab97d54e7","status":"affected","version":"7f48558e6489d032b1584b0cc9ac4bb11072c034","versionType":"git"},{"lessThan":"21fed37d2bdcde33453faf61d3d4d96c355f04bd","status":"affected","version":"7f48558e6489d032b1584b0cc9ac4bb11072c034","versionType":"git"},{"lessThan":"3dba0e5276f131e36d6d8043191d856f49238628","status":"affected","version":"7f48558e6489d032b1584b0cc9ac4bb11072c034","versionType":"git"},{"lessThan":"22863485a4626ec6ecf297f4cc0aef709bc862e4","status":"affected","version":"7f48558e6489d032b1584b0cc9ac4bb11072c034","versionType":"git"},{"status":"affected","version":"a67172a013953664b1dad03c648200c70b90506c","versionType":"git"},{"lessThan":"3.13","status":"affected","version":"3.12.48","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/smb/client/smb2misc.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.13"},{"lessThan":"3.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.209","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.85","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.26","versionType":"semver"},{"lessThanOrEqual":"6.8.*","status":"unaffected","version":"6.8.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.9","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.209","versionStartIncluding":"3.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.85","versionStartIncluding":"3.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.26","versionStartIncluding":"3.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.8.5","versionStartIncluding":"3.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.9","versionStartIncluding":"3.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12.48","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix potential UAF in smb2_is_valid_oplock_break()\n\nSkip sessions that are being teared down (status == SES_EXITING) to\navoid UAF."}],"providerMetadata":{"dateUpdated":"2026-06-01T16:04:34.428Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a710ef9e974f18232d2b9b19c90eda1a1167b2d4"},{"url":"https://git.kernel.org/stable/c/84488466b7a69570bdbf76dd9576847ab97d54e7"},{"url":"https://git.kernel.org/stable/c/21fed37d2bdcde33453faf61d3d4d96c355f04bd"},{"url":"https://git.kernel.org/stable/c/3dba0e5276f131e36d6d8043191d856f49238628"},{"url":"https://git.kernel.org/stable/c/22863485a4626ec6ecf297f4cc0aef709bc862e4"}],"title":"smb: client: fix potential UAF in smb2_is_valid_oplock_break()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2024-35865","datePublished":"2024-05-19T08:34:23.853Z","dateReserved":"2024-05-17T13:50:33.107Z","dateUpdated":"2026-06-01T16:04:34.428Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2024-05-19 09:15:08","lastModifiedDate":"2026-06-01 17:16:28","problem_types":["CWE-416","CWE-noinfo Not enough information"],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.85","matchCriteriaId":"B62CF0EC-6C39-4DAD-A6CC-C31C3277A460"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.26","matchCriteriaId":"C520696A-A594-4FFC-A32D-12DA535CE911"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.8.5","matchCriteriaId":"DBD6C99E-4250-4DFE-8447-FF2075939D10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*","matchCriteriaId":"22BEDD49-2C6D-402D-9DBF-6646F6ECD10B"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*","matchCriteriaId":"DF73CB2A-DFFD-46FB-9BFE-AA394F27EA37"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2024","CveId":"35865","Ordinal":"1","Title":"smb: client: fix potential UAF in smb2_is_valid_oplock_break()","CVE":"CVE-2024-35865","Year":"2024"},"notes":[{"CveYear":"2024","CveId":"35865","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix potential UAF in smb2_is_valid_oplock_break()\n\nSkip sessions that are being teared down (status == SES_EXITING) to\navoid UAF.","Type":"Description","Title":"smb: client: fix potential UAF in smb2_is_valid_oplock_break()"}]}}}