CVE-2023-53333CWE-125

CVE-2023-53333

High · published September 16, 2025

CVSS v3.1
8.2
EPSS
0%
Percentile
19.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00284 · 19.9th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2025-09-16T21:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.26, < 5.4.2515.4.251
linux/linux_kernel≥ 5.5, < 5.10.1885.10.188
linux/linux_kernel≥ 5.11, < 5.15.1215.15.121
linux/linux_kernel≥ 5.16, < 6.1.396.1.39
linux/linux_kernel≥ 6.2, < 6.3.136.3.13
linux/linux_kernel≥ 6.4, < 6.4.46.4.4
References (7)
EPSS history
Timeline
  • 16 SEP 16:12Z
    netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one
    cvelistv5