CVE-2026-64002 ipv4: free net->ipv4.sysctl_local_reserved_ports after unregister_net_sysctl_table()
A use-after-free vulnerability in the Linux kernel IPv4 subsystem allows attackers to potentially execute code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-64002?
CVE-2026-64002 is a high-severity use after free vulnerability in Linux kernel, published on 19 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-416
Which versions are affected by CVE-2026-64002?
It affects 1 product.
Linux distribution packages (40)
bpftool Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
bpftool-debuginfo Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-abi-stablelists Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-core Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-debug Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-debug-core Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-debug-debuginfo Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-debug-devel Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-debug-modules Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-debug-modules-extra Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-debuginfo Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-debuginfo-common-x86_64 Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-devel Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-doc Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-modules Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-modules-extra Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-tools Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-tools-debuginfo Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
kernel-tools-libs Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
perf Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
perf-debuginfo Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
python3-perf Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
python3-perf-debuginfo Red Hat:rhel_aus:8.4::baseos | All versions | 0:4.18.0-305.203.1.el8_4 |
bpftool Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
bpftool-debuginfo Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel-abi-stablelists Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel-core Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel-debug Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel-debug-core Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel-debug-debuginfo Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel-debug-devel Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel-debug-modules Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel-debug-modules-extra Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel-debuginfo Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel-debuginfo-common-x86_64 Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel-devel Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel-doc Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
kernel-modules Red Hat:rhel_aus:8.6::baseos | All versions | 0:4.18.0-372.210.1.el8_6 |
Products include Linux kernel.
How do I fix CVE-2026-64002?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-64002 being exploited?
There is no known exploitation of CVE-2026-64002 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-64002, DEBIAN-CVE-2026-64002, GHSA-gghq-r38g-rg55, RHSA-2026:61310, RHSA-2026:61959, ROOT-OS-UBUNTU-2204-CVE-2026-64002 and 1 more.