CVE-2024-42154
tcp_metrics: validate source addr length
Check your servers for CVE-2024-42154
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-42154 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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).
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, before 19d997b59fa1fd7a02e770ee0881c0652b9c32c9 affected from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, before 2a2e79dbe2236a1289412d2044994f7ab419b44c affected from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, before cdffc358717e436bb67122bb82c1a2a26e050f98 affected from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, before ef7c428b425beeb52b894e16f1c4b629d6cebfb6 affected from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, before 31f03bb04146c1c6df6c03e9f45401f5f5a985d3 affected from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, before 8c2debdd170e395934ac0e039748576dfde14e99 affected from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, before 3d550dd5418729a6e77fe7721d27adea7152e321 affected from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, before 66be40e622e177316ae81717aa30057ba9e61dff
Other versions: unaffected
|
| Linux |
affected 3.14 unaffected before 3.14 unaffected from 4.19.318 up to and including 4.19.* unaffected from 5.4.280 up to and including 5.4.* unaffected from 5.10.222 up to and including 5.10.* unaffected from 5.15.163 up to and including 5.15.* unaffected from 6.1.98 up to and including 6.1.* unaffected from 6.6.39 up to and including 6.6.* unaffected from 6.9.9 up to and including 6.9.* unaffected 6.10 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-42154 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-42154
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-42154
trivy image --scanners vuln IMAGE | grep CVE-2024-42154
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/19d997b59fa1fd7a02e770ee0881c0652b9c32c9 git.kernel.org
- https://git.kernel.org/stable/c/2a2e79dbe2236a1289412d2044994f7ab419b44c git.kernel.org
- https://git.kernel.org/stable/c/cdffc358717e436bb67122bb82c1a2a26e050f98 git.kernel.org
- https://git.kernel.org/stable/c/ef7c428b425beeb52b894e16f1c4b629d6cebfb6 git.kernel.org
- https://git.kernel.org/stable/c/31f03bb04146c1c6df6c03e9f45401f5f5a985d3 git.kernel.org
- https://git.kernel.org/stable/c/8c2debdd170e395934ac0e039748576dfde14e99 git.kernel.org
- https://git.kernel.org/stable/c/3d550dd5418729a6e77fe7721d27adea7152e321 git.kernel.org
- https://git.kernel.org/stable/c/66be40e622e177316ae81717aa30057ba9e61dff git.kernel.org
- https://security.netapp.com/advisory/ntap-20240828-0010/ security.netapp.com
- http://www.openwall.com/lists/oss-security/2024/09/24/3 openwall.com
- http://www.openwall.com/lists/oss-security/2024/09/24/4 openwall.com
- http://www.openwall.com/lists/oss-security/2024/09/25/3 openwall.com
5 more
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-503939.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-355557.html cert-portal.siemens.com
Source: the record CVE-2024-42154 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse