Linux kernel use-after-free read in TIPC broadcast link
- Exploited
- No known exploitation
- Fix
- Fixed in 4.5
- Who is exposed
- Not reported
Summary
In the Linux kernel, the following vulnerability has been resolved:
tipc: fix use-after-free of broadcast reception link at node release
When the last reference to a tipc_node is dropped, the node itself is deferred to the RCU callback tipc_node_free(), but the nested broadcast reception link, n->bc_entry.link, is kfree()d synchronously in tipc_node_kref_release(), before call_rcu(), and the pointer is never cleared. Readers that obtained the node from node_list and then dereference bc_entry.link deep into the link (tipc_link_name() in tipc_nl_node_reset_link_stats(), bcl->name/stats in tipc_nl_add_bc_link() on the link dump path) therefore touch freed memory although the enclosing node stays alive for a full grace period. The sibling per-bearer links get "kfree + NULL" under the node write lock in tipc_node_clear_links(); the broadcast entry was missed.
The race is reachable through the node cleanup timer: once a peer has been unreachable for NODE_CLEANUP_AFTER (300 s), tipc_node_timeout() -> tipc_node_cleanup() unlinks the node under the write lock, and the final tipc_node_put() at the caller runs outside node_list_lock, so the kfree executes in timer softirq context, concurrently with genl dump/ reset walkers that hold only rcu_read_lock(). (A netlink "peer remove" cannot race those walkers itself: tipc_genl_family has no parallel_ops, so all doit/dumpit calls serialize on the global genl lock.)
Reproduced in a QEMU/KVM guest running v7.3.0 with KASAN and PREEMPT(full): 10 TIPC peer namespaces on veth bearers, bearer removal staggered so the 300 s node cleanup timers expire while other tasks loop link dumps with the broadcast filter and reset-link-stats lookups. KASAN hit within two cleanup cycles:
BUG: KASAN: slab-use-after-free in strlen+0x85/0xa0 Read of size 1 at addr ffff88800b54a004 by task poc_eth/371 strlen+0x85/0xa0 tipc_nl_add_bc_link+0x2f9/0xd40 __tipc_nl_add_node_links+0x10c/0x140 tipc_nl_node_dump_link+0x8d5/0xd50 Freed by task 0: kfree+0x121/0x380 tipc_node_timeout+0xa33/0xcf0 run_timer_softirq+0x144/0x250 sysvec_apic_timer_interrupt
with the freed object being the kmalloc-1k tipc_link allocated by tipc_link_bc_create() during peer discovery. The same defect fires in strcmp() called from tipc_nl_node_reset_link_stats().
Move the kfree of n->bc_entry.link into the tipc_node_free() RCU callback so the broadcast link lives exactly as long as the enclosing node. All readers are covered: the netlink walkers are inside rcu_read_lock(), and the packet reception path reaches the node via tipc_node_find(), whose kref defers kref_release itself.
Found during a static-analysis-assisted audit: candidate sites were surfaced by a Coccinelle rule, and the reader/writer paths were confirmed by LLM-assisted (GLM-5.3) code inspection.
What to do
Upgrade to a fixed version: 4.5.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-139218 (tipc: fix use-after-free of broadcast reception link at node release), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-139218 (entry last updated 2026-12-01):
Affected:
- Linux Linux: from 4.4.64, fixed in 4.5
- Linux Linux: versions 4.6
Fixed versions: 4.5.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-139218 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-139218 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/970c0081de51a3025db135d966fab5f588113afa
- https://git.kernel.org/stable/c/951c5b16f65143b6aaa40aeb3189ffb97e444d90
- https://git.kernel.org/stable/c/f3ddb30b531230ef757f1fa642498677f4474e50
- https://git.kernel.org/stable/c/2a4c7cdbaf1623f09c71ab20434cc637c2bbc994
- https://git.kernel.org/stable/c/4da2e019ad2f3b07523717731eb3f7b793b3db2f
- https://git.kernel.org/stable/c/a8cf5f0799fc014c49f016651293a93f9b433898
- https://git.kernel.org/stable/c/11c64df89050b7e1b84b2605b62c1a83641b13fe
- https://git.kernel.org/stable/c/473167593f42551ce6b00c05cee8cd20309d45ac
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-139218
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-139218"}.Affected versions
- Linux LinuxFrom 4.4.64 · fixed in 4.5
- Linux Linux4.6
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach20/20Affects Linux kernel (software on nearly every server, desktop or phone)
- Severity7.8/10CVSS 7.8
- No patch0/5No signal
What would change the score
- Would score about 83 if added to CISA KEV
- Would score about 78 if CISA's SSVC rates exploitation active
- Would score about 50 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now1 day
- Record last updated
- Posted on X by cve.now
Evidence 10
Questions about CVE-2026-139218
Is CVE-2026-139218 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-139218?
Linux: from 4.4.64 before 4.5. Linux: version 4.6.
Source: cve.now feed data
How do I fix CVE-2026-139218?
Upgrade to a fixed version: 4.5.
Source: cve.now feed data
Related
- CVE-2026-142948i2c: designware: queue only one read command for block reads
- CVE-2026-142947cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails
- CVE-2026-142946ASoC: amd: acp-es8336: Switch to use acpi_bus_get_primary_device()
- CVE-2026-142945ASoC: amd: acp3x-es83xx: Switch to use acpi_bus_get_primary_device()
- CVE-2026-142944ASoC: amd: acp-es8336: Use an owned codec device reference
- CVE-2026-142943ASoC: amd: acp3x-es83xx: Keep an owned codec device reference
No corrections so far. Something wrong on this page? Report an error.