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

- Severity: Medium 4.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-07-30T07:46:51.456Z
- Modified: 2026-10-15T01:18:44.380Z
- Weaknesses: CWE-754
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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).

(As written by CVE List.)

## Affected

- Linux Linux: from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 before 19d997b59fa1fd7a02e770ee0881c0652b9c32c9; from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 before 2a2e79dbe2236a1289412d2044994f7ab419b44c; from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 before cdffc358717e436bb67122bb82c1a2a26e050f98; from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 before ef7c428b425beeb52b894e16f1c4b629d6cebfb6; from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 before 31f03bb04146c1c6df6c03e9f45401f5f5a985d3; from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 before 8c2debdd170e395934ac0e039748576dfde14e99; from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 before 3d550dd5418729a6e77fe7721d27adea7152e321; from 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5 before 66be40e622e177316ae81717aa30057ba9e61dff; 3.14 (not affected: before 3.14; from 4.19.318 up to 4.19.*; from 5.4.280 up to 5.4.*; from 5.10.222 up to 5.10.*; from 5.15.163 up to 5.15.*; from 6.1.98 up to 6.1.*; from 6.6.39 up to 6.6.*; from 6.9.9 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 3.14 before 4.19.318; from 4.20 before 5.4.280; from 5.5 before 5.10.222; from 5.11 before 5.15.163; from 5.16 before 6.1.98; from 6.2 before 6.6.39; from 6.7 before 6.9.9; 6.10

## References

- <https://git.kernel.org/stable/c/19d997b59fa1fd7a02e770ee0881c0652b9c32c9> (mailing-list, patch)
- <https://git.kernel.org/stable/c/2a2e79dbe2236a1289412d2044994f7ab419b44c> (mailing-list, patch)
- <https://git.kernel.org/stable/c/cdffc358717e436bb67122bb82c1a2a26e050f98> (mailing-list, patch)
- <https://git.kernel.org/stable/c/ef7c428b425beeb52b894e16f1c4b629d6cebfb6> (mailing-list, patch)
- <https://git.kernel.org/stable/c/31f03bb04146c1c6df6c03e9f45401f5f5a985d3> (mailing-list, patch)
- <https://git.kernel.org/stable/c/8c2debdd170e395934ac0e039748576dfde14e99> (mailing-list, patch)
- <https://git.kernel.org/stable/c/3d550dd5418729a6e77fe7721d27adea7152e321> (mailing-list, patch)
- <https://git.kernel.org/stable/c/66be40e622e177316ae81717aa30057ba9e61dff> (mailing-list, patch)
- <https://security.netapp.com/advisory/ntap-20240828-0010/>
- <http://www.openwall.com/lists/oss-security/2024/09/24/3>
- <http://www.openwall.com/lists/oss-security/2024/09/24/4>
- <http://www.openwall.com/lists/oss-security/2024/09/25/3>
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-503939.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-355557.html>

## Sources

- CVE List: [CVE-2024-42154](https://www.cve.org/CVERecord?id=CVE-2024-42154), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-42154](https://nvd.nist.gov/vuln/detail/CVE-2024-42154), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-42154 · Whole record: https://cve.day/CVE-2024-42154.json · Rebuilt by cve.day 2026-11-25T22:58:43.421Z
