Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2023-53033

netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • f6ae9f120dada00abfb47313364c35118469455f to < 550efeff989b041f3746118c0ddd863c39ddc1aaaffected
  • f6ae9f120dada00abfb47313364c35118469455f to < a8acfe2c6fb99f9375a9325807a179cd8c32e6e3affected
  • f6ae9f120dada00abfb47313364c35118469455f to < 76ef74d4a379faa451003621a84e3498044e7aa3affected
  • f6ae9f120dada00abfb47313364c35118469455f to < 696e1a48b1a1b01edad542a1ef293665864a4dd0affected

Linux Linux

Default version status: affected

  • 5.5affected
  • 0 to < 5.5unaffected
  • 5.10.164 to ≤ 5.10.*unaffected
  • 5.15.89 to ≤ 5.15.*unaffected
  • 6.1.7 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References