netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df · < 0ab3be58b45b996764aba0187b46de19b3e58a72| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s netfilter nft_payload code can pass an offset and length beyond the skbuff length to skb_checksum(), triggering a BUG_ON(). The input does not specify how an attacker could reach this condition or whether authentication or user interaction is required.
Engineers running the Linux kernel should check their systems; affected versions are not specified.