CVE-2024-42154

published 30 Jul 2024 · updated 15 Oct 2026

tcp_metrics: validate source addr length

4.4MediumCVSS 4.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 19d997b59fa1fd7a02e770ee0881c0652b9c32c9, Kernel 2a2e79dbe2236a1289412d2044994f7ab419b44c, Kernel 31f03bb04146c1c6df6c03e9f45401f5f5a985d3 and 5 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.14, >=3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 <19d997b59fa1fd7a02e770ee0881c0652b9c32c9, >=3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 <2a2e79dbe2236a1289412d2044994f7ab419b44c, >=3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 <31f03bb04146c1c6df6c03e9f45401f5f5a985d3, >=3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 <3d550dd5418729a6e77fe7721d27adea7152e321, >=3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 <66be40e622e177316ae81717aa30057ba9e61dff, >=3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 <8c2debdd170e395934ac0e039748576dfde14e99, >=3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 <cdffc358717e436bb67122bb82c1a2a26e050f98, >=3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 <ef7c428b425beeb52b894e16f1c4b629d6cebfb619d997b59fa1fd7a02e770ee0881c0652b9c32c9, 2a2e79dbe2236a1289412d2044994f7ab419b44c, 31f03bb04146c1c6df6c03e9f45401f5f5a985d3, 3d550dd5418729a6e77fe7721d27adea7152e321, 66be40e622e177316ae81717aa30057ba9e61dff, 8c2debdd170e395934ac0e039748576dfde14e99, cdffc358717e436bb67122bb82c1a2a26e050f98, ef7c428b425beeb52b894e16f1c4b629d6cebfb6

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-42154 severity on Zeptric[![CVE-2024-42154](https://zeptric.io/badge/cve/CVE-2024-42154.svg)](https://zeptric.io/cve/CVE-2024-42154)