All reports
High

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-64002

Probability of exploitation in the next 30 days: 0.13%

FIRST EPSS · 2026-11-23

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.

A flaw was found in the Linux kernel's IPv4 networking component. The ipv4_sysctl_exit_net() function prematurely frees the net->ipv4.sysctl_local_reserved_ports memory. This can lead to a use-after-free vulnerability, where other threads might attempt to access deallocated memory. Such an issue can result in system instability or a denial of service.