Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to < 9baa08d6b6b096fad70049533f0d705d85fdc979affected567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to < 4fccea585631621c975883911a08d15b6671f7dcaffected567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to < 9ad26c272405f53834871cc2e46b9b5393a666c3affected567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to < bffef0acec9c3b837a785248a893137fb7f26c95affected567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to < ca24f1243ad1a4d12d6a23876bbbe3ed02099853affected567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to < 6f820139d16a4c9865a145d4a9cf9c92cc632c14affected567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to < f370205974f171a5868c13ff30d7642fed46e47baffected567d746b55bc66d3800c9ae91d50f0c5deb2fd93 to < fe11e5c40817b84abaa5d83bfb6586d8412bfd07affected
Linux Linux
Default version status: affected
5.6affected0 to < 5.6unaffected5.10.258 to ≤ 5.10.*unaffected5.15.209 to ≤ 5.15.*unaffected6.1.175 to ≤ 6.1.*unaffected6.6.140 to ≤ 6.6.*unaffected6.12.86 to ≤ 6.12.*unaffected6.18.27 to ≤ 6.18.*unaffected7.0.4 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/9baa08d6b6b096fad70049533f0d705d85fdc979 ↗
- https://git.kernel.org/stable/c/4fccea585631621c975883911a08d15b6671f7dc ↗
- https://git.kernel.org/stable/c/9ad26c272405f53834871cc2e46b9b5393a666c3 ↗
- https://git.kernel.org/stable/c/bffef0acec9c3b837a785248a893137fb7f26c95 ↗
- https://git.kernel.org/stable/c/ca24f1243ad1a4d12d6a23876bbbe3ed02099853 ↗
- https://git.kernel.org/stable/c/6f820139d16a4c9865a145d4a9cf9c92cc632c14 ↗
- https://git.kernel.org/stable/c/f370205974f171a5868c13ff30d7642fed46e47b ↗
- https://git.kernel.org/stable/c/fe11e5c40817b84abaa5d83bfb6586d8412bfd07 ↗
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html ↗
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html ↗