{"id":"CVE-2026-74598","aliases":["CVE-2026-74598"],"related":[],"kind":"vulnerability","state":"published","title":"ipv6: fix Route Information option length validation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: fix Route Information option length validation\n\nrt6_route_rcv() validates the Route Information option (RFC 4191) length\nagainst the prefix length, but both checks are off by one.\n\nrinfo->length is the ND option length in units of 8 octets and it\n*includes* the 8-byte option header, so an option carrying N bytes of\nprefix has length == 1 + N/8.  RFC 4191 section 2.3 requires length 3\nwhen Prefix Length is greater than 64, and 2 or 3 when it is greater\nthan 0.  The code accepts length >= 2 and length >= 1 respectively.\n\nipv6_addr_prefix() then copies prefix_len/8 bytes out of rinfo->prefix,\nso a Router Advertisement with (prefix_len=128, length=2) or\n(prefix_len=64, length=1) makes the kernel read up to 8 bytes past the\nend of the option.  Those bytes end up in the prefix of the route that\ngets installed, so they are visible to userspace:\n\n  # RA with a Route Information option (prefix_len=128, length=2)\n  # followed by a source link-layer address option, 01 01 de ad be ef ca fe\n  $ ip -6 route show\n  2001:db8:dead:beef:101:dead:beef:cafe via fe80::1234 dev veth0 proto ra\n                     ^^^^^^^^^^^^^^^^^^ the next option, read out of bounds\n\nWhen the Route Information option is the last one in the packet, those\neight bytes come from the skb tail room instead.\n\nReject the option lengths RFC 4191 does not allow.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: fix Route Information option length validation\n\nrt6_route_rcv() validates the Route Information option (RFC 4191) length\nagainst the prefix length, but both checks are off by one.\n\nrinfo->length is the ND option length in units of 8 octets and it\n*includes* the 8-byte option header, so an option carrying N bytes of\nprefix has length == 1 + N/8.  RFC 4191 section 2.3 requires length 3\nwhen Prefix Length is greater than 64, and 2 or 3 when it is greater\nthan 0.  The code accepts length >= 2 and length >= 1 respectively.\n\nipv6_addr_prefix() then copies prefix_len/8 bytes out of rinfo->prefix,\nso a Router Advertisement with (prefix_len=128, length=2) or\n(prefix_len=64, length=1) makes the kernel read up to 8 bytes past the\nend of the option.  Those bytes end up in the prefix of the route that\ngets installed, so they are visible to userspace:\n\n  # RA with a Route Information option (prefix_len=128, length=2)\n  # followed by a source link-layer address option, 01 01 de ad be ef ca fe\n  $ ip -6 route show\n  2001:db8:dead:beef:101:dead:beef:cafe via fe80::1234 dev veth0 proto ra\n                     ^^^^^^^^^^^^^^^^^^ the next option, read out of bounds\n\nWhen the Route Information option is the last one in the packet, those\neight bytes come from the skb tail room instead.\n\nReject the option lengths RFC 4191 does not allow.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nipv6: corregir la validación de la longitud de la opción de Información de Ruta\n\nrt6_route_rcv() valida la longitud de la opción de Información de Ruta (RFC 4191) contra la longitud del prefijo, pero ambas comprobaciones están desfasadas en uno.\n\nrinfo -> length es la longitud de la opción ND en unidades de 8 octetos e incluye la cabecera de opción de 8 bytes, por lo que una opción que lleva N bytes de prefijo tiene una longitud == 1 + N/8. La sección 2.3 de RFC 4191 requiere una longitud de 3 cuando la Longitud del Prefijo es mayor que 64, y 2 o 3 cuando es mayor que 0. El código acepta longitud >= 2 y longitud >= 1 respectivamente.\n\nipv6_addr_prefix() luego copia prefix_len/8 bytes de rinfo -> prefix, por lo que un Anuncio de Router con (prefix_len=128, length=2) o (prefix_len=64, length=1) hace que el kernel lea hasta 8 bytes más allá del final de la opción. Esos bytes terminan en el prefijo de la ruta que se instala, por lo que son visibles para el espacio de usuario:\n\n  # RA con una opción de Información de Ruta (prefix_len=128, length=2)\n  # seguido de una opción de dirección de capa de enlace de origen, 01 01 de ad be ef ca fe\n  $ ip -6 route show\n  2001:db8:dead:beef:101:dead:beef:cafe via fe80::1234 dev veth0 proto ra\n                     ^^^^^^^^^^^^^^^^^^ la siguiente opción, leída fuera de los límites\n\nCuando la opción de Información de Ruta es la última en el paquete, esos ocho bytes provienen del skb tail room en su lugar.\n\nRechazar las longitudes de opción que RFC 4191 no permite.","source":"nvd"}],"published":"2026-08-22T15:31:47.859Z","modified":"2026-10-16T20:17:45.253Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"70ceb4f53929f73746be72f73707cd9f8753e2fc","fixed":"2f6f94eda12430fb41b24b44a71e2ea4e93561d7","status":"affected"},{"type":"git","introduced":"70ceb4f53929f73746be72f73707cd9f8753e2fc","fixed":"7eac87396c44a312be457ef41d4c5687883be9a2","status":"affected"},{"type":"git","introduced":"70ceb4f53929f73746be72f73707cd9f8753e2fc","fixed":"7309529f257ae18e72112ef9f614edfd6df229bb","status":"affected"},{"type":"git","introduced":"70ceb4f53929f73746be72f73707cd9f8753e2fc","fixed":"0b9e02f3bd31c888f2ccdc0ca08e546d6abe9c4d","status":"affected"},{"type":"git","introduced":"70ceb4f53929f73746be72f73707cd9f8753e2fc","fixed":"ff3cb05289b8a4ef95fa7ea14c7d34818359edbb","status":"affected"},{"type":"git","introduced":"70ceb4f53929f73746be72f73707cd9f8753e2fc","fixed":"3b2231e358d26e3aec5d8040b1fb777af03c5f05","status":"affected"},{"type":"git","introduced":"70ceb4f53929f73746be72f73707cd9f8753e2fc","fixed":"da64ed1f346ba84df574d6469fa2e422b2511719","status":"affected"},{"type":"git","introduced":"70ceb4f53929f73746be72f73707cd9f8753e2fc","fixed":"d1ad8fb2ac6a1afb71dc22d9ae8efb4dda96c824","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.17","status":"unaffected"},{"type":"semver","introduced":"5.10.265","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/2f6f94eda12430fb41b24b44a71e2ea4e93561d7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7eac87396c44a312be457ef41d4c5687883be9a2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7309529f257ae18e72112ef9f614edfd6df229bb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0b9e02f3bd31c888f2ccdc0ca08e546d6abe9c4d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ff3cb05289b8a4ef95fa7ea14c7d34818359edbb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b2231e358d26e3aec5d8040b1fb777af03c5f05","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da64ed1f346ba84df574d6469fa2e422b2511719","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1ad8fb2ac6a1afb71dc22d9ae8efb4dda96c824","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T19:01:53.979Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74598","url":"https://www.cve.org/CVERecord?id=CVE-2026-74598","licence":"CVE Terms of Use","modified":"2026-10-16T19:06:00.288Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74598","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74598","licence":"Public domain","modified":"2026-10-16T20:17:45.253Z"}],"updatedAt":"2026-11-25T22:59:34.889Z","epss":{"score":0.00425,"percentile":0.38736,"date":"2026-12-01T12:00:22.000Z"}}