{
  "id": "CVE-2025-22057",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-22057",
  "published_at": "2025-04-16T14:12:14.234Z",
  "title": "net: decrease cached dst counters in dst_release",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: decrease cached dst counters in dst_release\n\nUpstream fix ac888d58869b (\"net: do not delay dst_entries_add() in\ndst_release()\") moved decrementing the dst count from dst_destroy to\ndst_release to avoid accessing already freed data in case of netns\ndismantle. However in case CONFIG_DST_CACHE is enabled and OvS+tunnels\nare used, this fix is incomplete as the same issue will be seen for\ncached dsts:\n\n  Unable to handle kernel paging request at virtual address ffff5aabf6b5c000\n  Call trace:\n   percpu_counter_add_batch+0x3c/0x160 (P)\n   dst_release+0xec/0x108\n   dst_cache_destroy+0x68/0xd8\n   dst_destroy+0x13c/0x168\n   dst_destroy_rcu+0x1c/0xb0\n   rcu_do_batch+0x18c/0x7d0\n   rcu_core+0x174/0x378\n   rcu_core_si+0x18/0x30\n\nFix this by invalidating the cache, and thus decrementing cached dst\ncounters, in dst_release too.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, \u003c 973bb0bc6240b55e313248ef3c6aa551ab7bb735",
          "\u003e= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, \u003c ccc331fd5bcae131d2627d5ef099d4a1f6540aea",
          "\u003e= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, \u003c 92a5c18513117be69bc00419dd1724c1940f8fcd",
          "\u003e= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, \u003c 836415a8405c9665ae55352fc5ba865c242f5e4f",
          "\u003e= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, \u003c e833e7ad64eb2f63867f65303be49ca30ee8819e",
          "\u003e= d71785ffc7e7cae3fbdc4ea8a9d05b7a1c59f7b8, \u003c 3a0a3ff6593d670af2451ec363ccb7b18aec0c0a"
        ],
        "fixed_in": [
          "973bb0bc6240b55e313248ef3c6aa551ab7bb735",
          "ccc331fd5bcae131d2627d5ef099d4a1f6540aea",
          "92a5c18513117be69bc00419dd1724c1940f8fcd",
          "836415a8405c9665ae55352fc5ba865c242f5e4f",
          "e833e7ad64eb2f63867f65303be49ca30ee8819e",
          "3a0a3ff6593d670af2451ec363ccb7b18aec0c0a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.6"
        ],
        "fixed_in": [
          "0",
          "6.1.191",
          "6.6.87",
          "6.12.23",
          "6.13.11",
          "6.14.2",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 973bb0bc6240b55e313248ef3c6aa551ab7bb735 or ccc331fd5bcae131d2627d5ef099d4a1f6540aea or 92a5c18513117be69bc00419dd1724c1940f8fcd or 836415a8405c9665ae55352fc5ba865c242f5e4f or e833e7ad64eb2f63867f65303be49ca30ee8819e or 3a0a3ff6593d670af2451ec363ccb7b18aec0c0a or later.",
      "Upgrade Linux to 0 or 6.1.191 or 6.6.87 or 6.12.23 or 6.13.11 or 6.14.2 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
