{"id":"CVE-2025-40173","aliases":["CVE-2025-40173"],"related":[],"kind":"vulnerability","state":"published","title":"net/ip6_tunnel: Prevent perpetual tunnel growth","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/ip6_tunnel: Prevent perpetual tunnel growth\n\nSimilarly to ipv4 tunnel, ipv6 version updates dev->needed_headroom, too.\nWhile ipv4 tunnel headroom adjustment growth was limited in\ncommit 5ae1e9922bbd (\"net: ip_tunnel: prevent perpetual headroom growth\"),\nipv6 tunnel yet increases the headroom without any ceiling.\n\nReflect ipv4 tunnel headroom adjustment limit on ipv6 version.\n\nCredits to Francesco Ruggeri, who was originally debugging this issue\nand wrote local Arista-specific patch and a reproducer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/ip6_tunnel: Prevent perpetual tunnel growth\n\nSimilarly to ipv4 tunnel, ipv6 version updates dev->needed_headroom, too.\nWhile ipv4 tunnel headroom adjustment growth was limited in\ncommit 5ae1e9922bbd (\"net: ip_tunnel: prevent perpetual headroom growth\"),\nipv6 tunnel yet increases the headroom without any ceiling.\n\nReflect ipv4 tunnel headroom adjustment limit on ipv6 version.\n\nCredits to Francesco Ruggeri, who was originally debugging this issue\nand wrote local Arista-specific patch and a reproducer.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnet/ip6_tunnel: Prevenir el crecimiento perpetuo del túnel\n\nDe manera similar al túnel ipv4, la versión ipv6 también actualiza dev->needed_headroom.\nMientras que el crecimiento del ajuste del headroom del túnel ipv4 fue limitado en el commit 5ae1e9922bbd (“net: ip_tunnel: prevenir el crecimiento perpetuo del headroom”), el túnel ipv6 aún aumenta el headroom sin ningún techo.\n\nReflejar el límite de ajuste del headroom del túnel ipv4 en la versión ipv6.\n\nCréditos a Francesco Ruggeri, quien originalmente estaba depurando este problema y escribió un parche local específico de Arista y un reproductor.","source":"nvd"}],"published":"2025-11-12T10:53:49.571Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8eb30be0352d09165e94a41fef1c7b994dca0714","fixed":"566f8d5c8a443f2dd69c5460fdec43ed1c870c65","status":"affected"},{"type":"git","introduced":"8eb30be0352d09165e94a41fef1c7b994dca0714","fixed":"11f6066af3bfb8149aa16c42c0b0c5ea5b199a94","status":"affected"},{"type":"git","introduced":"8eb30be0352d09165e94a41fef1c7b994dca0714","fixed":"402b6985e872b4cf394bbbf33b503947a326a6cb","status":"affected"},{"type":"git","introduced":"8eb30be0352d09165e94a41fef1c7b994dca0714","fixed":"10fe967efe73c610e526ff7460581610633dee9c","status":"affected"},{"type":"git","introduced":"8eb30be0352d09165e94a41fef1c7b994dca0714","fixed":"48294a67863c9cfa367abb66bbf0ef6548ae124f","status":"affected"},{"type":"git","introduced":"8eb30be0352d09165e94a41fef1c7b994dca0714","fixed":"eeb4345488672584db4f8c20a1ae13a212ce31c4","status":"affected"},{"type":"git","introduced":"8eb30be0352d09165e94a41fef1c7b994dca0714","fixed":"b6eb25d870f1a8ae571fd3da2244b71df547824b","status":"affected"},{"type":"git","introduced":"8eb30be0352d09165e94a41fef1c7b994dca0714","fixed":"21f4d45eba0b2dcae5dbc9e5e0ad08735c993f16","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.7","status":"unaffected"},{"type":"semver","introduced":"5.4.301","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.246","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.196","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.158","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.114","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.55","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.5","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","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/566f8d5c8a443f2dd69c5460fdec43ed1c870c65","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/11f6066af3bfb8149aa16c42c0b0c5ea5b199a94","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/402b6985e872b4cf394bbbf33b503947a326a6cb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/10fe967efe73c610e526ff7460581610633dee9c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48294a67863c9cfa367abb66bbf0ef6548ae124f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eeb4345488672584db4f8c20a1ae13a212ce31c4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6eb25d870f1a8ae571fd3da2244b71df547824b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/21f4d45eba0b2dcae5dbc9e5e0ad08735c993f16","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:57:37.658Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40173","url":"https://www.cve.org/CVERecord?id=CVE-2025-40173","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:39.584Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40173","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40173","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:07.565Z","epss":{"score":0.00154,"percentile":0.04802,"date":"2026-12-01T12:00:22.000Z"}}