NetSight
medium5.5

CVE-2024-42070

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers register sto…

Impact

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers register store validation for NFT_DATA_VALUE is conditional, however, the datatype is always either NFT_DATA_VALUE or NFT_DATA_VERDICT. This only requires a new helper function to infer the register type from the set datatype so this conditional check can be removed. Otherwise, pointer to chain object can be leaked through the registers.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
before 3.13
from 3.14 before 4.19.317
from 4.20 before 5.4.279
from 5.5 before 5.10.221
from 5.11 before 5.15.162
from 5.16 before 6.1.97

Weakness classification

References