CVE-2023-52479
published high CVSS 3.1 · 8.8ksmbd: fix uaf in smb20_oplock_break_ack
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 694e13732e830cbbfedb562e57f28644927c33fd · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 8226ffc759ea59f10067b9acdf7f94bae1c69930 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < d5b0e9d3563e7e314a850e81f42b2ef6f39882f9 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < c69813471a1ec081a0b9bf0c6bd7e8afd818afce · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.135 through 5.15.* (unaffected · semver) · 6.1.57 through 6.1.* (unaffected · semver) · 6.5.7 through 6.5.* (unaffected · semver) · 6.6 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| 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 uaf in smb20_oplock_break_ack drop reference after use opinfo.
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
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: 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. AC: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. PR: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. UI: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. S: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. C: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. I: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. A: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.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.1 | high | CISA-ADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 694e13732e830cbbfedb562e57f28644927c33fd (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 8226ffc759ea59f10067b9acdf7f94bae1c69930 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < d5b0e9d3563e7e314a850e81f42b2ef6f39882f9 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < c69813471a1ec081a0b9bf0c6bd7e8afd818afce (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.135 through 5.15.* (unaffected · semver)6.1.57 through 6.1.* (unaffected · semver)6.5.7 through 6.5.* (unaffected · semver)6.6 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
4Provider assertions
3Linux · cna
ksmbd: fix uaf in smb20_oplock_break_ack
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 85180b4f63a2ca50c912b594b967bb4f1b7478bde5bb5f1b5be00e71b4c659a8
- Ingested
- 23 Sep 2026, 08:14:33 UTC
- Source record
- Official CVE record