# CVE-2026-64002: ipv4: free net->ipv4.sysctl_local_reserved_ports after unregister_net_sysctl_table()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T14:56:19.495Z
- Modified: 2026-10-19T21:17:17.993Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

ipv4: free net->ipv4.sysctl_local_reserved_ports after unregister_net_sysctl_table()

ipv4_sysctl_exit_net() is currently freeing net->ipv4.sysctl_local_reserved_ports
too soon.

Only after unregister_net_sysctl_table() we can be sure no threads can possibly
use the sysctls, including /proc/sys/net/ipv4/ip_local_reserved_ports.

(As written by CVE List.)

## Affected

- Linux Linux: from 122ff243f5f104194750ecbc76d5946dd1eec934 before ecf45080a4d3f4526cacb8b14060fe3b49a6913b; from 122ff243f5f104194750ecbc76d5946dd1eec934 before a0ffc6081a8b27082dd5eae5aa1e3f59bbecf06c; from 122ff243f5f104194750ecbc76d5946dd1eec934 before 5b23a2ff379e70b6b9ff744a972b63e1f8f4d996; from 122ff243f5f104194750ecbc76d5946dd1eec934 before 8e59d4d0dcde2dfb07a7ef855c849a2a0560aa57; from 122ff243f5f104194750ecbc76d5946dd1eec934 before 6512c57c4638ddec113bf42439361ba85a12048d; from 122ff243f5f104194750ecbc76d5946dd1eec934 before a7f4eefb6e1458431eef9fa20fb363320d185f76; from 122ff243f5f104194750ecbc76d5946dd1eec934 before 155f90be5ee8be5b110ebc0b7da33c54c83b0208; from 122ff243f5f104194750ecbc76d5946dd1eec934 before 87a1e0fe7776da7ab411be332b4be58ac8840d10; 3.16 (not affected: before 3.16; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.93 up to 6.12.*; from 6.18.35 up to 6.18.*; from 7.0.12 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 3.16 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.93; from 6.13 before 6.18.35; from 6.19 before 7.0.12; 7.1

## References

- <https://git.kernel.org/stable/c/ecf45080a4d3f4526cacb8b14060fe3b49a6913b> (patch)
- <https://git.kernel.org/stable/c/a0ffc6081a8b27082dd5eae5aa1e3f59bbecf06c> (patch)
- <https://git.kernel.org/stable/c/5b23a2ff379e70b6b9ff744a972b63e1f8f4d996> (patch)
- <https://git.kernel.org/stable/c/8e59d4d0dcde2dfb07a7ef855c849a2a0560aa57> (patch)
- <https://git.kernel.org/stable/c/6512c57c4638ddec113bf42439361ba85a12048d> (patch)
- <https://git.kernel.org/stable/c/a7f4eefb6e1458431eef9fa20fb363320d185f76> (patch)
- <https://git.kernel.org/stable/c/155f90be5ee8be5b110ebc0b7da33c54c83b0208> (patch)
- <https://git.kernel.org/stable/c/87a1e0fe7776da7ab411be332b4be58ac8840d10> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2026-64002 · Whole record: https://cve.day/CVE-2026-64002.json · Rebuilt by cve.day 2026-11-25T22:59:28.910Z
