netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 96518518cc417bb0a8c80b9fb736202e28acdf96 · < 952bf8df222599baadbd4f838a49c4fef81d2564| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s nf_tables does not fully validate NFT_DATA_VALUE when storing data in registers. This can leak a pointer to a chain object through the registers; the input does not specify whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with nf_tables should check their deployments; affected versions are not specified.