# CVE-2026-64002: ipv4: free net-\>ipv4.sysctl\_local\_reserved\_ports after unregister\_net\_sysctl\_table()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-07-19T14:56:19.495Z
- **Modified:** 2026-10-19T21:17:17.993Z

## Who should check

- Anyone running Linux \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< ecf45080a4d3f4526cacb8b14060fe3b49a6913b; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< a0ffc6081a8b27082dd5eae5aa1e3f59bbecf06c; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 5b23a2ff379e70b6b9ff744a972b63e1f8f4d996; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 8e59d4d0dcde2dfb07a7ef855c849a2a0560aa57; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 6512c57c4638ddec113bf42439361ba85a12048d; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< a7f4eefb6e1458431eef9fa20fb363320d185f76; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 155f90be5ee8be5b110ebc0b7da33c54c83b0208; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 87a1e0fe7776da7ab411be332b4be58ac8840d10
- Anyone running Linux 3.16

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

## Affected and fixed versions

- Linux: \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< ecf45080a4d3f4526cacb8b14060fe3b49a6913b; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< a0ffc6081a8b27082dd5eae5aa1e3f59bbecf06c; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 5b23a2ff379e70b6b9ff744a972b63e1f8f4d996; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 8e59d4d0dcde2dfb07a7ef855c849a2a0560aa57; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 6512c57c4638ddec113bf42439361ba85a12048d; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< a7f4eefb6e1458431eef9fa20fb363320d185f76; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 155f90be5ee8be5b110ebc0b7da33c54c83b0208; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 87a1e0fe7776da7ab411be332b4be58ac8840d10 (cvelist)
- Linux: 3.16 (cvelist)

## Mitigation

- Upgrade Linux to 87a1e0fe7776da7ab411be332b4be58ac8840d10 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64002. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64002.md
Affected: Linux >= 122ff243f5f104194750ecbc76d5946dd1eec934, < ecf45080a4d3f4526cacb8b14060fe3b49a6913b; >= 122ff243f5f104194750ecbc76d5946dd1eec934, < a0ffc6081a8b27082dd5eae5aa1e3f59bbecf06c; >= 122ff243f5f104194750ecbc76d5946dd1eec934, < 5b23a2ff379e70b6b9ff744a972b63e1f8f4d996; >= 122ff243f5f104194750ecb…
Fixed in: Linux 5b23a2ff379e70b6b9ff744a972b63e1f8f4d996, Linux 8e59d4d0dcde2dfb07a7ef855c849a2a0560aa57, Linux 6512c57c4638ddec113bf42439361ba85a12048d, Linux 155f90be5ee8be5b110ebc0b7da33c54c83b0208, Linux 87a1e0fe7776da7ab411be332b4be58ac8840d10

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64002 being exploited?

There is no confirmed exploitation: CVE-2026-64002 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64002?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64002?

Linux \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< ecf45080a4d3f4526cacb8b14060fe3b49a6913b; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< a0ffc6081a8b27082dd5eae5aa1e3f59bbecf06c; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 5b23a2ff379e70b6b9ff744a972b63e1f8f4d996; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 8e59d4d0dcde2dfb07a7ef855c849a2a0560aa57; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 6512c57c4638ddec113bf42439361ba85a12048d; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< a7f4eefb6e1458431eef9fa20fb363320d185f76; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 155f90be5ee8be5b110ebc0b7da33c54c83b0208; \>= 122ff243f5f104194750ecbc76d5946dd1eec934, \< 87a1e0fe7776da7ab411be332b4be58ac8840d10; Linux 3.16.

### Is there a fix for CVE-2026-64002?

Yes. Fixed in Linux 5b23a2ff379e70b6b9ff744a972b63e1f8f4d996, Linux 8e59d4d0dcde2dfb07a7ef855c849a2a0560aa57, Linux 6512c57c4638ddec113bf42439361ba85a12048d, Linux 155f90be5ee8be5b110ebc0b7da33c54c83b0208, Linux 87a1e0fe7776da7ab411be332b4be58ac8840d10. Upgrade Linux to 87a1e0fe7776da7ab411be332b4be58ac8840d10 or later.

### How do I check if I'm affected by CVE-2026-64002?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64002>

HTML: <https://flawdb.com/CVE-2026-64002> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64002>
