SecurityContext

CVE-2025-71097: Linux Kernel - Resource Leak

  • Cve: CVE-2025-71097
  • Name: Linux Kernel - Resource Leak
  • Description: In the Linux kernel, the following vulnerability has been resolved: ipv4: Fix reference count leak when using error routes with nexthop objects When a nexthop object is deleted, it is marked as dead and then fib_table_flush() is called to flush all the routes that are using the dead nexthop. The current logic in fib_table_flush() is to only flush error routes (e.g., blackhole) when it is called as part of network namespace dismantle (i.e., with flush_all=true). Therefore, error routes are not flushed when their nexthop object is deleted: # ip link add name dummy1 up type dummy # ip nexthop add id 1 dev dummy1 # ip route add 198.51.100.1/32 nhid 1 # ip route add blackhole 198.51.100.2/32 nhid 1 # ip nexthop del id 1 # ip route show blackhole 198.51.100.2 nhid 1 dev dummy1 As such, they keep holding a reference on the nexthop object which in turn holds a reference on the nexthop device, resulting in a reference count leak: # ip link del dev dummy1 [ 70.516258] unregister_netdevice: waiting for dummy1 to become free. Usage count = 2 Fix by flushing error routes when their nexthop is marked as dead. IPv6 does not suffer from this problem.
  • Impact: Attackers can cause resource leaks leading to potential denial of service by preventing device cleanup.
  • Remediation: Update to the latest Linux kernel version containing the fix for nexthop error route flushing.
  • Vulnerability impact: denial_of_service
  • Requirements: Attacker must delete nexthop objects associated with error routes
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.0014
  • Epss percentile: 0.03363
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-01-13T16:16:09Z
  • Age in days: 315
  • Modified at: 2026-11-10T13:18:05Z
  • Patch available: yes
  • References total: 9
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-71097
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirement type, hackerone

Cwe

IdName
NVD-CWE-Other—
CWE-401Missing Release of Memory after Effective Lifetime

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/30386e090c49e803c0616a7147e43409c32a2b0ePatch
https://git.kernel.org/stable/c/33ff5c207c873215e54e6176624ed57423cb7deaPatch
https://git.kernel.org/stable/c/5979338c83012110ccd45cae6517591770bfe536Patch
https://git.kernel.org/stable/c/5de7ad7e18356e39e8fbf7edd185a5faaf4f385aPatch
https://git.kernel.org/stable/c/ac782f4e3bfcde145b8a7f8af31d9422d94d172aPatch
https://git.kernel.org/stable/c/e3fc381320d04e4a74311e576a86cac49a16fc43Patch
https://git.kernel.org/stable/c/ee4183501ea556dca31f5ffd8690aa9fd25b609fPatch
https://cert-portal.siemens.com/productcert/html/ssa-019113.html
https://cert-portal.siemens.com/productcert/html/ssa-457936.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel= 6.19 rc8; = 6.19 rc7; = 6.19 rc1; = 6.19 rc2; = 6.19 rc3; = 6.19 rc4; = 6.19 rc5; = 6.19 rc6; >= 6.13, < 6.18.4; >= 6.7, < 6.12.64; >= 6.2, < 6.6.120; >= 5.16, < 6.1.160; >= 5.11, < 5.15.198; >= 5.3.1, < 5.10.248; = 5.3nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 9997488
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports