{"id":"CVE-2026-74657","aliases":["CVE-2026-74657"],"related":[],"kind":"vulnerability","state":"published","title":"ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nipv4: Arreglo de fib_nlmsg_size() para los saltos siguientes RTA_VIA\n\nfib_nlmsg_size() todavía estima el espacio del salto siguiente como si cada puerta de enlace estuviera codificada como un atributo IPv4 RTA_GATEWAY. Las rutas IPv4 también pueden llevar una puerta de enlace IPv6, que fib_nexthop_info() vuelca como RTA_VIA.\n\nComo resultado, las notificaciones de ruta pueden asignar un skb que es demasiado pequeño. fib_dump_info() entonces falla con -EMSGSIZE y rtmsg_fib() alcanza el WARN_ON() que marca tales fallos como un error de fib_nlmsg_size(). Con panic_on_warn configurado, esto se convierte en un pánico del kernel.\n\nReflejar la disposición real del volcado del salto siguiente en fib_nlmsg_size(): tener en cuenta las puertas de enlace de salto siguiente IPv6 volcadas como RTA_VIA, para la disposición rtnexthop sin cabecera utilizada dentro de RTA_MULTIPATH, y para RTA_FLOW solo cuando está realmente presente.","source":"nvd"}],"published":"2026-08-22T15:32:31.458Z","modified":"2026-11-06T17:19:52.760Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d15662682db232da77136cd348f4c9df312ca6f9","fixed":"57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28","status":"affected"},{"type":"git","introduced":"d15662682db232da77136cd348f4c9df312ca6f9","fixed":"0f0ca602941d0a81ae9514943ca06c55159c6385","status":"affected"},{"type":"git","introduced":"d15662682db232da77136cd348f4c9df312ca6f9","fixed":"5307a53599fa762c06e475ee4a375252074fd324","status":"affected"},{"type":"git","introduced":"d15662682db232da77136cd348f4c9df312ca6f9","fixed":"7f80ad373ce4a7af5367ff273cea0f16e91387f3","status":"affected"},{"type":"git","introduced":"d15662682db232da77136cd348f4c9df312ca6f9","fixed":"4a5dfbae5179f6574695012a980476254df2d295","status":"affected"},{"type":"git","introduced":"d15662682db232da77136cd348f4c9df312ca6f9","fixed":"a59edda6eda1252340354322d8ab318b2e9052fb","status":"affected"},{"type":"git","introduced":"d15662682db232da77136cd348f4c9df312ca6f9","fixed":"9b22f13524fa0de0d963bbd3002df6c28bae3395","status":"affected"},{"type":"git","introduced":"d15662682db232da77136cd348f4c9df312ca6f9","fixed":"4ff9548d84945d2cbf9e4c207288063a200ea397","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.2","status":"unaffected"},{"type":"semver","introduced":"5.10.267","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.152","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.104","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0f0ca602941d0a81ae9514943ca06c55159c6385","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5307a53599fa762c06e475ee4a375252074fd324","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f80ad373ce4a7af5367ff273cea0f16e91387f3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4a5dfbae5179f6574695012a980476254df2d295","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a59edda6eda1252340354322d8ab318b2e9052fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b22f13524fa0de0d963bbd3002df6c28bae3395","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4ff9548d84945d2cbf9e4c207288063a200ea397","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T17:00:29.811Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74657","url":"https://www.cve.org/CVERecord?id=CVE-2026-74657","licence":"CVE Terms of Use","modified":"2026-11-06T17:05:50.029Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74657","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74657","licence":"Public domain","modified":"2026-11-06T17:19:52.760Z"}],"updatedAt":"2026-11-25T22:59:34.920Z","epss":{"score":0.00177,"percentile":0.07635,"date":"2026-12-01T12:00:22.000Z"}}