tipc: fix refcount panic in tipc_rcv() when receiving shared skb
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
tipc: fix refcount panic in tipc_rcv() when receiving shared skb
TIPC assumes that the received skb is not shared with other users. However, syzbot reports a bug triggered by receiving a shared skb:
... RIP: 0010:pskb_expand_head+0x135a/0x13a0 net/core/skbuff.c:2308 __pskb_pull_tail+0x111/0x1870 net/core/skbuff.c:2890 skb_cow_data+0x2ed/0xc50 net/core/skbuff.c:5398 tipc_aead_decrypt net/tipc/crypto.c:892 [inline] tipc_crypto_rcv+0x346/0x23d0 net/tipc/crypto.c:1843 tipc_rcv+0x4b7/0x1040 net/tipc/node.c:2119 tipc_l2_rcv_msg+0x2d9/0x470 net/tipc/bearer.c:669 deliver_ptype_list_skb net/core/dev.c:2533 [inline] ...
The root cause is that local delivery hooks in the kernel (e.g., deliver_skb()) may increment the skb's reference count (`users`) before TIPC processes it on ingress.
Fix this by calling skb_share_check() to ensure exclusive ownership before passing the skb to tipc_rcv(). As TIPC needs to modify the skb's data, the cloned skb needs to be uncloned when needed. This can be addressed in separate patch.
| Product | Versions |
|---|---|
| Linux Linux | b97bf3fd8f6a16966d4f18983b2c40993ff937d4 to before faf0a41c809dd2625774c879b968b5d5cc74675e Affectedb97bf3fd8f6a16966d4f18983b2c40993ff937d4 to before 5307745159b2aff9517f495924a567ce01a523b1 Affectedb97bf3fd8f6a16966d4f18983b2c40993ff937d4 to before 18f7c182a2abdcfc3b7ff7bc00035896dbfd28f0 Affectedb97bf3fd8f6a16966d4f18983b2c40993ff937d4 to before 0b45ca14891a438a7e0694fc72ca76dcb5d9e511 Affectedb97bf3fd8f6a16966d4f18983b2c40993ff937d4 to before 227d864b37f2e069a13181e1cad0790a39b9d730 Affectedb97bf3fd8f6a16966d4f18983b2c40993ff937d4 to before 410e0e7b60294372718cb2175de4a95a744156e2 Affectedb97bf3fd8f6a16966d4f18983b2c40993ff937d4 to before c83e717d431ebb55ffa200c384f26512a38e07f3 Affectedb97bf3fd8f6a16966d4f18983b2c40993ff937d4 to before 5308a2049b764aa55513c90c68933abf596c51d2 Affected |
| Linux Linux | 2.6.16 Affectedbefore 2.6.16 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/faf0a41c809dd2625774c879b968b5d5cc74675e
- https://git.kernel.org/stable/c/5307745159b2aff9517f495924a567ce01a523b1
- https://git.kernel.org/stable/c/18f7c182a2abdcfc3b7ff7bc00035896dbfd28f0
- https://git.kernel.org/stable/c/0b45ca14891a438a7e0694fc72ca76dcb5d9e511
- https://git.kernel.org/stable/c/227d864b37f2e069a13181e1cad0790a39b9d730
- https://git.kernel.org/stable/c/410e0e7b60294372718cb2175de4a95a744156e2
- https://git.kernel.org/stable/c/c83e717d431ebb55ffa200c384f26512a38e07f3
- https://git.kernel.org/stable/c/5308a2049b764aa55513c90c68933abf596c51d2
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.