CVE-2024-42154

tcp_metrics: validate source addr length

MEDIUM
4.4
CVSS Score
Published: July 30, 2024 at 07:46 AM UTC
Updated: October 15, 2026 at 01:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.4
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.14 ≤ v < 4.19.3184.20 ≤ v < 5.4.2805.11 ≤ v < 5.15.1635.16 ≤ v < 6.1.985.5 ≤ v < 5.10.2226.2 ≤ v < 6.6.396.7 ≤ v < 6.9.93e7013ddf55af7bc191792b8aea0c2b94fb0fef56.106.10 rc16.10 rc26.10 rc36.10 rc46.10 rc56.10 rc6
Vendor states this is fixed in 19d997b59fa1fd7a02e770ee0881c0652b9c32c9 (fixed)
Vendor states this is fixed in 2a2e79dbe2236a1289412d2044994f7ab419b44c (fixed)
Vendor states this is fixed in 31f03bb04146c1c6df6c03e9f45401f5f5a985d3 (fixed)
Vendor states this is fixed in 3d550dd5418729a6e77fe7721d27adea7152e321 (fixed)
Vendor states this is fixed in 66be40e622e177316ae81717aa30057ba9e61dff (fixed)
Vendor states this is fixed in 8c2debdd170e395934ac0e039748576dfde14e99 (fixed)
Vendor states this is fixed in cdffc358717e436bb67122bb82c1a2a26e050f98 (fixed)
Vendor states this is fixed in ef7c428b425beeb52b894e16f1c4b629d6cebfb6 (fixed)
Vendor states this is fixed in 3.14 (unaffected)
Vendor states this is fixed in 4.19.318 (unaffected)
Vendor states this is fixed in 5.10.222 (unaffected)
Vendor states this is fixed in 5.15.163 (unaffected)
Vendor states this is fixed in 5.4.280 (unaffected)
Vendor states this is fixed in 6.1.98 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.39 (unaffected)
Vendor states this is fixed in 6.9.9 (unaffected)

References (17)

Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/19d997b59fa1fd7a02e770ee0881c0652b9c32c9
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2a2e79dbe2236a1289412d2044994f7ab419b44c
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/31f03bb04146c1c6df6c03e9f45401f5f5a985d3
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3d550dd5418729a6e77fe7721d27adea7152e321
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/66be40e622e177316ae81717aa30057ba9e61dff
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8c2debdd170e395934ac0e039748576dfde14e99
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cdffc358717e436bb67122bb82c1a2a26e050f98
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ef7c428b425beeb52b894e16f1c4b629d6cebfb6

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-754

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card