Instituto Nacional de ciberseguridad. Sección Incibe
Instituto Nacional de Ciberseguridad. Sección INCIBE-CERT

Vulnerabilidad en Linux (CVE-2025-39980)

Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
15/10/2025
Última modificación:
10/11/2026

Descripción

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:<br /> <br /> nexthop: Prohibir el cambio de estado FDB mientras el nexthop está en un grupo<br /> <br /> El kernel prohíbe la creación de grupos de nexthops no-FDB con nexthops FDB:<br /> <br /> # ip nexthop add id 1 via 192.0.2.1 fdb<br /> # ip nexthop add id 2 group 1<br /> Error: Un grupo de nexthops no-FDB no puede tener nexthops fdb.<br /> <br /> Y viceversa:<br /> <br /> # ip nexthop add id 3 via 192.0.2.2 dev dummy1<br /> # ip nexthop add id 4 group 3 fdb<br /> Error: Un grupo de nexthops FDB solo puede tener nexthops fdb.<br /> <br /> Sin embargo, siempre que ninguna ruta apunte a un grupo de nexthops no-FDB, el kernel permite cambiar el tipo de un nexthop de FDB a no-FDB y viceversa:<br /> <br /> # ip nexthop add id 5 via 192.0.2.2 dev dummy1<br /> # ip nexthop add id 6 group 5<br /> # ip nexthop replace id 5 via 192.0.2.2 fdb<br /> # echo $?<br /> 0<br /> <br /> Esta configuración es inválida y puede resultar en un NPD [1] ya que los nexthops FDB no están asociados con un dispositivo nexthop:<br /> <br /> # ip route add 198.51.100.1/32 nhid 6<br /> # ping 198.51.100.1<br /> <br /> Solución al prevenir el cambio de estado FDB del nexthop mientras el nexthop está en un grupo:<br /> <br /> # ip nexthop add id 7 via 192.0.2.2 dev dummy1<br /> # ip nexthop add id 8 group 7<br /> # ip nexthop replace id 7 via 192.0.2.2 fdb<br /> Error: No se puede cambiar el estado FDB del nexthop mientras está en un grupo.<br /> <br /> [1]<br /> BUG: desreferencia de puntero NULL del kernel, dirección: 00000000000003c0<br /> [...]<br /> Oops: Oops: 0000 [#1] SMP<br /> CPU: 6 UID: 0 PID: 367 Comm: ping No contaminado 6.17.0-rc6-virtme-gb65678cacc03 #1 PREEMPT(voluntario)<br /> Nombre del hardware: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-4.fc41 04/01/2014<br /> RIP: 0010:fib_lookup_good_nhc+0x1e/0x80<br /> [...]<br /> Traza de Llamada:<br /> <br /> fib_table_lookup+0x541/0x650<br /> ip_route_output_key_hash_rcu+0x2ea/0x970<br /> ip_route_output_key_hash+0x55/0x80<br /> __ip4_datagram_connect+0x250/0x330<br /> udp_connect+0x2b/0x60<br /> __sys_connect+0x9c/0xd0<br /> __x64_sys_connect+0x18/0x20<br /> do_syscall_64+0xa4/0x2a0<br /> entry_SYSCALL_64_after_hwframe+0x4b/0x53

Impacto