Linux
tipc: require net admin for TIPCv2 netlink mutators
In the Linux kernel, the following vulnerability has been resolved: tipc: require net admin for TIPCv2 netlink mutators TIPCv2 registers mutating generic-netlink operations without admin permission flags. Generic netlink only checks CAP_NET_ADMIN when an operation sets GENL_ADMIN_PERM or GENL_UNS_ADMIN_PERM, so a local unprivileged process can currently change TIPC state through commands such as TIPC_NL_NET_SET, TIPC_NL_KEY_SET, TIPC_NL_KEY_FLUSH, and bearer enable/disable. The legacy TIPC netlink API already checks netlink_net_capable(..., CAP_NET_ADMIN) for administrative commands. Give the TIPCv2 mutators the equivalent generic-netlink gate. Use GENL_UNS_ADMIN_PERM, which maps to the same namespace-aware CAP_NET_ADMIN check that netlink_net_capable() performs, so the behaviour matches the legacy path and keeps working for CAP_NET_ADMIN holders in a non-initial user namespace (containers). A QEMU/KASAN repro run as uid/gid 65534 with zero effective capabilities previously succeeded in changing the network id and node identity, setting and flushing key material, and enabling/disabling a UDP bearer. With this patch applied the same operations fail with -EPERM.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0655f6a8635b1b66f2434d5556b1044c14b1ccaf, < b06fb5f78a9af0929aaa47c92d0b7bca0617fb25
- >= 0655f6a8635b1b66f2434d5556b1044c14b1ccaf, < 52864c6c13dcc292481eabfeb3c31a86c3ec06f2
- >= 0655f6a8635b1b66f2434d5556b1044c14b1ccaf, < e87dcc1a644d087de0bb6c94c6dd28c29b89597f
- >= 0655f6a8635b1b66f2434d5556b1044c14b1ccaf, < 9b937de4b3ded62a24da6e8d9d623cdb2748fa74
- >= 0655f6a8635b1b66f2434d5556b1044c14b1ccaf, < c9668a4adb2264625daeeabc7466b783badd4614
- >= 0655f6a8635b1b66f2434d5556b1044c14b1ccaf, < cebaefe1aceb650d5c99a4c0e1a4dde09e211818
- >= 0655f6a8635b1b66f2434d5556b1044c14b1ccaf, < 56f0a2e0a1d004e025cd031c3a801ab73959269f
- >= 0655f6a8635b1b66f2434d5556b1044c14b1ccaf, < 86b0c540e2ea397cde021eecd24145f7c16a3d4e
Fixed in b06fb5f78a9af0929aaa47c92d0b7bca0617fb25, 52864c6c13dcc292481eabfeb3c31a86c3ec06f2, e87dcc1a644d087de0bb6c94c6dd28c29b89597f, 9b937de4b3ded62a24da6e8d9d623cdb2748fa74, c9668a4adb2264625daeeabc7466b783badd4614, cebaefe1aceb650d5c99a4c0e1a4dde09e211818, 56f0a2e0a1d004e025cd031c3a801ab73959269f, 86b0c540e2ea397cde021eecd24145f7c16a3d4e
- 3.19
Fixed in 0, 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to b06fb5f78a9af0929aaa47c92d0b7bca0617fb25 or 52864c6c13dcc292481eabfeb3c31a86c3ec06f2 or e87dcc1a644d087de0bb6c94c6dd28c29b89597f or 9b937de4b3ded62a24da6e8d9d623cdb2748fa74 or c9668a4adb2264625daeeabc7466b783badd4614 or cebaefe1aceb650d5c99a4c0e1a4dde09e211818 or 56f0a2e0a1d004e025cd031c3a801ab73959269f or 86b0c540e2ea397cde021eecd24145f7c16a3d4e or later.
Upgrade Linux to 0 or 5.10.261 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.