Medium · published November 9, 2024
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
If access to offset + length is larger than the skbuff length, then
skb_checksum() triggers BUG_ON().
skb_checksum() internally subtracts the length parameter while iterating
over skbuff, BUG_ON(len) at the end of it checks that the expected
length to be included in the checksum calculation is fully consumed.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 4.5, < 4.19.323 | 4.19.323 |
| linux/linux_kernel | ≥ 4.20, < 5.4.285 | 5.4.285 |
| linux/linux_kernel | ≥ 5.5, < 5.10.229 | 5.10.229 |
| linux/linux_kernel | ≥ 5.11, < 5.15.171 | 5.15.171 |
| linux/linux_kernel | ≥ 5.16, < 6.1.116 | 6.1.116 |
| linux/linux_kernel | ≥ 6.2, < 6.6.60 | 6.6.60 |
| linux/linux_kernel | ≥ 6.7, < 6.11.7 | 6.11.7 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |