CVE-2023-53333: netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one
In the Linux kernel, the following vulnerability has been resolved:
netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one
Eric Dumazet says:
nf_conntrack_dccp_packet() has an unique:
dh = skb_header_pointer(skb, dataoff, sizeof(_dh), &_dh);
And nothing more is 'pulled' from the packet, depending on the content.
dh->dccph_doff, and/or dh->dccph_x ...)
So dccp_ack_seq() is happily reading stuff past the _dh buffer.
BUG: KASAN: stack-out-of-bounds in nf_conntrack_dccp_packet+0x1134/0x11c0
Read of size 4 at addr ffff000128f66e0c by task syz-executor.2/29371
[..]
Fix this by increasing the stack buffer to also include room for
the extra sequence numbers and all the known dccp packet type headers,
then pull again after the initial validation of the basic header.
While at it, mark packets invalid that lack 48bit sequence bit but
where RFC says the type MUST use them.
Compile tested only.
v2: first skb_header_pointer() now needs to adjust the size to
only pull the generic header. (Eric)
Heads-up: I intend to remove dccp conntrack support later this year.
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel memory-read flaw in netfilter connection tracking for DCCP traffic. A low-privileged local user could trigger an out-of-bounds stack read, potentially exposing sensitive kernel memory or causing instability. The source bundle includes upstream stable fixes but no evidence of active exploitation.
Executive priority
Treat as high priority for shared Linux infrastructure and systems with untrusted local users. It is not currently shown as actively exploited, but the potential confidentiality and availability impact justifies prompt patch planning through normal kernel maintenance channels.
Technical view
nf_conntrack_dccp_packet() copied only the basic DCCP header into a stack buffer, then later logic could read beyond that buffer when processing DCCP sequence fields and packet-type headers. KASAN reported a stack-out-of-bounds read. The fix expands validation and copies enough header data before use.
Likely exposure
Exposure is most relevant to Linux systems running affected kernel versions with netfilter conntrack DCCP handling reachable. The CVSS vector is local with low privileges, so prioritize multi-user hosts, container platforms, and systems where untrusted users can interact with networking behavior.
Exploitation context
The bundle marks KEV as false and provides no cited evidence of exploitation in the wild. The vulnerability was identified with KASAN/syzkaller-style testing evidence, and the public text describes the bug and fix but not weaponized exploitation.
Researcher notes
Evidence is limited to the CVE record and Linux stable commit references. The affected-version data is broad and branch-oriented, so exact exposure should be resolved through distribution advisories and backport status rather than raw upstream version comparison alone.
Mitigation direction
Apply vendor kernel updates containing the referenced stable fixes.
Prioritize affected Linux kernels listed in the CVE source bundle.
Follow distribution guidance before changing DCCP or conntrack behavior.
Track vendor advisories for backported fixed kernel builds.
Validation and detection
Inventory running Linux kernel versions across servers and container hosts.
Check vendor advisories for CVE-2023-53333 fixed package versions.
Confirm whether netfilter conntrack DCCP support is present or reachable.
Verify patched systems include the relevant upstream stable fix or vendor backport.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-125: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-125 · source CWE mapping
Out-of-bounds Read
Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.