CVE-2024-42154
tcp_metrics: validate source addr length
Reported by linux · Published July 30, 2024
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bpftool | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-headers | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.102-108.177.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.102-108.177.amzn2023 |
| python3-perf | Amazon Linux | 6.1.102-108.177.amzn2023 |
| Linux | Linux | 66be40e622e177316ae81717aa30057ba9e61dff, 3d550dd5418729a6e77fe7721d27adea7152e321 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 |
| Linux | Linux | 3.14, 0, 4.19.318 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-devel | 0 |
| Siemens | SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| Linux | Linux | 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, 5.10.222, 6.10 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | kernel-livepatch-6.1.102-108.177 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | perf | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| Siemens | RUGGEDCOM RST2428P | 0 |
…and 5 more
Timeline
- Jul 29, 2024 CVE Published
- Jul 30, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 6, 2026 Security Advisory (359 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (239 in total, the first dated here)
- Nov 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-42154
vulnetix vdb fixes CVE-2024-42154
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-42154/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://security.netapp.com/advisory/ntap-20240828-0010/ url
- http://www.openwall.com/lists/oss-security/2024/09/24/3 url
- http://www.openwall.com/lists/oss-security/2024/09/24/4 url
- http://www.openwall.com/lists/oss-security/2024/09/25/3 url
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html url
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url
- https://cert-portal.siemens.com/productcert/html/ssa-503939.html url
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html url
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html url