Skip to contentSkip to conversation

CVE-2026-74283: tipc: require net admin for TIPCv2 netlink mutators

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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.

The Linux kernel CVE team has assigned CVE-2026-74283 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 3.19 with commit 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and fixed in 5.10.261 with commit b06fb5f78a9af0929aaa47c92d0b7bca0617fb25
	Issue introduced in 3.19 with commit 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and fixed in 5.15.212 with commit 52864c6c13dcc292481eabfeb3c31a86c3ec06f2
	Issue introduced in 3.19 with commit 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and fixed in 6.1.178 with commit e87dcc1a644d087de0bb6c94c6dd28c29b89597f
	Issue introduced in 3.19 with commit 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and fixed in 6.6.145 with commit 9b937de4b3ded62a24da6e8d9d623cdb2748fa74
	Issue introduced in 3.19 with commit 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and fixed in 6.12.97 with commit c9668a4adb2264625daeeabc7466b783badd4614
	Issue introduced in 3.19 with commit 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and fixed in 6.18.40 with commit cebaefe1aceb650d5c99a4c0e1a4dde09e211818
	Issue introduced in 3.19 with commit 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and fixed in 7.1.5 with commit 56f0a2e0a1d004e025cd031c3a801ab73959269f
	Issue introduced in 3.19 with commit 0655f6a8635b1b66f2434d5556b1044c14b1ccaf and fixed in 7.2-rc1 with commit 86b0c540e2ea397cde021eecd24145f7c16a3d4e

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-74283

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/tipc/netlink.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/b06fb5f78a9af0929aaa47c92d0b7bca0617fb25
	https://git.kernel.org/stable/c/52864c6c13dcc292481eabfeb3c31a86c3ec06f2
	https://git.kernel.org/stable/c/e87dcc1a644d087de0bb6c94c6dd28c29b89597f
	https://git.kernel.org/stable/c/9b937de4b3ded62a24da6e8d9d623cdb2748fa74
	https://git.kernel.org/stable/c/c9668a4adb2264625daeeabc7466b783badd4614
	https://git.kernel.org/stable/c/cebaefe1aceb650d5c99a4c0e1a4dde09e211818
	https://git.kernel.org/stable/c/56f0a2e0a1d004e025cd031c3a801ab73959269f
	https://git.kernel.org/stable/c/86b0c540e2ea397cde021eecd24145f7c16a3d4e