Linux
tipc: reject inverted service ranges from peer bindings
In the Linux kernel, the following vulnerability has been resolved: tipc: reject inverted service ranges from peer bindings tipc_update_nametbl() inserts a binding advertised by a peer node using the lower and upper service-range bounds taken directly from the wire, without checking that lower <= upper. The local bind path validates the ordering (tipc_uaddr_valid()), but the name-distribution path does not. A binding with lower > upper is inserted at the far end of the service-range rbtree (keyed on lower) where no lookup or withdrawal can ever match it (service_range_foreach_match() requires sr->lower <= end). The publication, its service_range node and the augmented rbtree entry are then leaked for the lifetime of the namespace, and there is no per-peer cap equivalent to TIPC_MAX_PUBL on locally created bindings. Reject inverted ranges in the network path as well. A peer node can otherwise leak unbounded binding-table memory by sending PUBLICATION items with lower > upper.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 37922ea4a3105176357c8d565a9d982c4a08714a, < cd1955f81bd8ebeef51b324989ac871ad1947fb6
- >= 37922ea4a3105176357c8d565a9d982c4a08714a, < f683200b83a0085d4e11abea8c1fdd9fdfb95b0b
- >= 37922ea4a3105176357c8d565a9d982c4a08714a, < f1715d92ee3095d9215b493a8603a81f646fcf61
- >= 37922ea4a3105176357c8d565a9d982c4a08714a, < 581ef56e5c34d475056ce086dc2ba0e872ba6857
- >= 37922ea4a3105176357c8d565a9d982c4a08714a, < 7e401233f9bb74a626e70698d0d62f3a94ac0676
- >= 37922ea4a3105176357c8d565a9d982c4a08714a, < 973bf0ed896b9898668dbadb82ed849d7d573010
- >= 37922ea4a3105176357c8d565a9d982c4a08714a, < 2afb648f7b99216c687db1f89739c995e1144153
Fixed in cd1955f81bd8ebeef51b324989ac871ad1947fb6, f683200b83a0085d4e11abea8c1fdd9fdfb95b0b, f1715d92ee3095d9215b493a8603a81f646fcf61, 581ef56e5c34d475056ce086dc2ba0e872ba6857, 7e401233f9bb74a626e70698d0d62f3a94ac0676, 973bf0ed896b9898668dbadb82ed849d7d573010, 2afb648f7b99216c687db1f89739c995e1144153
- 4.17
Fixed in 0, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to cd1955f81bd8ebeef51b324989ac871ad1947fb6 or f683200b83a0085d4e11abea8c1fdd9fdfb95b0b or f1715d92ee3095d9215b493a8603a81f646fcf61 or 581ef56e5c34d475056ce086dc2ba0e872ba6857 or 7e401233f9bb74a626e70698d0d62f3a94ac0676 or 973bf0ed896b9898668dbadb82ed849d7d573010 or 2afb648f7b99216c687db1f89739c995e1144153 or later.
Upgrade Linux to 0 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.