# CVE-2026-139709: sit: charge ip_tunnel_prl_entry allocations to memcg

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-11-30T13:37:15.043Z
- Modified: 2026-11-30T14:20:01.343Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

sit: charge ip_tunnel_prl_entry allocations to memcg

ipip6_tunnel_add_prl() allocates struct ip_tunnel_prl_entry for each
potential router entry added via SIOCADDPRL.
An unprivileged user with CAP_NET_ADMIN 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
ip_tunnel_prl structs allocation") added accounting to the temporary
buffer in ipip6_tunnel_get_prl(), but missed the entry allocations
in ipip6_tunnel_add_prl().

Use GFP_KERNEL_ACCOUNT when allocating struct ip_tunnel_prl_entry.

(As written by CVE List.)

## Affected

- Linux Linux: from 1b51d8271973e4966078f0c1a5cb061ae9a424d2 before adce976c0c1cab403454225f2fde3d175804a62e; from 1b51d8271973e4966078f0c1a5cb061ae9a424d2 before b01aaeb24d0eafcc1b43b60c17065ecabfbc8a02; from 1b51d8271973e4966078f0c1a5cb061ae9a424d2 before b1653742c1ad7313959aa0f4e8508192360b7059; from 1b51d8271973e4966078f0c1a5cb061ae9a424d2 before 40a2b90f5190fcc7b083809fa93f2799abefeeb1; 5.15 (not affected: before 5.15; from 6.12.120 up to 6.12.*; from 6.18.66 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-139709](https://www.cve.org/CVERecord?id=CVE-2026-139709), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139709](https://nvd.nist.gov/vuln/detail/CVE-2026-139709), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139709 · Whole record: https://cve.day/CVE-2026-139709.json · Rebuilt by cve.day 2026-11-30T14:33:14.385Z
