Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-22057

HIGH 7.8EPSS 16%

net: decrease cached dst counters in dst_release

Mitigation

  • Upgrade Linux to 3a0a3ff6593d670af2451ec363ccb7b18aec0c0a or later.

Who should check

  • Anyone running Linux >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 973bb0bc6240b55e313248ef3c6aa551ab7bb735; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < ccc331fd5bcae131d2627d5ef099d4a1f6540aea; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 92a5c18513117be69bc00419dd1724c1940f8fcd; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 836415a8405c9665ae55352fc5ba865c242f5e4f; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < e833e7ad64eb2f63867f65303be49ca30ee8819e; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 3a0a3ff6593d670af2451ec363ccb7b18aec0c0a
  • Anyone running Linux 4.6

Vulnerability facts

Affected
Linux >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 973bb0bc6240b55e313248ef3c6aa551ab7bb735; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < ccc331fd5bcae131d2627d5ef099d4a1f6540aea; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 92a5c18513117be69bc00419dd1724c1940f8fcd; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 836415a8405c9665ae55352fc5ba865c242f5e4f; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < e833e7ad64eb2f63867f65303be49ca30ee8819e; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 3a0a3ff6593d670af2451ec363ccb7b18aec0c0a; Linux 4.6
Fixed in
Linux 973bb0bc6240b55e313248ef3c6aa551ab7bb735, Linux 92a5c18513117be69bc00419dd1724c1940f8fcd, Linux 836415a8405c9665ae55352fc5ba865c242f5e4f, Linux 3a0a3ff6593d670af2451ec363ccb7b18aec0c0a
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net: decrease cached dst counters in dst_release Upstream fix ac888d58869b ("net: do not delay dst_entries_add() in dst_release()") moved decrementing the dst count from dst_destroy to dst_release to avoid accessing already freed data in case of netns dismantle. However in case CONFIG_DST_CACHE is enabled and OvS+tunnels are used, this fix is incomplete as the same issue will be seen for cached dsts: Unable to handle kernel paging request at virtual address ffff5aabf6b5c000 Call trace: percpu_counter_add_batch+0x3c/0x160 (P) dst_release+0xec/0x108 dst_cache_destroy+0x68/0xd8 dst_destroy+0x13c/0x168 dst_destroy_rcu+0x1c/0xb0 rcu_do_batch+0x18c/0x7d0 rcu_core+0x174/0x378 rcu_core_si+0x18/0x30 Fix this by invalidating the cache, and thus decrementing cached dst counters, in dst_release too.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 973bb0bc6240b55e313248ef3c6aa551ab7bb735; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < ccc331fd5bcae131d2627d5ef099d4a1f6540aea; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 92a5c18513117be69bc00419dd1724c1940f8fcd; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 836415a8405c9665ae55352fc5ba865c242f5e4f; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < e833e7ad64eb2f63867f65303be49ca30ee8819e; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 3a0a3ff6593d670af2451ec363ccb7b18aec0c0a—cvelist
Linux4.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-22057. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-22057.md
Affected: Linux >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 973bb0bc6240b55e313248ef3c6aa551ab7bb735; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < ccc331fd5bcae131d2627d5ef099d4a1f6540aea; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 92a5c18513117be69bc00419dd1724c1940f8fcd; >= d71785ffc7e7cae3fbdc4ea…
Fixed in: Linux 973bb0bc6240b55e313248ef3c6aa551ab7bb735, Linux 92a5c18513117be69bc00419dd1724c1940f8fcd, Linux 836415a8405c9665ae55352fc5ba865c242f5e4f, Linux 3a0a3ff6593d670af2451ec363ccb7b18aec0c0a

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.

References

FAQ

Is CVE-2025-22057 being exploited?

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

How serious is CVE-2025-22057?

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

Which versions are affected by CVE-2025-22057?

Linux >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 973bb0bc6240b55e313248ef3c6aa551ab7bb735; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < ccc331fd5bcae131d2627d5ef099d4a1f6540aea; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 92a5c18513117be69bc00419dd1724c1940f8fcd; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 836415a8405c9665ae55352fc5ba865c242f5e4f; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < e833e7ad64eb2f63867f65303be49ca30ee8819e; >= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, < 3a0a3ff6593d670af2451ec363ccb7b18aec0c0a; Linux 4.6.

Is there a fix for CVE-2025-22057?

Yes. Fixed in Linux 973bb0bc6240b55e313248ef3c6aa551ab7bb735, Linux 92a5c18513117be69bc00419dd1724c1940f8fcd, Linux 836415a8405c9665ae55352fc5ba865c242f5e4f, Linux 3a0a3ff6593d670af2451ec363ccb7b18aec0c0a. Upgrade Linux to 3a0a3ff6593d670af2451ec363ccb7b18aec0c0a or later.

How do I check if I'm affected by CVE-2025-22057?

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.

Sponsors