CVE-2023-53033 netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits

High 7.8 Published Updated

Incorrect arithmetic in Linux kernel netfilter VLAN handling can cause memory corruption, leading to denial of service or information disclosure.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-53033?

CVE-2023-53033 is a high-severity vulnerability in Linux kernel, published on 27 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2023-53033?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53033?

Apply the vendor's patch.

Is CVE-2023-53033 being exploited?

There is no known exploitation of CVE-2023-53033 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53033, DEBIAN-CVE-2023-53033, GHSA-rfj2-m755-7qfc, UBUNTU-CVE-2023-53033.

Is CVE-2023-53033 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free