VDB

CVE-2024-42154

CVE-2024-42154 PUBLISHED

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.

PackageEcosystemFixed in
bpftoolAmazon Linux6.1.102-108.177.amzn2023
kernel-develAmazon Linux6.1.102-108.177.amzn2023
kernel-headersAmazon Linux6.1.102-108.177.amzn2023
kernel-modules-extraAmazon Linux6.1.102-108.177.amzn2023
kernel-libbpfAmazon Linux6.1.102-108.177.amzn2023
kernel-libbpf-develAmazon Linux6.1.102-108.177.amzn2023
python3-perfAmazon Linux6.1.102-108.177.amzn2023
LinuxLinux66be40e622e177316ae81717aa30057ba9e61dff, 3d550dd5418729a6e77fe7721d27adea7152e321

Affected products

VendorProductVersions
LinuxLinux3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5
LinuxLinux3.14, 0, 4.19.318
amazon:2023bpftool0
amazon:2023kernel-devel0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
amazon:2023kernel-headers0
amazon:2023kernel-modules-extra0
amazon:2023kernel-libbpf0
amazon:2023kernel-libbpf-devel0
amazon:2023python3-perf0
LinuxLinux3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, 5.10.222, 6.10
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023kernel-livepatch-6.1.102-108.1770
amazon:2023kernel0
amazon:2023perf0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023kernel-tools0
amazon:2023kernel-libbpf-static0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
SiemensRUGGEDCOM RST2428P0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›