{"api_version":"1","generated_at":"2026-11-30T18:38:08+00:00","cve":"CVE-2026-139218","urls":{"html":"https://cve.report/CVE-2026-139218","api":"https://cve.report/api/cve/CVE-2026-139218.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139218","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139218"},"summary":{"title":"tipc: fix use-after-free of broadcast reception link at node release","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: fix use-after-free of broadcast reception link at node release\n\nWhen the last reference to a tipc_node is dropped, the node itself is\ndeferred to the RCU callback tipc_node_free(), but the nested broadcast\nreception link, n->bc_entry.link, is kfree()d synchronously in\ntipc_node_kref_release(), before call_rcu(), and the pointer is never\ncleared.  Readers that obtained the node from node_list and then\ndereference bc_entry.link deep into the link (tipc_link_name() in\ntipc_nl_node_reset_link_stats(), bcl->name/stats in\ntipc_nl_add_bc_link() on the link dump path) therefore touch freed\nmemory although the enclosing node stays alive for a full grace period.\nThe sibling per-bearer links get \"kfree + NULL\" under the node write\nlock in tipc_node_clear_links(); the broadcast entry was missed.\n\nThe race is reachable through the node cleanup timer: once a peer has\nbeen unreachable for NODE_CLEANUP_AFTER (300 s), tipc_node_timeout() ->\ntipc_node_cleanup() unlinks the node under the write lock, and the\nfinal tipc_node_put() at the caller runs outside node_list_lock, so the\nkfree executes in timer softirq context, concurrently with genl dump/\nreset walkers that hold only rcu_read_lock().  (A netlink \"peer remove\"\ncannot race those walkers itself: tipc_genl_family has no parallel_ops,\nso all doit/dumpit calls serialize on the global genl lock.)\n\nReproduced in a QEMU/KVM guest running v7.3.0 with KASAN and\nPREEMPT(full): 10 TIPC peer namespaces on veth bearers, bearer removal\nstaggered so the 300 s node cleanup timers expire while other tasks\nloop link dumps with the broadcast filter and reset-link-stats lookups.\nKASAN hit within two cleanup cycles:\n\n  BUG: KASAN: slab-use-after-free in strlen+0x85/0xa0\n  Read of size 1 at addr ffff88800b54a004 by task poc_eth/371\n   strlen+0x85/0xa0\n   tipc_nl_add_bc_link+0x2f9/0xd40\n   __tipc_nl_add_node_links+0x10c/0x140\n   tipc_nl_node_dump_link+0x8d5/0xd50\n  Freed by task 0:\n   kfree+0x121/0x380\n   tipc_node_timeout+0xa33/0xcf0\n   run_timer_softirq+0x144/0x250\n   sysvec_apic_timer_interrupt\n\nwith the freed object being the kmalloc-1k tipc_link allocated by\ntipc_link_bc_create() during peer discovery.  The same defect fires in\nstrcmp() called from tipc_nl_node_reset_link_stats().\n\nMove the kfree of n->bc_entry.link into the tipc_node_free() RCU\ncallback so the broadcast link lives exactly as long as the enclosing\nnode.  All readers are covered: the netlink walkers are inside\nrcu_read_lock(), and the packet reception path reaches the node via\ntipc_node_find(), whose kref defers kref_release itself.\n\nFound during a static-analysis-assisted audit: candidate sites were\nsurfaced by a Coccinelle rule, and the reader/writer paths were\nconfirmed by LLM-assisted (GLM-5.3) code inspection.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:42","updated_at":"2026-11-30 14:18:42"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/970c0081de51a3025db135d966fab5f588113afa","name":"https://git.kernel.org/stable/c/970c0081de51a3025db135d966fab5f588113afa","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4da2e019ad2f3b07523717731eb3f7b793b3db2f","name":"https://git.kernel.org/stable/c/4da2e019ad2f3b07523717731eb3f7b793b3db2f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/11c64df89050b7e1b84b2605b62c1a83641b13fe","name":"https://git.kernel.org/stable/c/11c64df89050b7e1b84b2605b62c1a83641b13fe","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f3ddb30b531230ef757f1fa642498677f4474e50","name":"https://git.kernel.org/stable/c/f3ddb30b531230ef757f1fa642498677f4474e50","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2a4c7cdbaf1623f09c71ab20434cc637c2bbc994","name":"https://git.kernel.org/stable/c/2a4c7cdbaf1623f09c71ab20434cc637c2bbc994","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a8cf5f0799fc014c49f016651293a93f9b433898","name":"https://git.kernel.org/stable/c/a8cf5f0799fc014c49f016651293a93f9b433898","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/473167593f42551ce6b00c05cee8cd20309d45ac","name":"https://git.kernel.org/stable/c/473167593f42551ce6b00c05cee8cd20309d45ac","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/951c5b16f65143b6aaa40aeb3189ffb97e444d90","name":"https://git.kernel.org/stable/c/951c5b16f65143b6aaa40aeb3189ffb97e444d90","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139218","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139218","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d25a01257e422a4bdeb426f69529d57c73b235fe 970c0081de51a3025db135d966fab5f588113afa git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d25a01257e422a4bdeb426f69529d57c73b235fe 951c5b16f65143b6aaa40aeb3189ffb97e444d90 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d25a01257e422a4bdeb426f69529d57c73b235fe f3ddb30b531230ef757f1fa642498677f4474e50 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d25a01257e422a4bdeb426f69529d57c73b235fe 2a4c7cdbaf1623f09c71ab20434cc637c2bbc994 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d25a01257e422a4bdeb426f69529d57c73b235fe 4da2e019ad2f3b07523717731eb3f7b793b3db2f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d25a01257e422a4bdeb426f69529d57c73b235fe a8cf5f0799fc014c49f016651293a93f9b433898 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d25a01257e422a4bdeb426f69529d57c73b235fe 11c64df89050b7e1b84b2605b62c1a83641b13fe git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d25a01257e422a4bdeb426f69529d57c73b235fe 473167593f42551ce6b00c05cee8cd20309d45ac git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6862fa9077dea0ec2ba5e6ea7c7f90b786288596 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.4.64 4.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.6","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.6 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/tipc/node.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"970c0081de51a3025db135d966fab5f588113afa","status":"affected","version":"d25a01257e422a4bdeb426f69529d57c73b235fe","versionType":"git"},{"lessThan":"951c5b16f65143b6aaa40aeb3189ffb97e444d90","status":"affected","version":"d25a01257e422a4bdeb426f69529d57c73b235fe","versionType":"git"},{"lessThan":"f3ddb30b531230ef757f1fa642498677f4474e50","status":"affected","version":"d25a01257e422a4bdeb426f69529d57c73b235fe","versionType":"git"},{"lessThan":"2a4c7cdbaf1623f09c71ab20434cc637c2bbc994","status":"affected","version":"d25a01257e422a4bdeb426f69529d57c73b235fe","versionType":"git"},{"lessThan":"4da2e019ad2f3b07523717731eb3f7b793b3db2f","status":"affected","version":"d25a01257e422a4bdeb426f69529d57c73b235fe","versionType":"git"},{"lessThan":"a8cf5f0799fc014c49f016651293a93f9b433898","status":"affected","version":"d25a01257e422a4bdeb426f69529d57c73b235fe","versionType":"git"},{"lessThan":"11c64df89050b7e1b84b2605b62c1a83641b13fe","status":"affected","version":"d25a01257e422a4bdeb426f69529d57c73b235fe","versionType":"git"},{"lessThan":"473167593f42551ce6b00c05cee8cd20309d45ac","status":"affected","version":"d25a01257e422a4bdeb426f69529d57c73b235fe","versionType":"git"},{"status":"affected","version":"6862fa9077dea0ec2ba5e6ea7c7f90b786288596","versionType":"git"},{"lessThan":"4.5","status":"affected","version":"4.4.64","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/tipc/node.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.6"},{"lessThan":"4.6","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"4.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"4.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"4.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"4.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"4.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"4.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"4.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"4.6","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4.64","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: fix use-after-free of broadcast reception link at node release\n\nWhen the last reference to a tipc_node is dropped, the node itself is\ndeferred to the RCU callback tipc_node_free(), but the nested broadcast\nreception link, n->bc_entry.link, is kfree()d synchronously in\ntipc_node_kref_release(), before call_rcu(), and the pointer is never\ncleared.  Readers that obtained the node from node_list and then\ndereference bc_entry.link deep into the link (tipc_link_name() in\ntipc_nl_node_reset_link_stats(), bcl->name/stats in\ntipc_nl_add_bc_link() on the link dump path) therefore touch freed\nmemory although the enclosing node stays alive for a full grace period.\nThe sibling per-bearer links get \"kfree + NULL\" under the node write\nlock in tipc_node_clear_links(); the broadcast entry was missed.\n\nThe race is reachable through the node cleanup timer: once a peer has\nbeen unreachable for NODE_CLEANUP_AFTER (300 s), tipc_node_timeout() ->\ntipc_node_cleanup() unlinks the node under the write lock, and the\nfinal tipc_node_put() at the caller runs outside node_list_lock, so the\nkfree executes in timer softirq context, concurrently with genl dump/\nreset walkers that hold only rcu_read_lock().  (A netlink \"peer remove\"\ncannot race those walkers itself: tipc_genl_family has no parallel_ops,\nso all doit/dumpit calls serialize on the global genl lock.)\n\nReproduced in a QEMU/KVM guest running v7.3.0 with KASAN and\nPREEMPT(full): 10 TIPC peer namespaces on veth bearers, bearer removal\nstaggered so the 300 s node cleanup timers expire while other tasks\nloop link dumps with the broadcast filter and reset-link-stats lookups.\nKASAN hit within two cleanup cycles:\n\n  BUG: KASAN: slab-use-after-free in strlen+0x85/0xa0\n  Read of size 1 at addr ffff88800b54a004 by task poc_eth/371\n   strlen+0x85/0xa0\n   tipc_nl_add_bc_link+0x2f9/0xd40\n   __tipc_nl_add_node_links+0x10c/0x140\n   tipc_nl_node_dump_link+0x8d5/0xd50\n  Freed by task 0:\n   kfree+0x121/0x380\n   tipc_node_timeout+0xa33/0xcf0\n   run_timer_softirq+0x144/0x250\n   sysvec_apic_timer_interrupt\n\nwith the freed object being the kmalloc-1k tipc_link allocated by\ntipc_link_bc_create() during peer discovery.  The same defect fires in\nstrcmp() called from tipc_nl_node_reset_link_stats().\n\nMove the kfree of n->bc_entry.link into the tipc_node_free() RCU\ncallback so the broadcast link lives exactly as long as the enclosing\nnode.  All readers are covered: the netlink walkers are inside\nrcu_read_lock(), and the packet reception path reaches the node via\ntipc_node_find(), whose kref defers kref_release itself.\n\nFound during a static-analysis-assisted audit: candidate sites were\nsurfaced by a Coccinelle rule, and the reader/writer paths were\nconfirmed by LLM-assisted (GLM-5.3) code inspection."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:41.032Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/970c0081de51a3025db135d966fab5f588113afa"},{"url":"https://git.kernel.org/stable/c/951c5b16f65143b6aaa40aeb3189ffb97e444d90"},{"url":"https://git.kernel.org/stable/c/f3ddb30b531230ef757f1fa642498677f4474e50"},{"url":"https://git.kernel.org/stable/c/2a4c7cdbaf1623f09c71ab20434cc637c2bbc994"},{"url":"https://git.kernel.org/stable/c/4da2e019ad2f3b07523717731eb3f7b793b3db2f"},{"url":"https://git.kernel.org/stable/c/a8cf5f0799fc014c49f016651293a93f9b433898"},{"url":"https://git.kernel.org/stable/c/11c64df89050b7e1b84b2605b62c1a83641b13fe"},{"url":"https://git.kernel.org/stable/c/473167593f42551ce6b00c05cee8cd20309d45ac"}],"title":"tipc: fix use-after-free of broadcast reception link at node release","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139218","datePublished":"2026-11-30T13:32:41.032Z","dateReserved":"2026-11-30T13:22:15.921Z","dateUpdated":"2026-11-30T13:32:41.032Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:42","lastModifiedDate":"2026-11-30 14:18:42","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139218","Ordinal":"1","Title":"tipc: fix use-after-free of broadcast reception link at node rel","CVE":"CVE-2026-139218","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139218","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ntipc: fix use-after-free of broadcast reception link at node release\n\nWhen the last reference to a tipc_node is dropped, the node itself is\ndeferred to the RCU callback tipc_node_free(), but the nested broadcast\nreception link, n->bc_entry.link, is kfree()d synchronously in\ntipc_node_kref_release(), before call_rcu(), and the pointer is never\ncleared.  Readers that obtained the node from node_list and then\ndereference bc_entry.link deep into the link (tipc_link_name() in\ntipc_nl_node_reset_link_stats(), bcl->name/stats in\ntipc_nl_add_bc_link() on the link dump path) therefore touch freed\nmemory although the enclosing node stays alive for a full grace period.\nThe sibling per-bearer links get \"kfree + NULL\" under the node write\nlock in tipc_node_clear_links(); the broadcast entry was missed.\n\nThe race is reachable through the node cleanup timer: once a peer has\nbeen unreachable for NODE_CLEANUP_AFTER (300 s), tipc_node_timeout() ->\ntipc_node_cleanup() unlinks the node under the write lock, and the\nfinal tipc_node_put() at the caller runs outside node_list_lock, so the\nkfree executes in timer softirq context, concurrently with genl dump/\nreset walkers that hold only rcu_read_lock().  (A netlink \"peer remove\"\ncannot race those walkers itself: tipc_genl_family has no parallel_ops,\nso all doit/dumpit calls serialize on the global genl lock.)\n\nReproduced in a QEMU/KVM guest running v7.3.0 with KASAN and\nPREEMPT(full): 10 TIPC peer namespaces on veth bearers, bearer removal\nstaggered so the 300 s node cleanup timers expire while other tasks\nloop link dumps with the broadcast filter and reset-link-stats lookups.\nKASAN hit within two cleanup cycles:\n\n  BUG: KASAN: slab-use-after-free in strlen+0x85/0xa0\n  Read of size 1 at addr ffff88800b54a004 by task poc_eth/371\n   strlen+0x85/0xa0\n   tipc_nl_add_bc_link+0x2f9/0xd40\n   __tipc_nl_add_node_links+0x10c/0x140\n   tipc_nl_node_dump_link+0x8d5/0xd50\n  Freed by task 0:\n   kfree+0x121/0x380\n   tipc_node_timeout+0xa33/0xcf0\n   run_timer_softirq+0x144/0x250\n   sysvec_apic_timer_interrupt\n\nwith the freed object being the kmalloc-1k tipc_link allocated by\ntipc_link_bc_create() during peer discovery.  The same defect fires in\nstrcmp() called from tipc_nl_node_reset_link_stats().\n\nMove the kfree of n->bc_entry.link into the tipc_node_free() RCU\ncallback so the broadcast link lives exactly as long as the enclosing\nnode.  All readers are covered: the netlink walkers are inside\nrcu_read_lock(), and the packet reception path reaches the node via\ntipc_node_find(), whose kref defers kref_release itself.\n\nFound during a static-analysis-assisted audit: candidate sites were\nsurfaced by a Coccinelle rule, and the reader/writer paths were\nconfirmed by LLM-assisted (GLM-5.3) code inspection.","Type":"Description","Title":"tipc: fix use-after-free of broadcast reception link at node rel"}]}}}