What’s Vulnerable › Vulnerabilities

CVE-2024-50251: netfilter: nft_payload: sanitize offset and length before calling skb_checksum()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.323, 5.10.229, 5.15.171, 5.4.285. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-50251 or the next vulnerability affects your stack