AZL-117304: CVE-2026-139709 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
sit: charge iptunnelprlentry allocations to memcg
ipip6tunneladdprl() allocates struct iptunnelprlentry for each potential router entry added via SIOCADDPRL. An unprivileged user with CAPNETADMIN in a user namespace can add an unbounded number of entries, consuming uncharged kernel memory.
Commit 1b51d8271973 ("memcg: ipv6/sit: account and don't WARN on iptunnelprl structs allocation") added accounting to the temporary buffer in ipip6tunnelgetprl(), but missed the entry allocations in ipip6tunneladdprl().
Use GFPKERNELACCOUNT when allocating struct iptunnelprlentry.
Affected Software
Event History
Frequently Asked Questions
What level of access is required to exploit this issue?
An attacker needs CAP_NET_ADMIN within a user namespace. With that capability, they can repeatedly add potential-router entries through SIOCADDPRL.
What is the practical impact of exploitation?
An attacker can create an unbounded number of entries backed by kernel memory that is not charged to the memory cgroup. This can consume kernel memory and cause resource exhaustion.
What can be done if an updated kernel cannot be deployed immediately?
Prevent unprivileged users from obtaining CAP_NET_ADMIN in user namespaces, as this capability is required to add the affected entries.