What’s Vulnerable › Vulnerabilities

CVE-2024-42154: tcp_metrics: validate source addr length

Description

In the Linux kernel, the following vulnerability has been resolved: tcp_metrics: validate source addr length I don't see anything checking that TCP_METRICS_ATTR_SADDR_IPV4 is at least 4 bytes long, and the policy doesn't have an entry for this attribute at all (neither does it for IPv6 but v6 is manually validated).

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.318, 5.10.222, 5.15.163, 5.4.280. Check the vendor advisory for mitigations.

References

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