UnratedFix available
tcp_metrics: validate source addr length
Type: advisorySources: OSV
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).
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.19.318, 5.10.222, 5.15.163, 5.4.280, 6.1.98, 6.6.39, 6.9.9
- CVEs
- CVE-2024-42154
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 20:05 UTC · Revision 1
Source evidence
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).
osv:CVE-2024-42154
Kernel
Fixed versions: 4.19.318, 5.4.280, 5.10.222, 5.15.163, 6.1.98, 6.6.39, 6.9.9
Complete source record
{
"id": "fe1059437f15b5c1cd039e08a7bfec6ca5a4d14d04c9936c21e9dc03f564190e",
"url": "https://osv.dev/vulnerability/CVE-2024-42154",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "tcp_metrics: validate source addr length",
"summary": "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).",
"evidence": "osv:CVE-2024-42154",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.19.318",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.280",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.222",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.163",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.98",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.39",
"evidence": "/affected/1/ranges"
},
{
"value": "6.9.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2024-42154",
"aliases": [
"CVE-2024-42154"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3e7013ddf55af7bc191792b8aea0c2b94fb0fef5"
},
{
"fixed": "19d997b59fa1fd7a02e770ee0881c0652b9c32c9"
},
{
"fixed": "2a2e79dbe2236a1289412d2044994f7ab419b44c"
},
{
"fixed": "cdffc358717e436bb67122bb82c1a2a26e050f98"
},
{
"fixed": "ef7c428b425beeb52b894e16f1c4b629d6cebfb6"
},
{
"fixed": "31f03bb04146c1c6df6c03e9f45401f5f5a985d3"
},
{
"fixed": "8c2debdd170e395934ac0e039748576dfde14e99"
},
{
"fixed": "3d550dd5418729a6e77fe7721d27adea7152e321"
},
{
"fixed": "66be40e622e177316ae81717aa30057ba9e61dff"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42154.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.14.0"
},
{
"fixed": "4.19.318"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.280"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.222"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.163"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.98"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.39"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.9.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42154.json"
}
}
],
"modified": "2026-10-28T02:30:32.246969145Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-355557.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://git.kernel.org/stable/c/19d997b59fa1fd7a02e770ee0881c0652b9c32c9",
"https://git.kernel.org/stable/c/2a2e79dbe2236a1289412d2044994f7ab419b44c",
"https://git.kernel.org/stable/c/31f03bb04146c1c6df6c03e9f45401f5f5a985d3",
"https://git.kernel.org/stable/c/3d550dd5418729a6e77fe7721d27adea7152e321",
"https://git.kernel.org/stable/c/66be40e622e177316ae81717aa30057ba9e61dff",
"https://git.kernel.org/stable/c/8c2debdd170e395934ac0e039748576dfde14e99",
"https://git.kernel.org/stable/c/cdffc358717e436bb67122bb82c1a2a26e050f98",
"https://git.kernel.org/stable/c/ef7c428b425beeb52b894e16f1c4b629d6cebfb6",
"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42154.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-42154",
"https://security.netapp.com/advisory/ntap-20240828-0010/",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42154.json"
}
},
"related_cves": [
{
"value": "CVE-2024-42154",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 498880,
"published_at": "2024-07-30T07:46:51.456+00:00"
}