Medium · published July 29, 2024
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.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | < 3.13 | 3.13 |
| linux/linux_kernel | ≥ 3.14, < 4.19.317 | 4.19.317 |
| linux/linux_kernel | ≥ 4.20, < 5.4.279 | 5.4.279 |
| linux/linux_kernel | ≥ 5.5, < 5.10.221 | 5.10.221 |
| linux/linux_kernel | ≥ 5.11, < 5.15.162 | 5.15.162 |
| linux/linux_kernel | ≥ 5.16, < 6.1.97 | 6.1.97 |
| linux/linux_kernel | ≥ 6.2, < 6.6.37 | 6.6.37 |
| linux/linux_kernel | ≥ 6.7, < 6.9.8 | 6.9.8 |