CVE-2023-52628

netfilter: nftables: exthdr: fix 4-byte stack OOB write

HIGH
7.1
CVSS Score
Published: March 28, 2024 at 07:33 AM UTC
Updated: August 5, 2026 at 10:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.7%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nftables: exthdr: fix 4-byte stack OOB write If priv->len is a multiple of 4, then dst[len / 4] can write past the destination array which leads to stack corruption. This construct is necessary to clean the remainder of the register in case ->len is NOT a multiple of the register size, so make it conditional just like nft_payload.c does. The bug was added in 4.1 cycle and then copied/inherited when tcp/sctp and ip option support was added. Bug reported by Zero Day Initiative project (ZDI-CAN-21950, ZDI-CAN-21951, ZDI-CAN-21961).

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.1 ≤ v < 4.19.3164.1 ≤ v < 5.10.1984.1 ≤ v < 5.15.1324.1 ≤ v < 5.4.2794.1 ≤ v < 6.1.544.1 ≤ v < 6.5.44.1 ≤ v < 6.65.11 ≤ v < 5.15.1325.16 ≤ v < 6.1.546.2 ≤ v < 6.5.44.149499c3e6e18b7677a63316f3ff54a16533dc28f
Vendor states this is fixed in 1ad7b189cc1411048434e8595ffcbe7873b71082 (fixed)
Vendor states this is fixed in 28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a (fixed)
Vendor states this is fixed in a7d86a77c33ba1c357a7504341172cc1507f0698 (fixed)
Vendor states this is fixed in c8f292322ff16b9a2272a67de396c09a50e09dce (fixed)
Vendor states this is fixed in cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb (fixed)
Vendor states this is fixed in d9ebfc0f21377690837ebbd119e679243e0099cc (fixed)
Vendor states this is fixed in fd94d9dadee58e09b49075240fe83423eb1dcd36 (fixed)
Vendor states this is fixed in 4.1 (unaffected)
Vendor states this is fixed in 4.19.316 (unaffected)
Vendor states this is fixed in 5.10.198 (unaffected)
Vendor states this is fixed in 5.15.132 (unaffected)
Vendor states this is fixed in 5.4.279 (unaffected)
Vendor states this is fixed in 6.1.54 (unaffected)
Vendor states this is fixed in 6.5.4 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1ad7b189cc1411048434e8595ffcbe7873b71082
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/28a97c43c9e32f437ebb8d6126f9bb7f3ca9521a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a7d86a77c33ba1c357a7504341172cc1507f0698
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c8f292322ff16b9a2272a67de396c09a50e09dce
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cf39c4f77a773a547ac2bcf30ecdd303bb0c80cb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d9ebfc0f21377690837ebbd119e679243e0099cc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fd94d9dadee58e09b49075240fe83423eb1dcd36
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card