{"id":"CVE-2026-74586","aliases":["CVE-2026-74586"],"related":[],"kind":"vulnerability","state":"published","title":"sctp: clear new_transport when removing a peer","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: clear new_transport when removing a peer\n\nsctp_process_asconf_param() stores a newly added peer transport in\nasoc->new_transport. After all parameters in the ASCONF chunk have been\nprocessed, sctp_sf_do_asconf() uses this pointer to send a HEARTBEAT to the\nnew transport.\n\nAn authenticated ASCONF from a remote SCTP peer can add a transport and\nremove it again with a wildcard DEL-IP parameter in the same chunk. The\nwildcard deletion preserves the transport on which the ASCONF arrived, but\nremoves the newly added transport through\nsctp_assoc_del_nonprimary_peers(). The removal does not clear\nasoc->new_transport, leaving it pointing to the removed transport.\n\nsctp_sf_do_asconf() then creates a HEARTBEAT whose chunk->transport points\nto the removed transport without holding a transport reference. During\nlocal address replacement, src_out_of_asoc_ok keeps this HEARTBEAT on\ncontrol_chunk_list. After the transport is freed by RCU, a successful\nASCONF_ACK for the replacement address releases the queued HEARTBEAT and\nsctp_outq_select_transport() reads the freed transport's state.\n\nThe issue was found during a static audit of SCTP objects. With an\nauthenticated peer, the reproducer triggered the same KASAN report in 2\nof 2 unpatched runs on a KASAN-enabled netdev/main kernel:\n\n  BUG: KASAN: slab-use-after-free in sctp_outq_select_transport\n  Read of size 4 at addr ffff88800b9bd95c by task python3/197\n\n  Call Trace:\n   sctp_outq_select_transport+0x549/0x8b0 [sctp]\n   sctp_outq_flush+0x306/0x2c60 [sctp]\n   sctp_transport_immediate_rtx+0xaf/0x260 [sctp]\n   sctp_process_asconf_ack+0xa48/0xf70 [sctp]\n\n  Allocated by task 197:\n   sctp_transport_new+0x68/0x650 [sctp]\n   sctp_assoc_add_peer+0x258/0x12a0 [sctp]\n   sctp_process_asconf+0x5e9/0x1090 [sctp]\n\n  Last potentially related work creation:\n   __call_rcu_common.constprop.0+0x77/0xb70\n   sctp_assoc_del_nonprimary_peers+0x7c/0xd0 [sctp]\n   sctp_process_asconf+0xd9c/0x1090 [sctp]\n\nThe first invalid access was a four-byte read of transport->state at\nnet/sctp/outqueue.c:833. The same reproducer completed the full\nauthenticated ASCONF and local-address replacement sequence with this\nchange without a KASAN report or oops.\n\nClear new_transport when its peer is removed, before it can be used to\ncreate the HEARTBEAT.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: clear new_transport when removing a peer\n\nsctp_process_asconf_param() stores a newly added peer transport in\nasoc->new_transport. After all parameters in the ASCONF chunk have been\nprocessed, sctp_sf_do_asconf() uses this pointer to send a HEARTBEAT to the\nnew transport.\n\nAn authenticated ASCONF from a remote SCTP peer can add a transport and\nremove it again with a wildcard DEL-IP parameter in the same chunk. The\nwildcard deletion preserves the transport on which the ASCONF arrived, but\nremoves the newly added transport through\nsctp_assoc_del_nonprimary_peers(). The removal does not clear\nasoc->new_transport, leaving it pointing to the removed transport.\n\nsctp_sf_do_asconf() then creates a HEARTBEAT whose chunk->transport points\nto the removed transport without holding a transport reference. During\nlocal address replacement, src_out_of_asoc_ok keeps this HEARTBEAT on\ncontrol_chunk_list. After the transport is freed by RCU, a successful\nASCONF_ACK for the replacement address releases the queued HEARTBEAT and\nsctp_outq_select_transport() reads the freed transport's state.\n\nThe issue was found during a static audit of SCTP objects. With an\nauthenticated peer, the reproducer triggered the same KASAN report in 2\nof 2 unpatched runs on a KASAN-enabled netdev/main kernel:\n\n  BUG: KASAN: slab-use-after-free in sctp_outq_select_transport\n  Read of size 4 at addr ffff88800b9bd95c by task python3/197\n\n  Call Trace:\n   sctp_outq_select_transport+0x549/0x8b0 [sctp]\n   sctp_outq_flush+0x306/0x2c60 [sctp]\n   sctp_transport_immediate_rtx+0xaf/0x260 [sctp]\n   sctp_process_asconf_ack+0xa48/0xf70 [sctp]\n\n  Allocated by task 197:\n   sctp_transport_new+0x68/0x650 [sctp]\n   sctp_assoc_add_peer+0x258/0x12a0 [sctp]\n   sctp_process_asconf+0x5e9/0x1090 [sctp]\n\n  Last potentially related work creation:\n   __call_rcu_common.constprop.0+0x77/0xb70\n   sctp_assoc_del_nonprimary_peers+0x7c/0xd0 [sctp]\n   sctp_process_asconf+0xd9c/0x1090 [sctp]\n\nThe first invalid access was a four-byte read of transport->state at\nnet/sctp/outqueue.c:833. The same reproducer completed the full\nauthenticated ASCONF and local-address replacement sequence with this\nchange without a KASAN report or oops.\n\nClear new_transport when its peer is removed, before it can be used to\ncreate the HEARTBEAT.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nsctp: limpiar new_transport al eliminar un par\n\nsctp_process_asconf_param() almacena un transporte de par recién añadido en asoc -> new_transport. Después de que todos los parámetros en el fragmento ASCONF han sido procesados, sctp_sf_do_asconf() usa este puntero para enviar un HEARTBEAT al nuevo transporte.\n\nUn ASCONF autenticado de un par SCTP remoto puede añadir un transporte y eliminarlo de nuevo con un parámetro DEL-IP comodín en el mismo fragmento. La eliminación comodín preserva el transporte en el que llegó el ASCONF, pero elimina el transporte recién añadido a través de sctp_assoc_del_nonprimary_peers(). La eliminación no limpia asoc -> new_transport, dejándolo apuntando al transporte eliminado.\n\nsctp_sf_do_asconf() entonces crea un HEARTBEAT cuyo chunk -> transport apunta al transporte eliminado sin mantener una referencia de transporte. Durante el reemplazo de dirección local, src_out_of_asoc_ok mantiene este HEARTBEAT en control_chunk_list. Después de que el transporte es liberado por RCU, un ASCONF_ACK exitoso para la dirección de reemplazo libera el HEARTBEAT en cola y sctp_outq_select_transport() lee el estado del transporte liberado.\n\nEl problema fue encontrado durante una auditoría estática de objetos SCTP. Con un par autenticado, el reproductor activó el mismo informe KASAN en 2 de 2 ejecuciones sin parchear en un kernel netdev/main habilitado para KASAN:\n\nBUG: KASAN: uso después de liberación de slab en sctp_outq_select_transport\nLectura de tamaño 4 en la dirección ffff88800b9bd95c por la tarea python3/197\n\nTraza de Llamada:\n sctp_outq_select_transport+0x549/0x8b0 [sctp]\n sctp_outq_flush+0x306/0x2c60 [sctp]\n sctp_transport_immediate_rtx+0xaf/0x260 [sctp]\n sctp_process_asconf_ack+0xa48/0xf70 [sctp]\n\nAsignado por la tarea 197:\n sctp_transport_new+0x68/0x650 [sctp]\n sctp_assoc_add_peer+0x258/0x12a0 [sctp]\n sctp_process_asconf+0x5e9/0x1090 [sctp]\n\nÚltima creación de trabajo potencialmente relacionada:\n __call_rcu_common.constprop.0+0x77/0xb70\n sctp_assoc_del_nonprimary_peers+0x7c/0xd0 [sctp]\n sctp_process_asconf+0xd9c/0x1090 [sctp]\n\nEl primer acceso inválido fue una lectura de cuatro bytes de transport -> state en net/sctp/outqueue.c:833. El mismo reproductor completó la secuencia completa de ASCONF autenticado y reemplazo de dirección local con este cambio sin un informe KASAN o oops.\n\nLimpiar new_transport cuando su par es eliminado, antes de que pueda ser usado para crear el HEARTBEAT.","source":"nvd"}],"published":"2026-08-22T15:31:39.094Z","modified":"2026-10-16T20:17:41.120Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6af29ccc223b0feb6fc6112281c3fa3cdb1afddf","fixed":"c0f973bb5118dd1b146cda3fcc8af6f6057befec","status":"affected"},{"type":"git","introduced":"6af29ccc223b0feb6fc6112281c3fa3cdb1afddf","fixed":"3b539b317cd052236fed0350364ff1268996ba46","status":"affected"},{"type":"git","introduced":"6af29ccc223b0feb6fc6112281c3fa3cdb1afddf","fixed":"db9d8e3b670f841755bc2018f178472dc6064d27","status":"affected"},{"type":"git","introduced":"6af29ccc223b0feb6fc6112281c3fa3cdb1afddf","fixed":"31efa656cf6aface26e88f038c14f22ee6ca1500","status":"affected"},{"type":"git","introduced":"6af29ccc223b0feb6fc6112281c3fa3cdb1afddf","fixed":"291accf36febce751021888de5f15090f4875b56","status":"affected"},{"type":"git","introduced":"6af29ccc223b0feb6fc6112281c3fa3cdb1afddf","fixed":"ca33df36aa0143a1d04f57d2086020c12e7eddb7","status":"affected"},{"type":"git","introduced":"6af29ccc223b0feb6fc6112281c3fa3cdb1afddf","fixed":"163847552a571bd55094291f4ffcdc1de0f14a7b","status":"affected"},{"type":"git","introduced":"6af29ccc223b0feb6fc6112281c3fa3cdb1afddf","fixed":"beb33f8ee1ca83acddb2a5ae80f3d22ec550b4c3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.2","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/c0f973bb5118dd1b146cda3fcc8af6f6057befec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b539b317cd052236fed0350364ff1268996ba46","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db9d8e3b670f841755bc2018f178472dc6064d27","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/31efa656cf6aface26e88f038c14f22ee6ca1500","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/291accf36febce751021888de5f15090f4875b56","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca33df36aa0143a1d04f57d2086020c12e7eddb7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/163847552a571bd55094291f4ffcdc1de0f14a7b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/beb33f8ee1ca83acddb2a5ae80f3d22ec550b4c3","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T19:01:22.679Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74586","url":"https://www.cve.org/CVERecord?id=CVE-2026-74586","licence":"CVE Terms of Use","modified":"2026-10-16T19:05:58.687Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74586","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74586","licence":"Public domain","modified":"2026-10-16T20:17:41.120Z"}],"updatedAt":"2026-11-25T22:59:34.884Z","epss":{"score":0.005,"percentile":0.44394,"date":"2026-12-01T12:00:22.000Z"}}