# CVE-2024-42154: tcp\_metrics: validate source addr length

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.4
- **CVSS:** 4.4 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-26)
- **CWE:** CWE-754
- **Published:** 2024-07-30T07:46:51.456Z
- **Modified:** 2026-10-15T01:18:44.380Z

## Who should check

- Anyone running Linux \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 19d997b59fa1fd7a02e770ee0881c0652b9c32c9; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 2a2e79dbe2236a1289412d2044994f7ab419b44c; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< cdffc358717e436bb67122bb82c1a2a26e050f98; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< ef7c428b425beeb52b894e16f1c4b629d6cebfb6; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 31f03bb04146c1c6df6c03e9f45401f5f5a985d3; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 8c2debdd170e395934ac0e039748576dfde14e99; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 3d550dd5418729a6e77fe7721d27adea7152e321; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 66be40e622e177316ae81717aa30057ba9e61dff
- Anyone running Linux 3.14

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

## Affected and fixed versions

- Linux: \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 19d997b59fa1fd7a02e770ee0881c0652b9c32c9; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 2a2e79dbe2236a1289412d2044994f7ab419b44c; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< cdffc358717e436bb67122bb82c1a2a26e050f98; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< ef7c428b425beeb52b894e16f1c4b629d6cebfb6; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 31f03bb04146c1c6df6c03e9f45401f5f5a985d3; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 8c2debdd170e395934ac0e039748576dfde14e99; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 3d550dd5418729a6e77fe7721d27adea7152e321; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 66be40e622e177316ae81717aa30057ba9e61dff (cvelist)
- Linux: 3.14 (cvelist)

## Mitigation

- Upgrade Linux to 66be40e622e177316ae81717aa30057ba9e61dff or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-42154. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42154.md
Affected: Linux >= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, < 19d997b59fa1fd7a02e770ee0881c0652b9c32c9; >= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, < 2a2e79dbe2236a1289412d2044994f7ab419b44c; >= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, < cdffc358717e436bb67122bb82c1a2a26e050f98; >= 3e7013ddf55af7bc191792b…
Fixed in: Linux 19d997b59fa1fd7a02e770ee0881c0652b9c32c9, Linux 2a2e79dbe2236a1289412d2044994f7ab419b44c, Linux 31f03bb04146c1c6df6c03e9f45401f5f5a985d3, Linux 8c2debdd170e395934ac0e039748576dfde14e99, Linux 3d550dd5418729a6e77fe7721d27adea7152e321, Linux 66be40e622e177316ae81717aa30057ba9e61dff

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-42154 being exploited?

There is no confirmed exploitation: CVE-2024-42154 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-42154?

Medium: CVSS 4.4 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-42154?

Linux \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 19d997b59fa1fd7a02e770ee0881c0652b9c32c9; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 2a2e79dbe2236a1289412d2044994f7ab419b44c; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< cdffc358717e436bb67122bb82c1a2a26e050f98; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< ef7c428b425beeb52b894e16f1c4b629d6cebfb6; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 31f03bb04146c1c6df6c03e9f45401f5f5a985d3; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 8c2debdd170e395934ac0e039748576dfde14e99; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 3d550dd5418729a6e77fe7721d27adea7152e321; \>= 3e7013ddf55af7bc191792b8aea0c2b94fb0fef5, \< 66be40e622e177316ae81717aa30057ba9e61dff; Linux 3.14.

### Is there a fix for CVE-2024-42154?

Yes. Fixed in Linux 19d997b59fa1fd7a02e770ee0881c0652b9c32c9, Linux 2a2e79dbe2236a1289412d2044994f7ab419b44c, Linux 31f03bb04146c1c6df6c03e9f45401f5f5a985d3, Linux 8c2debdd170e395934ac0e039748576dfde14e99, Linux 3d550dd5418729a6e77fe7721d27adea7152e321, Linux 66be40e622e177316ae81717aa30057ba9e61dff. Upgrade Linux to 66be40e622e177316ae81717aa30057ba9e61dff or later.

### How do I check if I'm affected by CVE-2024-42154?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-42154>

HTML: <https://flawdb.com/CVE-2024-42154> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-42154>
