Files
vuln-cve/data/2023/52xxx/CVE-2023-52479.json
T

275 lines
13 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2023-52479",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-02-20T12:30:33.300Z",
"datePublished": "2024-02-29T05:43:11.373Z",
"dateUpdated": "2026-08-15T12:23:48.733Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-15T12:23:48.733Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix uaf in smb20_oplock_break_ack\n\ndrop reference after use opinfo."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 8.8,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The vulnerable code is ksmbd's SMB2_OPLOCK_BREAK handler in fs/smb/server/smb2pdu.c, reached from SMB2 PDUs on the in-kernel SMB server listening on TCP/445; no local access is required.\nAC:L - The attacker fully controls the sequence—open with an exclusive/batch oplock, trigger the break from a second connection or create, then send the oplock break ack—and the success path always drops the opinfo reference before writing op_state and waking oplock_q.\nPR:L - smb2_check_user_session() rejects SMB2_OPLOCK_BREAK without a valid session, and the path also needs a tree connect plus an open handle holding an oplock, so a basic authenticated share user (or guest where permitted) is required.\nUI:N - The attacker performs every step—file open, conflicting open to force the break, and the oplock break ack—with no action by any legitimate user or administrator.\nS:U - The corruption and impact stay within the kernel/ksmbd security authority; this is standard kernel memory corruption, not a VM, IOMMU, or sandbox boundary escape.\nC:H - Use-after-free of struct oplock_info (and related fd/refcount state) lets an attacker reclaim and read the freed heap object via subsequent opinfo/conn/sess/o_fp dereferences, enabling arbitrary kernel memory disclosure.\nI:H - The freed oplock_info still participates in wait queues and list links; reclaiming it lets wake_up_interruptible_all() invoke attacker-controlled wait_queue_entry callbacks and list operations act as write primitives for code execution.\nA:H - Even without full exploitation, the use-after-free and possible double put on the pin-failure path reliably cause kernel oops/panic, and the attacker can repeat the sequence to keep the server unavailable."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/smb/server/smb2pdu.c"
],
"versions": [
{
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"lessThan": "694e13732e830cbbfedb562e57f28644927c33fd",
"status": "affected",
"versionType": "git"
},
{
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"lessThan": "8226ffc759ea59f10067b9acdf7f94bae1c69930",
"status": "affected",
"versionType": "git"
},
{
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"lessThan": "d5b0e9d3563e7e314a850e81f42b2ef6f39882f9",
"status": "affected",
"versionType": "git"
},
{
"version": "e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9",
"lessThan": "c69813471a1ec081a0b9bf0c6bd7e8afd818afce",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"fs/smb/server/smb2pdu.c"
],
"versions": [
{
"version": "5.15",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.15",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.135",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.57",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.5.7",
"lessThanOrEqual": "6.5.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6",
"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": "5.15",
"versionEndExcluding": "5.15.135"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.15",
"versionEndExcluding": "6.1.57"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.15",
"versionEndExcluding": "6.5.7"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.15",
"versionEndExcluding": "6.6"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/694e13732e830cbbfedb562e57f28644927c33fd"
},
{
"url": "https://git.kernel.org/stable/c/8226ffc759ea59f10067b9acdf7f94bae1c69930"
},
{
"url": "https://git.kernel.org/stable/c/d5b0e9d3563e7e314a850e81f42b2ef6f39882f9"
},
{
"url": "https://git.kernel.org/stable/c/c69813471a1ec081a0b9bf0c6bd7e8afd818afce"
}
],
"title": "ksmbd: fix uaf in smb20_oplock_break_ack",
"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": 7.1,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
}
},
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2025-04-22T15:51:22.969165Z",
"id": "CVE-2023-52479",
"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": "2025-04-22T15:51:52.746Z"
}
},
{
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-02T23:03:19.917Z"
},
"title": "CVE Program Container",
"references": [
{
"url": "https://git.kernel.org/stable/c/694e13732e830cbbfedb562e57f28644927c33fd",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/8226ffc759ea59f10067b9acdf7f94bae1c69930",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/d5b0e9d3563e7e314a850e81f42b2ef6f39882f9",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/c69813471a1ec081a0b9bf0c6bd7e8afd818afce",
"tags": [
"x_transferred"
]
}
]
}
]
}
}