Files
vuln-cve/data/2024/35xxx/CVE-2024-35865.json
T

312 lines
15 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2024-35865",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-05-17T13:50:33.107Z",
"datePublished": "2024-05-19T08:34:23.853Z",
"dateUpdated": "2026-08-05T11:30:29.384Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T11:30:29.384Z"
},
"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."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 9.8,
"baseSeverity": "CRITICAL"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The vulnerable function is invoked directly by the CIFS client's demultiplex thread on unsolicited SMB2 frames received from the remote server over TCP/445, with no signature verification and no SessionId validation on that path. A malicious/compromised SMB server or an attacker able to inject into the established TCP stream reaches it remotely.\nAC:L - The attacker controls both sides of the race: it can induce session teardown (DFS referral churn, failed session setup/tree connect, multiuser tlink expiry) and then hold the session in SES_EXITING for up to the ~180 s SMB response timeout by simply withholding the SMB2 LOGOFF reply, while flooding OPLOCK_BREAK frames into that window. The resulting window is enormous and entirely attacker-timed.\nPR:N - The remote peer needs no credentials or privileges on the victim client; the oplock-break handler runs before any MID match, signature check, or SessionId validation, so even an unauthenticated packet injector on the connection triggers it.\nUI:N - Against a client with an existing SMB mount, no victim action is required — the malicious server or MITM drives both the teardown and the oplock-break frames on its own. The mount is pre-existing system configuration, not an in-attack user action.\nS:U - The use-after-free corrupts kernel heap objects within the same kernel security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - A use-after-free on session/tcon-reachable objects lets the attacker reclaim the freed slab object and steer the list traversal into attacker-influenced data, disclosing kernel memory and kernel pointers.\nI:H - The handler writes remote-controlled values (rsp->OplockLevel, oplock_epoch, PENDING_OPLOCK_BREAK bit) into the object it locates and then does cifsFileInfo_get() plus queue_work() on it, giving refcount-manipulation and workqueue-dispatch primitives on freed memory that are leverageable for control-flow hijack.\nA:H - Use-after-free in the demultiplex thread reliably produces kernel oops/panic, taking down the whole system even when full exploitation is not achieved."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/smb/client/smb2misc.c"
],
"versions": [
{
"version": "7f48558e6489d032b1584b0cc9ac4bb11072c034",
"lessThan": "a710ef9e974f18232d2b9b19c90eda1a1167b2d4",
"status": "affected",
"versionType": "git"
},
{
"version": "7f48558e6489d032b1584b0cc9ac4bb11072c034",
"lessThan": "84488466b7a69570bdbf76dd9576847ab97d54e7",
"status": "affected",
"versionType": "git"
},
{
"version": "7f48558e6489d032b1584b0cc9ac4bb11072c034",
"lessThan": "21fed37d2bdcde33453faf61d3d4d96c355f04bd",
"status": "affected",
"versionType": "git"
},
{
"version": "7f48558e6489d032b1584b0cc9ac4bb11072c034",
"lessThan": "3dba0e5276f131e36d6d8043191d856f49238628",
"status": "affected",
"versionType": "git"
},
{
"version": "7f48558e6489d032b1584b0cc9ac4bb11072c034",
"lessThan": "22863485a4626ec6ecf297f4cc0aef709bc862e4",
"status": "affected",
"versionType": "git"
},
{
"version": "a67172a013953664b1dad03c648200c70b90506c",
"status": "affected",
"versionType": "git"
},
{
"version": "3.12.48",
"lessThan": "3.13",
"status": "affected",
"versionType": "semver"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/smb/client/smb2misc.c"
],
"versions": [
{
"version": "3.13",
"status": "affected"
},
{
"version": "0",
"lessThan": "3.13",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.209",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.85",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.26",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.8.5",
"lessThanOrEqual": "6.8.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.9",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.13",
"versionEndExcluding": "5.15.209"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.13",
"versionEndExcluding": "6.1.85"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.13",
"versionEndExcluding": "6.6.26"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.13",
"versionEndExcluding": "6.8.5"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.13",
"versionEndExcluding": "6.9"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.12.48"
}
]
}
]
}
],
"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"
}
},
"adp": [
{
"problemTypes": [
{
"descriptions": [
{
"type": "CWE",
"lang": "en",
"description": "CWE-noinfo Not enough information"
}
]
}
],
"metrics": [
{
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.5,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "NONE"
}
},
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2024-06-18T16:57:58.906769Z",
"id": "CVE-2024-35865",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-11-01T15:44:35.957Z"
}
},
{
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-02T03:21:48.469Z"
},
"title": "CVE Program Container",
"references": [
{
"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",
"tags": [
"x_transferred"
]
}
]
}
]
}
}