{"id":"CVE-2026-74609","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-08-22T16:16:33.407","lastModified":"2026-10-16T20:17:46.070","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: read le->link under the node lock in tipc_node_link_down()\n\ntipc_node_link_down() caches the link pointer before taking n->lock:\n\n\tstruct tipc_link *l = le->link;\t\t/* unlocked */\n\n\tif (!l)\n\t\treturn;\n\ttipc_node_write_lock(n);\n\tif (!tipc_link_is_establishing(l)) {\t/* deref l */\n\t...\n\t\ttipc_link_reset(l);\t\t/* write into l */\n\tif (delete) {\n\t\tkfree(l);\n\t\tle->link = NULL;\n\nThe delete=true caller frees that very object under n->lock, so the lock\ndoes not protect the cached pointer against it:\n\n - CPU A, delete=false: tipc_rcv() on TIPC_LINK_DOWN_EVT, or the link\n   supervision timer via tipc_node_timeout(), reads l unlocked and then\n   dereferences it under n->lock;\n - CPU B, delete=true: netlink TIPC_NL_BEARER_DISABLE -> bearer_disable()\n   -> tipc_node_delete_links() -> tipc_node_link_down(n, bearer_id, true)\n   -> kfree(l).\n\nThe link is freed with plain kfree(), not kfree_rcu(), and for UDP bearers\ndisable_media() only schedules the asynchronous cleanup_bearer() work, so\nits synchronize_net() runs after the links are already gone.  An in-flight\nCPU A that has read l therefore dereferences freed memory once B frees it:\na use-after-free read in tipc_link_is_establishing(), and a use-after-free\nwrite via tipc_link_reset() on the establishing branch.\n\nThe following trace was captured on 7.2.0-rc5-00284-gaf39eb111ce6:\n\n  BUG: KASAN: slab-use-after-free in tipc_link_is_establishing (net/tipc/link.c:285)\n  Read of size 4 at addr ffff88802e2aa068 by task swapper/2/0\n   tipc_link_is_establishing (net/tipc/link.c:285)\n   tipc_node_link_down (net/tipc/node.c:1076)\n   tipc_node_timeout (net/tipc/node.c:843)\n  Allocated by task 9549:\n   tipc_link_create (net/tipc/link.c:490)\n   tipc_node_check_dest (net/tipc/node.c:1279)\n   tipc_disc_rcv (net/tipc/discover.c:252)\n   tipc_udp_recv (net/tipc/udp_media.c:389)\n  Freed by task 9549:\n   tipc_node_link_down (net/tipc/node.c:1084)\n   tipc_node_delete_links (net/tipc/node.c:1320)\n   bearer_disable (net/tipc/bearer.c:414)\n   __tipc_nl_bearer_disable (net/tipc/bearer.c:992)\n\nMove the le->link read inside tipc_node_write_lock(), so it is serialised\nagainst the kfree() in the delete path.  A racing teardown now either has\nnot run yet, and we see a valid link, or has already run, and we see NULL."},{"lang":"es","value":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ntipc: lee le -> link bajo el bloqueo del nodo en tipc_node_link_down()\n\ntipc_node_link_down() almacena en caché el puntero de enlace antes de tomar n -> lock:\n\n\tstruct tipc_link l = le -> link;\t\t/* desbloqueado */\n\n\tif (!l)\n\t\treturn;\n\ttipc_node_write_lock(n);\n\tif (!tipc_link_is_establishing(l)) {\t/* desreferencia l */\n\t...\n\t\ttipc_link_reset(l);\t\t/* escribe en l */\n\tif (delete) {\n\t\tkfree(l);\n\t\tle -> link = NULL;\n\nEl llamador con delete=true libera ese mismo objeto bajo n -> lock, por lo que el bloqueo no protege el puntero almacenado en caché contra ello:\n\n - CPU A, delete=false: tipc_rcv() en TIPC_LINK_DOWN_EVT, o el temporizador de supervisión de enlace a través de tipc_node_timeout(), lee l desbloqueado y luego lo desreferencia bajo n -> lock;\n - CPU B, delete=true: netlink TIPC_NL_BEARER_DISABLE  ->  bearer_disable()  ->  tipc_node_delete_links()  ->  tipc_node_link_down(n, bearer_id, true)  ->  kfree(l).\n\nEl enlace se libera con kfree() simple, no con kfree_rcu(), y para los portadores UDP, disable_media() solo programa el trabajo asíncrono cleanup_bearer(), por lo que su synchronize_net() se ejecuta después de que los enlaces ya no existen. Una CPU A en vuelo que ha leído l, por lo tanto, desreferencia memoria liberada una vez que B la libera: una lectura de uso después de liberación en tipc_link_is_establishing(), y una escritura de uso después de liberación a través de tipc_link_reset() en la rama de establecimiento.\n\nLa siguiente traza fue capturada en 7.2.0-rc5-00284-gaf39eb111ce6:\n\n  ERROR: KASAN: uso después de liberación de slab en tipc_link_is_establishing (net/tipc/link.c:285)\n  Lectura de tamaño 4 en la dirección ffff88802e2aa068 por la tarea swapper/2/0\n   tipc_link_is_establishing (net/tipc/link.c:285)\n   tipc_node_link_down (net/tipc/node.c:1076)\n   tipc_node_timeout (net/tipc/node.c:843)\n  Asignado por la tarea 9549:\n   tipc_link_create (net/tipc/link.c:490)\n   tipc_node_check_dest (net/tipc/node.c:1279)\n   tipc_disc_rcv (net/tipc/discover.c:252)\n   tipc_udp_recv (net/tipc/udp_media.c:389)\n  Liberado por la tarea 9549:\n   tipc_node_link_down (net/tipc/node.c:1084)\n   tipc_node_delete_links (net/tipc/node.c:1320)\n   bearer_disable (net/tipc/bearer.c:414)\n   __tipc_nl_bearer_disable (net/tipc/bearer.c:992)\n\nMueve la lectura de le -> link dentro de tipc_node_write_lock(), para que se serialice contra el kfree() en la ruta de eliminación. Una eliminación concurrente ahora o no se ha ejecutado todavía, y vemos un enlace válido, o ya se ha ejecutado, y vemos NULL."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/tipc/node.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"73f646cec35477b5099d7e952297cb9e1855be45","lessThan":"2be741ad565c610871a6a95062c12c39da7168fd","versionType":"git","status":"affected"},{"version":"73f646cec35477b5099d7e952297cb9e1855be45","lessThan":"69d209461c110388710e483a130caf051e4fd09a","versionType":"git","status":"affected"},{"version":"73f646cec35477b5099d7e952297cb9e1855be45","lessThan":"de017c22135f545ca4e65d1eada22887b64958eb","versionType":"git","status":"affected"},{"version":"73f646cec35477b5099d7e952297cb9e1855be45","lessThan":"47ba70891b10b2feb52462086b7fcd2ad75d3ce3","versionType":"git","status":"affected"},{"version":"73f646cec35477b5099d7e952297cb9e1855be45","lessThan":"a714d62513befef37f71f4ae89bb1fe173b65f2e","versionType":"git","status":"affected"},{"version":"73f646cec35477b5099d7e952297cb9e1855be45","lessThan":"c3f2347a47754eac690967cfd82cb6d559817b07","versionType":"git","status":"affected"},{"version":"73f646cec35477b5099d7e952297cb9e1855be45","lessThan":"5558a8312452ddb21eff22b1cbd84302ad951944","versionType":"git","status":"affected"},{"version":"73f646cec35477b5099d7e952297cb9e1855be45","lessThan":"cba9ccb47e9fa4cc77692fb896cc5ab57a667882","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/tipc/node.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.4","status":"affected"},{"version":"0","lessThan":"4.4","versionType":"semver","status":"unaffected"},{"version":"5.10.265","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.216","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.183","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.152","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.104","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.45","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.1.9","lessThanOrEqual":"7.1.*","versionType":"semver","status":"unaffected"},{"version":"7.2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-16T19:02:14.527164Z","id":"CVE-2026-74609","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"references":[{"url":"https://git.kernel.org/stable/c/2be741ad565c610871a6a95062c12c39da7168fd","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/47ba70891b10b2feb52462086b7fcd2ad75d3ce3","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5558a8312452ddb21eff22b1cbd84302ad951944","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/69d209461c110388710e483a130caf051e4fd09a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a714d62513befef37f71f4ae89bb1fe173b65f2e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c3f2347a47754eac690967cfd82cb6d559817b07","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/cba9ccb47e9fa4cc77692fb896cc5ab57a667882","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/de017c22135f545ca4e65d1eada22887b64958eb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}