{"id":"CVE-2026-139709","state":"PUBLISHED","title":"sit: charge ip_tunnel_prl_entry allocations to memcg","description":"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.","publishedAt":"2026-11-30T13:37:15.043Z","updatedAt":"2026-11-30T13:37:15.043Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1b51d8271973e4966078f0c1a5cb061ae9a424d2","status":"affected","lessThan":"adce976c0c1cab403454225f2fde3d175804a62e","versionType":"git"},{"version":"1b51d8271973e4966078f0c1a5cb061ae9a424d2","status":"affected","lessThan":"b01aaeb24d0eafcc1b43b60c17065ecabfbc8a02","versionType":"git"},{"version":"1b51d8271973e4966078f0c1a5cb061ae9a424d2","status":"affected","lessThan":"b1653742c1ad7313959aa0f4e8508192360b7059","versionType":"git"},{"version":"1b51d8271973e4966078f0c1a5cb061ae9a424d2","status":"affected","lessThan":"40a2b90f5190fcc7b083809fa93f2799abefeeb1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/sit.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/sit.c"]}],"references":["https://git.kernel.org/stable/c/adce976c0c1cab403454225f2fde3d175804a62e","https://git.kernel.org/stable/c/b01aaeb24d0eafcc1b43b60c17065ecabfbc8a02","https://git.kernel.org/stable/c/b1653742c1ad7313959aa0f4e8508192360b7059","https://git.kernel.org/stable/c/40a2b90f5190fcc7b083809fa93f2799abefeeb1"],"weaknesses":[],"ingestedAt":"2026-11-30T13:54:04.526Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139709.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139709","state":"PUBLISHED","datePublished":"2026-11-30T13:37:15.043Z","dateUpdated":"2026-11-30T13:37:15.043Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.948Z"},"containers":{"cna":{"title":"sit: charge ip_tunnel_prl_entry allocations to memcg","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1b51d8271973e4966078f0c1a5cb061ae9a424d2","status":"affected","lessThan":"adce976c0c1cab403454225f2fde3d175804a62e","versionType":"git"},{"version":"1b51d8271973e4966078f0c1a5cb061ae9a424d2","status":"affected","lessThan":"b01aaeb24d0eafcc1b43b60c17065ecabfbc8a02","versionType":"git"},{"version":"1b51d8271973e4966078f0c1a5cb061ae9a424d2","status":"affected","lessThan":"b1653742c1ad7313959aa0f4e8508192360b7059","versionType":"git"},{"version":"1b51d8271973e4966078f0c1a5cb061ae9a424d2","status":"affected","lessThan":"40a2b90f5190fcc7b083809fa93f2799abefeeb1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/sit.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/sit.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/adce976c0c1cab403454225f2fde3d175804a62e"},{"url":"https://git.kernel.org/stable/c/b01aaeb24d0eafcc1b43b60c17065ecabfbc8a02"},{"url":"https://git.kernel.org/stable/c/b1653742c1ad7313959aa0f4e8508192360b7059"},{"url":"https://git.kernel.org/stable/c/40a2b90f5190fcc7b083809fa93f2799abefeeb1"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:37:15.043Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}