{"id":"CVE-2026-139709","summary":"sit: charge ip_tunnel_prl_entry allocations to memcg","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsit: charge ip_tunnel_prl_entry allocations to memcg\n\nipip6_tunnel_add_prl() allocates struct ip_tunnel_prl_entry for each\npotential router entry added via SIOCADDPRL.\nAn unprivileged user with CAP_NET_ADMIN in a user namespace can add\nan unbounded number of entries, consuming uncharged kernel memory.\n\nCommit 1b51d8271973 (\"memcg: ipv6/sit: account and don't WARN on\nip_tunnel_prl structs allocation\") added accounting to the temporary\nbuffer in ipip6_tunnel_get_prl(), but missed the entry allocations\nin ipip6_tunnel_add_prl().\n\nUse GFP_KERNEL_ACCOUNT when allocating struct ip_tunnel_prl_entry.","modified":"2026-11-30T15:02:30.325501942Z","published":"2026-11-30T13:37:15.043Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139709.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40a2b90f5190fcc7b083809fa93f2799abefeeb1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/adce976c0c1cab403454225f2fde3d175804a62e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b01aaeb24d0eafcc1b43b60c17065ecabfbc8a02"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b1653742c1ad7313959aa0f4e8508192360b7059"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139709.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139709"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1b51d8271973e4966078f0c1a5cb061ae9a424d2"},{"fixed":"adce976c0c1cab403454225f2fde3d175804a62e"},{"fixed":"b01aaeb24d0eafcc1b43b60c17065ecabfbc8a02"},{"fixed":"b1653742c1ad7313959aa0f4e8508192360b7059"},{"fixed":"40a2b90f5190fcc7b083809fa93f2799abefeeb1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139709.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139709.json"}}],"schema_version":"1.9.2"}