In the Linux kernel, the following vulnerability has been resolved: netfilter: reject zero shift in nft_bitwise Reject zero shift operands for nft_bitwise left and right shift expressions during initialization. The carry propagation logic computes the carry from the adjacent 32-bit word using BITS_PER_TYPE(u32) - shift. A zero shift operand turns this into a 32-bit shift, which is undefined behaviour. Reject zero shift operands in the control plane, alongside the existing check for values greater than or equal to 32, so malformed rules never reach the packet path.
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | 3.16.7S |
| Linux | Linux | 3.16.6bS |
| Linux | Linux | 2008 for x64-based Systems Service Pack 2 (Core installation) |
| Linux | Linux | 2008 R2 for Itanium-Based Systems Service Pack 1 |