tipc: require net admin for TIPCv2 netlink mutators
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 0655f6a8635b1b66f2434d5556b1044c14b1ccaf · fixed in b06fb5f78a9af0929aaa47c92d0b7bca0617fb25; From 0655f6a8635b1b66f2434d5556b1044c14b1ccaf · fixed in 52864c6c13dcc292481eabfeb3c31a86c3ec06f2; From 0655f6a8635b1b66f2434d5556b1044c14b1ccaf · fixed in e87dcc1a644d087de0bb6c94c6dd28c29b89597f; From 0655f6a8635b1b66f2434d5556b1044c14b1ccaf · fixed in 9b937de4b3ded62a24da6e8d9d623cdb2748fa74; From 0655f6a8635b1b66f2434d5556b1044c14b1ccaf · fixed in c9668a4adb2264625daeeabc7466b783badd4614; From 0655f6a8635b1b66f2434d5556b1044c14b1ccaf · fixed in cebaefe1aceb650d5c99a4c0e1a4dde09e211818; From 0655f6a8635b1b66f2434d5556b1044c14b1ccaf · fixed in 56f0a2e0a1d004e025cd031c3a801ab73959269f; From 0655f6a8635b1b66f2434d5556b1044c14b1ccaf · fixed in 86b0c540e2ea397cde021eecd24145f7c16a3d4e
- Linux Linux
3.19
- KernelLinux
From 3.19.0 · fixed in 5.10.261; From 5.11.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5
References 8
git.kernel.org
- stable/c/b06fb5f78a9af0929aaa47c92d0b7bca0617fb25
- stable/c/52864c6c13dcc292481eabfeb3c31a86c3ec06f2
- stable/c/e87dcc1a644d087de0bb6c94c6dd28c29b89597f
- stable/c/9b937de4b3ded62a24da6e8d9d623cdb2748fa74
- stable/c/c9668a4adb2264625daeeabc7466b783badd4614
- stable/c/cebaefe1aceb650d5c99a4c0e1a4dde09e211818
- stable/c/56f0a2e0a1d004e025cd031c3a801ab73959269f
- stable/c/86b0c540e2ea397cde021eecd24145f7c16a3d4e