Sanitizing Offset and Length Before Calling skb_checksum()

CVE-2024-50251
6.2MEDIUM

Key Information

Vendor
Linux
Status
Linux
Vendor
CVE Published:
9 November 2024

Summary

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 Version(s)

Linux < 7ec3f7b47b8d

Linux < 7ec3f7b47b8d

Linux < 7ec3f7b47b8d

CVSS V3.1

Score:
6.2
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published.

  • Vulnerability Reserved.

Collectors

NVD DatabaseMitre Database
.