CVE-2026-64002

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

State
Published
Severity
7.8 High
Published
Jul 19, 2026
Updated
Oct 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 122ff243f5f104194750ecbc76d5946dd1eec934 to before ecf45080a4d3f4526cacb8b14060fe3b49a6913bAffected
  • 122ff243f5f104194750ecbc76d5946dd1eec934 to before a0ffc6081a8b27082dd5eae5aa1e3f59bbecf06cAffected
  • 122ff243f5f104194750ecbc76d5946dd1eec934 to before 5b23a2ff379e70b6b9ff744a972b63e1f8f4d996Affected
  • 122ff243f5f104194750ecbc76d5946dd1eec934 to before 8e59d4d0dcde2dfb07a7ef855c849a2a0560aa57Affected
  • 122ff243f5f104194750ecbc76d5946dd1eec934 to before 6512c57c4638ddec113bf42439361ba85a12048dAffected
  • 122ff243f5f104194750ecbc76d5946dd1eec934 to before a7f4eefb6e1458431eef9fa20fb363320d185f76Affected
  • 122ff243f5f104194750ecbc76d5946dd1eec934 to before 155f90be5ee8be5b110ebc0b7da33c54c83b0208Affected
  • 122ff243f5f104194750ecbc76d5946dd1eec934 to before 87a1e0fe7776da7ab411be332b4be58ac8840d10Affected
LinuxLinux
  • 3.16Affected
  • before 3.16Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.93 through 6.12.*Not affected
  • 6.18.35 through 6.18.*Not affected
  • 7.0.12 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.