tipc: fix slab-use-after-free Read in tipc_aead_decrypt_done
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 16 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
In the Linux kernel, the following vulnerability has been resolved: tipc: fix slab-use-after-free Read in tipc_aead_decrypt_done tipc_aead_decrypt() goes straight from tipc_bearer_hold(b) to crypto_aead_decrypt(req) without taking a reference on the netns, unlike the encrypt path. When crypto_aead_decrypt() is offloaded asynchronously (e.g. the SIMD aead wrapper queuing to cryptd), the cryptd worker runs tipc_aead_decrypt_done() later. If the bearer's netns is torn down in the meantime, cleanup_net() -> tipc_exit_net() -> tipc_crypto_stop() frees the per-netns tipc_crypto, and the completion then reads it: tipc_aead_decrypt_done() dereferences aead->crypto->stats and aead->crypto->net, and tipc_crypto_rcv_complete() dereferences aead->crypto->aead[] and the node table -- reading freed memory. Decoded KASAN splat (v7.1-rc7, CONFIG_KASAN_INLINE + TIPC + TIPC_CRYPTO): BUG: KASAN: slab-use-after-free in tipc_aead_decrypt_done (net/tipc/crypto.c:999) Read of size 8 at addr ffff8881056258a8 by task kworker/u16:2/51 Workqueue: events_unbound Call Trace: tipc_aead_decrypt_done (net/tipc/crypto.c:999) process_one_work (kernel/workqueue.c:3314) worker_thread (kernel/workqueue.c:3397 kernel/workqueue.c:3478) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) Allocated by task 169: __kasan_kmalloc (mm/kasan/common.c:398 mm/kasan/common.c:415) tipc_crypto_start (net/tipc/crypto.c:1502) tipc_init_net (net/tipc/core.c:72) ops_init (net/core/net_namespace.c:137) setup_net (net/core/net_namespace.c:446) copy_net_ns (net/core/net_namespace.c:579) create_new_namespaces (kernel/nsproxy.c:132) __x64_sys_unshare (kernel/fork.c:3316) do_syscall_64 (arch/x86/entry/syscall_64.c:63) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) Freed by task 8: kfree (mm/slub.c:6566) tipc_exit_net (net/tipc/core.c:119) cleanup_net (net/core/net_namespace.c:704) process_one_work (kernel/workqueue.c:3314) kthread (kernel/kthread.c:436) This is the same class of bug that commit e279024617134 ("net/tipc: fix slab-use-after-free Read in tipc_aead_encrypt_done") fixed for the encrypt side. The encrypt path takes maybe_get_net(aead->crypto->net) before crypto_aead_encrypt() and drops it with put_net() on the synchronous return paths and in tipc_aead_encrypt_done(); the -EINPROGRESS/-EBUSY return keeps the reference for the async callback to release. The decrypt path was left without the equivalent guard. Mirror the encrypt-side fix on the decrypt path: take a net reference before crypto_aead_decrypt() (failing with -ENODEV and the matching bearer put if it cannot be acquired), keep it across the -EINPROGRESS/-EBUSY async return, and drop it with put_net() on the synchronous success/error return and at the end of tipc_aead_decrypt_done(). Reproduced under KASAN on v7.1-rc7: a UDP bearer with a cluster key is flooded with crafted encrypted frames from an unknown peer (driving the cluster-key decrypt path) while the bearer's netns is repeatedly torn down. The completion must run asynchronously to outlive tipc_crypto_stop(); on x86 the stock aesni gcm(aes) now decrypts synchronously, so the async path was exercised via cryptd offload. The unguarded aead->crypto dereference in tipc_aead_decrypt_done() is the unpatched upstream path; tipc_aead_decrypt() still lacks maybe_get_net(aead->crypto->net), so the completion can outlive the free on any config where crypto_aead_decrypt() goes async. Found by 0sec automated security-research tooling (https://0sec.ai).
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.5 and later | 5.10.260, 5.15.211, 6.1.177, 6.6.144, 6.12.95, 6.18.38, 7.1.3, 7.2 | Patch available | CNA |
- Linux VendorLinux Affected 5.5 and later Fixed in 5.10.260, 5.15.211, 6.1.177, 6.6.144, 6.12.95, 6.18.38, 7.1.3, 7.2 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.5 to before 5.10.260; 5.11 to before 5.15.211; 5.16 to before 6.1.177; 6.2 to before 6.6.144; 6.7 to before 6.12.95; 6.13 to before 6.18.38; 6.19 to before 7.1.3 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.5 to before 5.10.260; 5.11 to before 5.15.211; 5.16 to before 6.1.177; 6.2 to before 6.6.144; 6.7 to before 6.12.95; 6.13 to before 6.18.38; 6.19 to before 7.1.3 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.260, 5.15.211, 6.1.177, 6.6.144, 6.12.95, 6.18.38, 7.1.3, 7.2
Red Hat 4 advisories
- RHSA-2026:85321 Released 2026-10-19 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- 10Base-SMTV kernel-modules-internal-6.12.0-211.67.1.el10_2
- Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-211.67.1.el10_2, kernel-64k-debug-devel-matched-6.12.0-211.67.1.el10_2, kernel-64k-devel-6.12.0-211.67.1.el10_2 +12
- Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-211.67.1.el10_2, kernel-64k-6.12.0-211.67.1.el10_2, kernel-64k-core-6.12.0-211.67.1.el10_2 +29
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-211.67.1.el10_2, libperf-6.12.0-211.67.1.el10_2
- Red Hat Enterprise Linux Hidden (v. 10) kernel-modules-internal-6.12.0-211.67.1.el10_2
- Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-211.67.1.el10_2, kernel-rt-64k-6.12.0-211.67.1.el10_2, kernel-rt-64k-core-6.12.0-211.67.1.el10_2 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-211.67.1.el10_2, kernel-rt-core-6.12.0-211.67.1.el10_2, kernel-rt-debug-6.12.0-211.67.1.el10_2 +9
- RHSA-2026:67150 Released 2026-09-14 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-687.47.1.el9_8, kernel-64k-debug-devel-matched-5.14.0-687.47.1.el9_8, kernel-64k-devel-5.14.0-687.47.1.el9_8 +12
- Red Hat Enterprise Linux BaseOS (v. 9) kernel-5.14.0-687.47.1.el9_8, kernel-64k-5.14.0-687.47.1.el9_8, kernel-64k-core-5.14.0-687.47.1.el9_8 +28
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-687.47.1.el9_8, libperf-5.14.0-687.47.1.el9_8
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-687.47.1.el9_8, kernel-rt-64k-5.14.0-687.47.1.el9_8, kernel-rt-64k-core-5.14.0-687.47.1.el9_8 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-687.47.1.el9_8, kernel-rt-core-5.14.0-687.47.1.el9_8, kernel-rt-debug-5.14.0-687.47.1.el9_8 +9
- RHSA-2026:66325 Released 2026-09-10 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.162.1.el8_10, kernel-4.18.0-553.162.1.el8_10, kernel-abi-stablelists-4.18.0-553.162.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.162.1.el8_10
Show 1 more Red Hat advisories
- RHSA-2026:66324 Released 2026-09-10 · Red Hat rating Importantkernel-rt security, bug fix, and enhancement update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.162.1.rt7.503.el8_10, kernel-rt-core-4.18.0-553.162.1.rt7.503.el8_10, kernel-rt-debug-4.18.0-553.162.1.rt7.503.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.162.1.rt7.503.el8_10, kernel-rt-core-4.18.0-553.162.1.rt7.503.el8_10, kernel-rt-debug-4.18.0-553.162.1.rt7.503.el8_10 +7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| 10Base-SMTV | Fixed | RHSA-2026:85321 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:85321 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:67150 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:85321 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2026:66325 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2026:67150 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2026:66325 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:85321 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:67150 |
| Red Hat Enterprise Linux Hidden (v. 10) | Fixed | RHSA-2026:85321 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2026:66324 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2026:66324 |
| Red Hat Enterprise Linux Real Time (v. 10) | Fixed | RHSA-2026:85321 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2026:67150 |
| Red Hat Enterprise Linux Real Time for NFV (v. 10) | Fixed | RHSA-2026:85321 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2026:67150 |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2026-63801
- 2026-10-03 Alias added: GHSA-xqwj-phvh-5pp9
- 2026-10-16 CISA SSVC decision points changed
- 2026-10-16 Priority changed: LOW → MEDIUM
- 2026-10-19 Weakness changed · CISA ADP
- 2026-10-20 Fix available: RHSA-2026:85321 · Red Hat
- 2026-10-20 Fix available: 10Base-SMTV, Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux BaseOS (v. 10) +4 · Red Hat
- 2026-11-06 CVSS score changed · Red Hat
References
Patch 8
- https://git.kernel.org/stable/c/171d31245d11bf84836fad3b394cb465a4d008ec
- https://git.kernel.org/stable/c/2d1f21419ec121232c916d3a3fc9b6766473a0e7
- https://git.kernel.org/stable/c/0a780653b2a7569a7af9be7d0b00b1251baca63a
- https://git.kernel.org/stable/c/eaca7dae02fab70c8d223cffe03cec1b93249ce2
- https://git.kernel.org/stable/c/dca7713fe044a2067387948557ea099056e1679e
- https://git.kernel.org/stable/c/e18769616fd5a90ec1e12aabbba544c488284292
- https://git.kernel.org/stable/c/1eea5e1820a2f5164d706bd1277bc97ff31ce32d
- https://git.kernel.org/stable/c/bda3348872a2ef0d19f2df6aa8cb5025adce2f20
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2026-63801 · CVE Program
- CVE-2026-63801 · NVD
- FIRST EPSS
- GHSA-xqwj-phvh-5pp9 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-63801 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences