CVE-2023-53033

netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits

MEDIUM
5.5
CVSS Score
Published: March 27, 2025 at 04:44 PM 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
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits If the offset + length goes over the ethernet + vlan header, then the length is adjusted to copy the bytes that are within the boundaries of the vlan_ethhdr scratchpad area. The remaining bytes beyond ethernet + vlan header are copied directly from the skbuff data area. Fix incorrect arithmetic operator: subtract, not add, the size of the vlan header in case of double-tagged packets to adjust the length accordingly to address CVE-2023-0179.

Affected

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

5.11 ≤ v < 5.15.895.16 ≤ v < 6.1.75.5 ≤ v < 5.10.1645.5 ≤ v < 5.15.895.5 ≤ v < 6.1.75.5 ≤ v < 6.26.2 rc16.2 rc26.2 rc36.2 rc4f6ae9f120dada00abfb47313364c35118469455f
Vendor states this is fixed in 550efeff989b041f3746118c0ddd863c39ddc1aa (fixed)
Vendor states this is fixed in 696e1a48b1a1b01edad542a1ef293665864a4dd0 (fixed)
Vendor states this is fixed in 76ef74d4a379faa451003621a84e3498044e7aa3 (fixed)
Vendor states this is fixed in a8acfe2c6fb99f9375a9325807a179cd8c32e6e3 (fixed)
Vendor states this is fixed in 5.10.164 (unaffected)
Vendor states this is fixed in 5.15.89 (unaffected)
Vendor states this is fixed in 5.5 (unaffected)
Vendor states this is fixed in 6.1.7 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/550efeff989b041f3746118c0ddd863c39ddc1aa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/696e1a48b1a1b01edad542a1ef293665864a4dd0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/76ef74d4a379faa451003621a84e3498044e7aa3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a8acfe2c6fb99f9375a9325807a179cd8c32e6e3

CVSS

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

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

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