CVE-2026-74657 (GCVE-0-2026-74657)
Vulnerability from cvelistv5 – Published: 2026-08-22 15:32 – Updated: 2026-08-27 12:39
VLAI
EPSS
VEX
Title
ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops
Summary
In the Linux kernel, the following vulnerability has been resolved:
ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops
fib_nlmsg_size() still estimates nexthop space as if every gateway is
encoded as an IPv4 RTA_GATEWAY attribute. IPv4 routes can also carry an
IPv6 gateway, which fib_nexthop_info() dumps as RTA_VIA.
As a result, route notifications can allocate an skb that is too small.
fib_dump_info() then fails with -EMSGSIZE and rtmsg_fib() hits the
WARN_ON() that marks such failures as a fib_nlmsg_size() bug. With
panic_on_warn set, this becomes a kernel panic.
Mirror the actual nexthop dump layout in fib_nlmsg_size(): account for
IPv6 nexthop gateways dumped as RTA_VIA, for the no-header rtnexthop
layout used inside RTA_MULTIPATH, and for RTA_FLOW only when it is
actually present.
Severity
No CVSS data available.
Assigner
References
8 references
Impacted products
2 products
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Linux | Linux |
Affected:
d15662682db232da77136cd348f4c9df312ca6f9 , < 57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28
(git)
Affected: d15662682db232da77136cd348f4c9df312ca6f9 , < 0f0ca602941d0a81ae9514943ca06c55159c6385 (git) Affected: d15662682db232da77136cd348f4c9df312ca6f9 , < 5307a53599fa762c06e475ee4a375252074fd324 (git) Affected: d15662682db232da77136cd348f4c9df312ca6f9 , < 7f80ad373ce4a7af5367ff273cea0f16e91387f3 (git) Affected: d15662682db232da77136cd348f4c9df312ca6f9 , < 4a5dfbae5179f6574695012a980476254df2d295 (git) Affected: d15662682db232da77136cd348f4c9df312ca6f9 , < a59edda6eda1252340354322d8ab318b2e9052fb (git) Affected: d15662682db232da77136cd348f4c9df312ca6f9 , < 9b22f13524fa0de0d963bbd3002df6c28bae3395 (git) Affected: d15662682db232da77136cd348f4c9df312ca6f9 , < 4ff9548d84945d2cbf9e4c207288063a200ea397 (git) |
guessed | |
| Linux | Linux |
Affected:
5.2
Unaffected: 0 , < 5.2 (semver) Unaffected: 5.10.267 , ≤ 5.10.* (semver) Unaffected: 5.15.216 , ≤ 5.15.* (semver) Unaffected: 6.1.183 , ≤ 6.1.* (semver) Unaffected: 6.6.152 , ≤ 6.6.* (semver) Unaffected: 6.12.104 , ≤ 6.12.* (semver) Unaffected: 6.18.45 , ≤ 6.18.* (semver) Unaffected: 7.1.9 , ≤ 7.1.* (semver) Unaffected: 7.2 , ≤ * (original_commit_for_fix) |
guessed |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"net/ipv4/fib_semantics.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28",
"status": "affected",
"version": "d15662682db232da77136cd348f4c9df312ca6f9",
"versionType": "git"
},
{
"lessThan": "0f0ca602941d0a81ae9514943ca06c55159c6385",
"status": "affected",
"version": "d15662682db232da77136cd348f4c9df312ca6f9",
"versionType": "git"
},
{
"lessThan": "5307a53599fa762c06e475ee4a375252074fd324",
"status": "affected",
"version": "d15662682db232da77136cd348f4c9df312ca6f9",
"versionType": "git"
},
{
"lessThan": "7f80ad373ce4a7af5367ff273cea0f16e91387f3",
"status": "affected",
"version": "d15662682db232da77136cd348f4c9df312ca6f9",
"versionType": "git"
},
{
"lessThan": "4a5dfbae5179f6574695012a980476254df2d295",
"status": "affected",
"version": "d15662682db232da77136cd348f4c9df312ca6f9",
"versionType": "git"
},
{
"lessThan": "a59edda6eda1252340354322d8ab318b2e9052fb",
"status": "affected",
"version": "d15662682db232da77136cd348f4c9df312ca6f9",
"versionType": "git"
},
{
"lessThan": "9b22f13524fa0de0d963bbd3002df6c28bae3395",
"status": "affected",
"version": "d15662682db232da77136cd348f4c9df312ca6f9",
"versionType": "git"
},
{
"lessThan": "4ff9548d84945d2cbf9e4c207288063a200ea397",
"status": "affected",
"version": "d15662682db232da77136cd348f4c9df312ca6f9",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"net/ipv4/fib_semantics.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "5.2"
},
{
"lessThan": "5.2",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.267",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.216",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.183",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.152",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.104",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.45",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.9",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.267",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.216",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.183",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.152",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.104",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.45",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.9",
"versionStartIncluding": "5.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "5.2",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops\n\nfib_nlmsg_size() still estimates nexthop space as if every gateway is\nencoded as an IPv4 RTA_GATEWAY attribute. IPv4 routes can also carry an\nIPv6 gateway, which fib_nexthop_info() dumps as RTA_VIA.\n\nAs a result, route notifications can allocate an skb that is too small.\nfib_dump_info() then fails with -EMSGSIZE and rtmsg_fib() hits the\nWARN_ON() that marks such failures as a fib_nlmsg_size() bug. With\npanic_on_warn set, this becomes a kernel panic.\n\nMirror the actual nexthop dump layout in fib_nlmsg_size(): account for\nIPv6 nexthop gateways dumped as RTA_VIA, for the no-header rtnexthop\nlayout used inside RTA_MULTIPATH, and for RTA_FLOW only when it is\nactually present."
}
],
"providerMetadata": {
"dateUpdated": "2026-08-27T12:39:57.259Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28"
},
{
"url": "https://git.kernel.org/stable/c/0f0ca602941d0a81ae9514943ca06c55159c6385"
},
{
"url": "https://git.kernel.org/stable/c/5307a53599fa762c06e475ee4a375252074fd324"
},
{
"url": "https://git.kernel.org/stable/c/7f80ad373ce4a7af5367ff273cea0f16e91387f3"
},
{
"url": "https://git.kernel.org/stable/c/4a5dfbae5179f6574695012a980476254df2d295"
},
{
"url": "https://git.kernel.org/stable/c/a59edda6eda1252340354322d8ab318b2e9052fb"
},
{
"url": "https://git.kernel.org/stable/c/9b22f13524fa0de0d963bbd3002df6c28bae3395"
},
{
"url": "https://git.kernel.org/stable/c/4ff9548d84945d2cbf9e4c207288063a200ea397"
}
],
"title": "ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-74657",
"datePublished": "2026-08-22T15:32:31.458Z",
"dateReserved": "2026-08-15T05:44:03.923Z",
"dateUpdated": "2026-08-27T12:39:57.259Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-74657",
"date": "2026-08-29",
"epss": "0.00177",
"percentile": "0.07282"
},
"microsoft_vex": {
"current_release_date": "2026-08-24T14:43:32.000Z",
"cve": "CVE-2026-74657",
"id": "msrc_CVE-2026-74657",
"initial_release_date": "2026-08-24T01:10:03.000Z",
"product_status:known_affected": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-74657.json",
"version": "2"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-74657\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-22T16:16:39.333\",\"lastModified\":\"2026-08-27T13:18:36.153\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops\\n\\nfib_nlmsg_size() still estimates nexthop space as if every gateway is\\nencoded as an IPv4 RTA_GATEWAY attribute. IPv4 routes can also carry an\\nIPv6 gateway, which fib_nexthop_info() dumps as RTA_VIA.\\n\\nAs a result, route notifications can allocate an skb that is too small.\\nfib_dump_info() then fails with -EMSGSIZE and rtmsg_fib() hits the\\nWARN_ON() that marks such failures as a fib_nlmsg_size() bug. With\\npanic_on_warn set, this becomes a kernel panic.\\n\\nMirror the actual nexthop dump layout in fib_nlmsg_size(): account for\\nIPv6 nexthop gateways dumped as RTA_VIA, for the no-header rtnexthop\\nlayout used inside RTA_MULTIPATH, and for RTA_FLOW only when it is\\nactually present.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/ipv4/fib_semantics.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"d15662682db232da77136cd348f4c9df312ca6f9\",\"lessThan\":\"57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d15662682db232da77136cd348f4c9df312ca6f9\",\"lessThan\":\"0f0ca602941d0a81ae9514943ca06c55159c6385\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d15662682db232da77136cd348f4c9df312ca6f9\",\"lessThan\":\"5307a53599fa762c06e475ee4a375252074fd324\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d15662682db232da77136cd348f4c9df312ca6f9\",\"lessThan\":\"7f80ad373ce4a7af5367ff273cea0f16e91387f3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d15662682db232da77136cd348f4c9df312ca6f9\",\"lessThan\":\"4a5dfbae5179f6574695012a980476254df2d295\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d15662682db232da77136cd348f4c9df312ca6f9\",\"lessThan\":\"a59edda6eda1252340354322d8ab318b2e9052fb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d15662682db232da77136cd348f4c9df312ca6f9\",\"lessThan\":\"9b22f13524fa0de0d963bbd3002df6c28bae3395\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"d15662682db232da77136cd348f4c9df312ca6f9\",\"lessThan\":\"4ff9548d84945d2cbf9e4c207288063a200ea397\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/ipv4/fib_semantics.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.2\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.2\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.267\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.216\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.183\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.152\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.104\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.45\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.9\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0f0ca602941d0a81ae9514943ca06c55159c6385\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4a5dfbae5179f6574695012a980476254df2d295\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4ff9548d84945d2cbf9e4c207288063a200ea397\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5307a53599fa762c06e475ee4a375252074fd324\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7f80ad373ce4a7af5367ff273cea0f16e91387f3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9b22f13524fa0de0d963bbd3002df6c28bae3395\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a59edda6eda1252340354322d8ab318b2e9052fb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-08-24T11:54:14+00:00",
"cve": "CVE-2026-74657",
"id": "CVE-2026-74657",
"initial_release_date": "2026-08-22T00:00:00+00:00",
"product_status:known_affected": "198",
"product_status:known_not_affected": "76",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74657.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…