CVE-2026-64002
ipv4: free net->ipv4.sysctl_local_reserved_ports after unregister_net_sysctl_table()
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.
INFO
Published Date :
July 19, 2026, 4:17 p.m.
Last Modified :
July 30, 2026, 2:51 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel.
- Apply the relevant patch for ipv4.
- Ensure proper sysctl table unregistration.
- Verify memory management in ipv4.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64002.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64002 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64002
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64002 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64002 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 20, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 19, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '122ff243f5f104194750ecbc76d5946dd1eec934', 'lessThan': 'ecf45080a4d3f4526cacb8b14060fe3b49a6913b', 'versionType': 'git'}, {'status': 'affected', 'version': '122ff243f5f104194750ecbc76d5946dd1eec934', 'lessThan': 'a0ffc6081a8b27082dd5eae5aa1e3f59bbecf06c', 'versionType': 'git'}, {'status': 'affected', 'version': '122ff243f5f104194750ecbc76d5946dd1eec934', 'lessThan': '5b23a2ff379e70b6b9ff744a972b63e1f8f4d996', 'versionType': 'git'}, {'status': 'affected', 'version': '122ff243f5f104194750ecbc76d5946dd1eec934', 'lessThan': '8e59d4d0dcde2dfb07a7ef855c849a2a0560aa57', 'versionType': 'git'}, {'status': 'affected', 'version': '122ff243f5f104194750ecbc76d5946dd1eec934', 'lessThan': '6512c57c4638ddec113bf42439361ba85a12048d', 'versionType': 'git'}, {'status': 'affected', 'version': '122ff243f5f104194750ecbc76d5946dd1eec934', 'lessThan': 'a7f4eefb6e1458431eef9fa20fb363320d185f76', 'versionType': 'git'}, {'status': 'affected', 'version': '122ff243f5f104194750ecbc76d5946dd1eec934', 'lessThan': '155f90be5ee8be5b110ebc0b7da33c54c83b0208', 'versionType': 'git'}, {'status': 'affected', 'version': '122ff243f5f104194750ecbc76d5946dd1eec934', 'lessThan': '87a1e0fe7776da7ab411be332b4be58ac8840d10', 'versionType': 'git'}], 'programFiles': ['net/ipv4/sysctl_net_ipv4.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '3.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '3.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.259', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.210', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.176', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.143', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.93', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.35', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.12', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/ipv4/sysctl_net_ipv4.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/155f90be5ee8be5b110ebc0b7da33c54c83b0208 Added Reference https://git.kernel.org/stable/c/5b23a2ff379e70b6b9ff744a972b63e1f8f4d996 Added Reference https://git.kernel.org/stable/c/6512c57c4638ddec113bf42439361ba85a12048d Added Reference https://git.kernel.org/stable/c/87a1e0fe7776da7ab411be332b4be58ac8840d10 Added Reference https://git.kernel.org/stable/c/8e59d4d0dcde2dfb07a7ef855c849a2a0560aa57 Added Reference https://git.kernel.org/stable/c/a0ffc6081a8b27082dd5eae5aa1e3f59bbecf06c Added Reference https://git.kernel.org/stable/c/a7f4eefb6e1458431eef9fa20fb363320d185f76 Added Reference https://git.kernel.org/stable/c/ecf45080a4d3f4526cacb8b14060fe3b49a6913b