CVE-2023-53033
JSON

7.8high

netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom f6ae9f120dada00abfb47313364c35118469455f before 550efeff989b041f3746118c0ddd863c39ddc1aa, from f6ae9f120dada00abfb47313364c35118469455f before a8acfe2c6fb99f9375a9325807a179cd8c32e6e3, from f6ae9f120dada00abfb47313364c35118469455f before 76ef74d4a379faa451003621a84e3498044e7aa3, from f6ae9f120dada00abfb47313364c35118469455f before 696e1a48b1a1b01edad542a1ef293665864a4dd0, 5.5
Not affected: before 5.5, from 5.10.164 up to 5.10.*, from 5.15.89 up to 5.15.*, from 6.1.7 up to 6.1.*, from 6.2 up to *
CVE List
linux linux_kernelfrom 5.5 before 5.10.164, from 5.11 before 5.15.89, from 5.16 before 6.1.7, 6.2NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: nft_payload: aritmética incorrecta al obtener bits del encabezado VLAN. Si el desplazamiento + longitud sobrepasa el encabezado Ethernet + VLAN, esta se ajusta para copiar los bytes dentro de los límites del área de borrador vlan_ethhdr. Los bytes restantes más allá del encabezado Ethernet + VLAN se copian directamente del área de datos skbuff. Se corrige el operador aritmético incorrecto: restar, no sumar, el tamaño del encabezado VLAN en el caso de paquetes con doble etiqueta para ajustar la longitud según la solución CVE-2023-0179.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53033 changed 2026-08-05CVE Terms of Use
NVDCVE-2023-53033 changed 2026-08-04Public domain