{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2023-52755", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-05-21T15:19:24.235Z", "datePublished": "2024-05-21T15:30:42.898Z", "dateUpdated": "2026-08-05T09:11:14.857Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T09:11:14.857Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix slab out of bounds write in smb_inherit_dacl()\n\nslab out-of-bounds write is caused by that offsets is bigger than pntsd\nallocation size. This patch add the check to validate 3 offsets using\nallocation size." } ], "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 bug is in ksmbd (fs/smb/server/) and is reached over SMB on TCP/445 via SMB2 CREATE after an attacker plants a malicious security descriptor; the kernel guidance treats ksmbd as Network.\nAC:L - The attacker fully controls planting the parent SD (SET_INFO SECURITY / create SD buffer) with oversized osid/gsid/dacl offsets and then triggers smb_inherit_dacl() by creating a child under that directory, so the OOB write is reliable with no conditions outside attacker control.\nPR:N - ZDI states authentication may not be required depending on configuration; the worst reasonable case is a guest_ok writable share where a passwordless guest session can create directories, set WinACLs, and create children, which scores as no privileges.\nUI:N - Exploitation is performed entirely by the remote attacker through SMB negotiate/session/tree-connect/create/set-info; no victim action such as mounting or opening a file is required.\nS:U - The slab out-of-bounds write corrupts kernel heap within the same host kernel security authority and does not cross a VM, IOMMU, or sandbox boundary.\nC:H - A heap OOB write with attacker-influenced offset and SID/ACE payload is an exploitable memory-corruption primitive that enables arbitrary kernel read/disclosure as part of RCE, matching ZDI’s remote code execution assessment.\nI:H - The vulnerability is a confirmed slab out-of-bounds write (CWE-787) of attacker-controlled ACL/SID bytes at attacker-controlled offsets, which yields arbitrary write and control-flow hijacking for kernel code execution.\nA:H - Writing past the kzalloc’d NTSD object corrupts adjacent slab memory and can oops/panic ksmbd worker threads even when not fully exploited for RCE, so availability impact is complete." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "fs/smb/server/smbacl.c" ], "versions": [ { "version": "0626e6641f6b467447c81dd7678a69c66f7746cf", "lessThan": "aaf0a07d60887d6c36fc46a24de0083744f07819", "status": "affected", "versionType": "git" }, { "version": "0626e6641f6b467447c81dd7678a69c66f7746cf", "lessThan": "8387c94d73ec66eb597c7a23a8d9eadf64bfbafa", "status": "affected", "versionType": "git" }, { "version": "0626e6641f6b467447c81dd7678a69c66f7746cf", "lessThan": "09d9d8b40a3338193619c14ed4dc040f4f119e70", "status": "affected", "versionType": "git" }, { "version": "0626e6641f6b467447c81dd7678a69c66f7746cf", "lessThan": "712e01f32e577e7e48ab0adb5fe550646a3d93cb", "status": "affected", "versionType": "git" }, { "version": "0626e6641f6b467447c81dd7678a69c66f7746cf", "lessThan": "eebff19acaa35820cb09ce2ccb3d21bee2156ffb", "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/smbacl.c" ], "versions": [ { "version": "5.15", "status": "affected" }, { "version": "0", "lessThan": "5.15", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.140", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.64", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.5.13", "lessThanOrEqual": "6.5.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.3", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.7", "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.140" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.15", "versionEndExcluding": "6.1.64" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.15", "versionEndExcluding": "6.5.13" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.15", "versionEndExcluding": "6.6.3" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "5.15", "versionEndExcluding": "6.7" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/aaf0a07d60887d6c36fc46a24de0083744f07819" }, { "url": "https://git.kernel.org/stable/c/8387c94d73ec66eb597c7a23a8d9eadf64bfbafa" }, { "url": "https://git.kernel.org/stable/c/09d9d8b40a3338193619c14ed4dc040f4f119e70" }, { "url": "https://git.kernel.org/stable/c/712e01f32e577e7e48ab0adb5fe550646a3d93cb" }, { "url": "https://git.kernel.org/stable/c/eebff19acaa35820cb09ce2ccb3d21bee2156ffb" } ], "title": "ksmbd: fix slab out of bounds write in smb_inherit_dacl()", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "problemTypes": [ { "descriptions": [ { "type": "CWE", "cweId": "CWE-787", "lang": "en", "description": "CWE-787 Out-of-bounds Write" } ] } ], "affected": [ { "vendor": "linux", "product": "linux_kernel", "cpes": [ "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*" ], "defaultStatus": "affected", "versions": [ { "version": "1da177e4c3f4", "status": "affected", "lessThan": "aaf0a07d6088", "versionType": "git" }, { "version": "1da177e4c3f4", "status": "affected", "lessThan": "8387c94d73ec", "versionType": "git" }, { "version": "1da177e4c3f4", "status": "affected", "lessThan": "09d9d8b40a33", "versionType": "git" }, { "version": "1da177e4c3f4", "status": "affected", "lessThan": "712e01f32e57", "versionType": "git" }, { "version": "1da177e4c3f4", "status": "affected", "lessThan": "eebff19acaa3", "versionType": "git" } ] } ], "metrics": [ { "cvssV3_1": { "scope": "UNCHANGED", "version": "3.1", "baseScore": 8.4, "attackVector": "LOCAL", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH" } }, { "other": { "type": "ssvc", "content": { "timestamp": "2024-08-01T03:55:53.690996Z", "id": "CVE-2023-52755", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-08-01T13:46:35.727Z" } }, { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-02T23:11:35.921Z" }, "title": "CVE Program Container", "references": [ { "url": "https://git.kernel.org/stable/c/aaf0a07d60887d6c36fc46a24de0083744f07819", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/8387c94d73ec66eb597c7a23a8d9eadf64bfbafa", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/09d9d8b40a3338193619c14ed4dc040f4f119e70", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/712e01f32e577e7e48ab0adb5fe550646a3d93cb", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/eebff19acaa35820cb09ce2ccb3d21bee2156ffb", "tags": [ "x_transferred" ] } ] } ] } }