{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2023-53033",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-03-27T16:40:15.758Z",
        "datePublished": "2025-03-27T16:44:01.044Z",
        "dateUpdated": "2026-08-05T09:12:27.289Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T09:12:27.289Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits\n\nIf the offset + length goes over the ethernet + vlan header, then the\nlength is adjusted to copy the bytes that are within the boundaries of\nthe vlan_ethhdr scratchpad area. The remaining bytes beyond ethernet +\nvlan header are copied directly from the skbuff data area.\n\nFix incorrect arithmetic operator: subtract, not add, the size of the\nvlan header in case of double-tagged packets to adjust the length\naccordingly to address CVE-2023-0179."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The bug is reached by installing crafted nftables nft_payload rules via netlink and then processing packets in that chain; netfilter/nftables rule install is a local attack surface, not remote pre-auth packet parsing alone.\nAC:L - An attacker fully controls the prerequisites by creating VLAN interfaces and nftables rules in their own netns and sending packets that hit the path; public PoCs trigger the overflow reliably with no races or luck.\nPR:L - CAP_NET_ADMIN is required for nfnetlink/nftables, but it is obtainable by an unprivileged user via user+network namespaces (unshare -Urn), which scores as Low per kernel CNA guidance.\nUI:N - The attacker installs rules and triggers packet evaluation themselves; no victim action is required.\nS:U - Impact is local kernel memory corruption and privilege escalation within the host kernel authority, not a cross-boundary escape such as guest-to-host or IOMMU bypass.\nC:H - The stack OOB write overwrites adjacent nft_regs and enables reliable leakage of stack/heap kernel addresses (KASLR defeat), giving a high-impact confidentiality compromise.\nI:H - Controlled stack overflow of regs/jumpstack enables expression/control-flow hijacking and demonstrated arbitrary kernel write (e.g. modprobe_path) for local root.\nA:H - Corrupt jumpstack/rule pointers readily cause kernel GPFs and panics, so availability impact is complete host crash."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/netfilter/nft_payload.c"
                    ],
                    "versions": [
                        {
                            "version": "f6ae9f120dada00abfb47313364c35118469455f",
                            "lessThan": "550efeff989b041f3746118c0ddd863c39ddc1aa",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f6ae9f120dada00abfb47313364c35118469455f",
                            "lessThan": "a8acfe2c6fb99f9375a9325807a179cd8c32e6e3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f6ae9f120dada00abfb47313364c35118469455f",
                            "lessThan": "76ef74d4a379faa451003621a84e3498044e7aa3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f6ae9f120dada00abfb47313364c35118469455f",
                            "lessThan": "696e1a48b1a1b01edad542a1ef293665864a4dd0",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/netfilter/nft_payload.c"
                    ],
                    "versions": [
                        {
                            "version": "5.5",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.5",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.164",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.89",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.7",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "5.10.164"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "5.15.89"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "6.1.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.5",
                                    "versionEndExcluding": "6.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/550efeff989b041f3746118c0ddd863c39ddc1aa"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a8acfe2c6fb99f9375a9325807a179cd8c32e6e3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/76ef74d4a379faa451003621a84e3498044e7aa3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/696e1a48b1a1b01edad542a1ef293665864a4dd0"
                }
            ],
            "title": "netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}