Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df to < a661ed364ae6ae88c2fafa9ddc27df1af2a73701affected
  • 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df to < ac7df3fc80fc82bcc3b1e8f6ebc0d2c435d0c534affected
  • 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df to < e3e608cbad376674d19a71ccd0d41804d9393f02affected
  • 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df to < b1d2de8a669fa14c499a385e056944d5352b3b40affected
  • 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df to < d3217323525f7596427124359e76ea0d8fcc9874affected
  • 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df to < 0ab3be58b45b996764aba0187b46de19b3e58a72affected
  • 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df to < c43e0ea848e7b9bef7a682cbc5608022d6d29d7baffected
  • 7ec3f7b47b8d9ad7ba425726f2c58f9ddce040df to < d5953d680f7e96208c29ce4139a0e38de87a57feaffected

Linux Linux

Default version status: affected

  • 4.5affected
  • 0 to < 4.5unaffected
  • 4.19.323 to ≤ 4.19.*unaffected
  • 5.4.285 to ≤ 5.4.*unaffected
  • 5.10.229 to ≤ 5.10.*unaffected
  • 5.15.171 to ≤ 5.15.*unaffected
  • 6.1.116 to ≤ 6.1.*unaffected
  • 6.6.60 to ≤ 6.6.*unaffected
  • 6.11.7 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References