{"id":"CVE-2026-74587","aliases":["CVE-2026-74587"],"related":[],"kind":"vulnerability","state":"published","title":"sctp: fix use-after-free of cached ASCONF chunk","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: fix use-after-free of cached ASCONF chunk\n\naddip_last_asconf caches the outstanding outbound ASCONF chunk. The normal\nASCONF-ACK completion path releases the chunk and clears the pointer.\n\nHowever, sctp_asconf_queue_teardown() releases the cached chunk without\nclearing addip_last_asconf. During peer restart handling,\nsctp_sf_do_dupcook_a() queues SCTP_CMD_PURGE_ASCONF_QUEUE, which invokes\nsctp_asconf_queue_teardown() while the association remains alive and leaves\nthe pointer dangling.\n\nA delayed authenticated ASCONF-ACK can then reach sctp_sf_do_asconf_ack(),\nwhich accesses the stale chunk and passes it to sctp_process_asconf_ack(),\ncausing a use-after-free and a second release.\n\nClearing the pointer exposes a race with T4 expiry. Peer restart handling\nqueues the timer stop before the purge, but SCTP_CMD_TIMER_STOP uses\ntimer_delete(), which does not wait for a callback already running on\nanother CPU. Such a callback can reach sctp_sf_t4_timer_expire() after\nthe purge and dereference NULL.\n\nClear addip_last_asconf after releasing the cached chunk, and make\nsctp_sf_t4_timer_expire() consume a stale T4 expiry if no outstanding\nASCONF remains.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: fix use-after-free of cached ASCONF chunk\n\naddip_last_asconf caches the outstanding outbound ASCONF chunk. The normal\nASCONF-ACK completion path releases the chunk and clears the pointer.\n\nHowever, sctp_asconf_queue_teardown() releases the cached chunk without\nclearing addip_last_asconf. During peer restart handling,\nsctp_sf_do_dupcook_a() queues SCTP_CMD_PURGE_ASCONF_QUEUE, which invokes\nsctp_asconf_queue_teardown() while the association remains alive and leaves\nthe pointer dangling.\n\nA delayed authenticated ASCONF-ACK can then reach sctp_sf_do_asconf_ack(),\nwhich accesses the stale chunk and passes it to sctp_process_asconf_ack(),\ncausing a use-after-free and a second release.\n\nClearing the pointer exposes a race with T4 expiry. Peer restart handling\nqueues the timer stop before the purge, but SCTP_CMD_TIMER_STOP uses\ntimer_delete(), which does not wait for a callback already running on\nanother CPU. Such a callback can reach sctp_sf_t4_timer_expire() after\nthe purge and dereference NULL.\n\nClear addip_last_asconf after releasing the cached chunk, and make\nsctp_sf_t4_timer_expire() consume a stale T4 expiry if no outstanding\nASCONF remains.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nsctp: corrige el uso después de liberación de un fragmento ASCONF en caché\n\naddip_last_asconf almacena en caché el fragmento ASCONF saliente pendiente. La ruta de finalización normal de ASCONF-ACK libera el fragmento y borra el puntero.\n\nSin embargo, sctp_asconf_queue_teardown() libera el fragmento en caché sin borrar addip_last_asconf. Durante el manejo de reinicio del par, sctp_sf_do_dupcook_a() encola SCTP_CMD_PURGE_ASCONF_QUEUE, lo que invoca sctp_asconf_queue_teardown() mientras la asociación permanece activa y deja el puntero colgando.\n\nUn ASCONF-ACK autenticado retrasado puede entonces alcanzar sctp_sf_do_asconf_ack(), que accede al fragmento obsoleto y lo pasa a sctp_process_asconf_ack(), causando un uso después de liberación y una segunda liberación.\n\nBorrar el puntero expone una condición de carrera con la expiración de T4. El manejo de reinicio del par encola la detención del temporizador antes de la purga, pero SCTP_CMD_TIMER_STOP usa timer_delete(), que no espera por una llamada de retorno ya en ejecución en otra CPU. Dicha llamada de retorno puede alcanzar sctp_sf_t4_timer_expire() después de la purga y desreferenciar NULL.\n\nBorrar addip_last_asconf después de liberar el fragmento en caché, y hacer que sctp_sf_t4_timer_expire() consuma una expiración de T4 obsoleta si no queda ningún ASCONF pendiente.","source":"nvd"}],"published":"2026-08-22T15:31:39.810Z","modified":"2026-10-16T20:17:41.753Z","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":"a000c01e60e40e15304ffe48fff051d17a7bea91","fixed":"10459b03e2d9ee12435e96f587de4d4cacdbf435","status":"affected"},{"type":"git","introduced":"a000c01e60e40e15304ffe48fff051d17a7bea91","fixed":"e1bb114e09372fd6e03387ced9ef566da336ed6c","status":"affected"},{"type":"git","introduced":"a000c01e60e40e15304ffe48fff051d17a7bea91","fixed":"179676f0166230c80053a392303485b37c93dd33","status":"affected"},{"type":"git","introduced":"a000c01e60e40e15304ffe48fff051d17a7bea91","fixed":"dc67d528c2fa939cec7fe3bf7f3089c8d281ca3d","status":"affected"},{"type":"git","introduced":"a000c01e60e40e15304ffe48fff051d17a7bea91","fixed":"618b5c6d049896fcfabb91afc072954c92cb2693","status":"affected"},{"type":"git","introduced":"a000c01e60e40e15304ffe48fff051d17a7bea91","fixed":"07daf4f9750104960a1d60831b2353c0d41f35fb","status":"affected"},{"type":"git","introduced":"a000c01e60e40e15304ffe48fff051d17a7bea91","fixed":"d949992bc3f00027a2c755e860a11950c75f6073","status":"affected"},{"type":"git","introduced":"a000c01e60e40e15304ffe48fff051d17a7bea91","fixed":"8c283e7b56adce00193837f3311b06662466fb21","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.0","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/10459b03e2d9ee12435e96f587de4d4cacdbf435","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e1bb114e09372fd6e03387ced9ef566da336ed6c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/179676f0166230c80053a392303485b37c93dd33","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc67d528c2fa939cec7fe3bf7f3089c8d281ca3d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/618b5c6d049896fcfabb91afc072954c92cb2693","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/07daf4f9750104960a1d60831b2353c0d41f35fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d949992bc3f00027a2c755e860a11950c75f6073","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c283e7b56adce00193837f3311b06662466fb21","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T19:01:25.161Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74587","url":"https://www.cve.org/CVERecord?id=CVE-2026-74587","licence":"CVE Terms of Use","modified":"2026-10-16T19:05:58.841Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74587","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74587","licence":"Public domain","modified":"2026-10-16T20:17:41.753Z"}],"updatedAt":"2026-11-25T22:59:34.885Z","epss":{"score":0.005,"percentile":0.44395,"date":"2026-12-01T12:00:22.000Z"}}