Skip to content
Heist/ feed
Back to feed
HighFix available

netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.164, 5.15.89, 6.1.7
CVEs
CVE-2023-53033
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:35 UTC · Revision 1

Source evidence

netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits

core-osv · Original source

Published 27 Mar 2025, 16:44 UTC

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.

osv:CVE-2023-53033

Kernel

Fixed versions: 5.10.164, 5.15.89, 6.1.7

Complete source record
{
  "id": "6dee0cfdb3bd8303f467e175a94fe91e64b1ad87ee92f23e69e519f9e6b66d97",
  "url": "https://osv.dev/vulnerability/CVE-2023-53033",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits",
    "summary": "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.",
    "evidence": "osv:CVE-2023-53033",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.164",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.89",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-53033",
      "aliases": [
        "CVE-2023-53033"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f6ae9f120dada00abfb47313364c35118469455f"
                },
                {
                  "fixed": "550efeff989b041f3746118c0ddd863c39ddc1aa"
                },
                {
                  "fixed": "a8acfe2c6fb99f9375a9325807a179cd8c32e6e3"
                },
                {
                  "fixed": "76ef74d4a379faa451003621a84e3498044e7aa3"
                },
                {
                  "fixed": "696e1a48b1a1b01edad542a1ef293665864a4dd0"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53033.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.164"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.89"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53033.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.913341343Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/550efeff989b041f3746118c0ddd863c39ddc1aa",
        "https://git.kernel.org/stable/c/696e1a48b1a1b01edad542a1ef293665864a4dd0",
        "https://git.kernel.org/stable/c/76ef74d4a379faa451003621a84e3498044e7aa3",
        "https://git.kernel.org/stable/c/a8acfe2c6fb99f9375a9325807a179cd8c32e6e3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53033.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53033",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53033.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53033",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497874,
  "published_at": "2025-03-27T16:44:01.044+00:00"
}