CVE-2023-52755
published critical CVSS 3.1 · 9.8ksmbd: fix slab out of bounds write in smb_inherit_dacl()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0626e6641f6b467447c81dd7678a69c66f7746cf to < aaf0a07d60887d6c36fc46a24de0083744f07819 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 8387c94d73ec66eb597c7a23a8d9eadf64bfbafa · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 09d9d8b40a3338193619c14ed4dc040f4f119e70 · 0626e6641f6b467447c81dd7678a69c66f7746cf to < 712e01f32e577e7e48ab0adb5fe550646a3d93cb · 0626e6641f6b467447c81dd7678a69c66f7746cf to < eebff19acaa35820cb09ce2ccb3d21bee2156ffb · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.140 through 5.15.* (unaffected · semver) · 6.1.64 through 6.1.* (unaffected · semver) · 6.5.13 through 6.5.* (unaffected · semver) · 6.6.3 through 6.6.* (unaffected · semver) · 6.7 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| linux | — | linux_kernel1da177e4c3f4 to < aaf0a07d6088 · 1da177e4c3f4 to < 8387c94d73ec · 1da177e4c3f4 to < 09d9d8b40a33 · 1da177e4c3f4 to < 712e01f32e57 · 1da177e4c3f4 to < eebff19acaa3 · Other versions: affected | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix slab out of bounds write in smb_inherit_dacl() slab out-of-bounds write is caused by that offsets is bigger than pntsd allocation size. This patch add the check to validate 3 offsets using allocation size.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: 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. AC: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. PR: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. UI: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. S: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. C: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. I: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. A: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.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.4 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0626e6641f6b467447c81dd7678a69c66f7746cf to < aaf0a07d60887d6c36fc46a24de0083744f07819 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 8387c94d73ec66eb597c7a23a8d9eadf64bfbafa (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 09d9d8b40a3338193619c14ed4dc040f4f119e70 (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < 712e01f32e577e7e48ab0adb5fe550646a3d93cb (affected · git)0626e6641f6b467447c81dd7678a69c66f7746cf to < eebff19acaa35820cb09ce2ccb3d21bee2156ffb (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.140 through 5.15.* (unaffected · semver)6.1.64 through 6.1.* (unaffected · semver)6.5.13 through 6.5.* (unaffected · semver)6.6.3 through 6.6.* (unaffected · semver)6.7 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| linux | linux_kernel | 1da177e4c3f4 to < aaf0a07d6088 (affected · git)1da177e4c3f4 to < 8387c94d73ec (affected · git)1da177e4c3f4 to < 09d9d8b40a33 (affected · git)1da177e4c3f4 to < 712e01f32e57 (affected · git)1da177e4c3f4 to < eebff19acaa3 (affected · git)Default: affected | CISA-ADP · adp |
Weaknesses
1- CWE-787 CWE-787 Out-of-bounds Write
References
5- https://git.kernel.org/stable/c/09d9d8b40a3338193619c14ed4dc040f4f119e70
- https://git.kernel.org/stable/c/712e01f32e577e7e48ab0adb5fe550646a3d93cb
- https://git.kernel.org/stable/c/8387c94d73ec66eb597c7a23a8d9eadf64bfbafa
- https://git.kernel.org/stable/c/aaf0a07d60887d6c36fc46a24de0083744f07819
- https://git.kernel.org/stable/c/eebff19acaa35820cb09ce2ccb3d21bee2156ffb
Provider assertions
3Linux · cna
ksmbd: fix slab out of bounds write in smb_inherit_dacl()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 26b6d182ff054a1ed2f7b0b94a630801ae3b5e5025271b01a2f8f1c0d51a92be
- Ingested
- 23 Sep 2026, 08:14:33 UTC
- Source record
- Official CVE record