{
  "id": "CVE-2026-68137",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-68137",
  "published_at": "2026-08-10T11:59:00.74Z",
  "title": "net/x25: fix use-after-free in x25_kill_by_neigh()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/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/x25: fix use-after-free in x25_kill_by_neigh()\n\nx25_kill_by_neigh() walks the global X.25 socket list looking for sockets\nattached to a terminating neighbour. x25_list_lock protects list membership\nwhile the lookup is in progress, but it does not pin a socket's lifetime\nafter the lock is dropped.\n\nThe function currently drops x25_list_lock before calling lock_sock(s). A\nconcurrent close can run x25_release(), remove the same socket from\nx25_list, and drop the last socket reference in that window. The neighbour\nteardown path can then lock or inspect a freed struct sock/struct x25_sock.\n\nTake sock_hold(s) while x25_list_lock still proves that the list entry is\nlive, then drop the temporary reference after the socket has been locked,\nrechecked, and released. Recheck x25_sk(s)-\u003eneighbour after lock_sock(),\nbecause another path may have disconnected the socket before this path\nacquired the socket lock. Restart the list walk after each disconnect\nbecause the list lock was dropped and the previous iterator state may no\nlonger be valid.\n\nA QEMU/KASAN run against origin/master reproduced a slab-use-after-free in\nx25_kill_by_neigh().",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 5c94b6205e87411dbe9dc1ca088eb36b8837fb47, \u003c db6b04f6d65549bb1c7bc8e64a92e7b7d03be676",
          "\u003e= 409570a619c1cda2e0fde6018a256b9e3d3ba0ee, \u003c 5e8a754ac2009a88a7b99ab61eab6296eed360f3",
          "\u003e= 7781607938c8371d4c2b243527430241c62e39c2, \u003c c98a454d1a9e1bd09d5fd55a7aa589b199340b88",
          "\u003e= 7781607938c8371d4c2b243527430241c62e39c2, \u003c 3f4fe26c20c30bd5a2e2583e80685def0b27858c",
          "\u003e= 7781607938c8371d4c2b243527430241c62e39c2, \u003c 610678d4be94b619c751572e8a58de705592cd07",
          "\u003e= 7781607938c8371d4c2b243527430241c62e39c2, \u003c ec6d91a1bf2ebd767d3d43f6d249ee0ed3f4558a",
          "\u003e= 7781607938c8371d4c2b243527430241c62e39c2, \u003c 9aabda553184346f74810e2ee1d96920b4612e3f",
          "\u003e= 7781607938c8371d4c2b243527430241c62e39c2, \u003c 5499e0602d2faafd42c580d25f615903c3fbe11b",
          "dffc859d1d9560da594e4282091781b8d2715f00",
          "858642789ada1b48630f322e59416ca9fca3e6b7",
          "4c240c5a105557e4546d0836e694868f22fd09b0",
          "9acf05b4e7b55fdb712ef7b331dbce5bcd391d0f",
          "4a279d7ee1c65411b4055ecd428b8aa2b1711c1f",
          "671529db75e6be777bb1c76aa07c2bdd2992be6d",
          "\u003e= 5.10.110, \u003c 5.10.265",
          "\u003e= 5.15.33, \u003c 5.15.216",
          "\u003e= 4.9.311, \u003c 4.10",
          "\u003e= 4.14.276, \u003c 4.15",
          "\u003e= 4.19.238, \u003c 4.20",
          "\u003e= 5.4.189, \u003c 5.5",
          "\u003e= 5.16.19, \u003c 5.17",
          "\u003e= 5.17.2, \u003c 5.18"
        ],
        "fixed_in": [
          "db6b04f6d65549bb1c7bc8e64a92e7b7d03be676",
          "5e8a754ac2009a88a7b99ab61eab6296eed360f3",
          "c98a454d1a9e1bd09d5fd55a7aa589b199340b88",
          "3f4fe26c20c30bd5a2e2583e80685def0b27858c",
          "610678d4be94b619c751572e8a58de705592cd07",
          "ec6d91a1bf2ebd767d3d43f6d249ee0ed3f4558a",
          "9aabda553184346f74810e2ee1d96920b4612e3f",
          "5499e0602d2faafd42c580d25f615903c3fbe11b",
          "5.10.265",
          "5.15.216",
          "4.10",
          "4.15",
          "4.20",
          "5.5",
          "5.17",
          "5.18"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.18"
        ],
        "fixed_in": [
          "0",
          "5.10.265",
          "5.15.216",
          "6.1.183",
          "6.6.148",
          "6.12.101",
          "6.18.42",
          "7.1.6",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to db6b04f6d65549bb1c7bc8e64a92e7b7d03be676 or 5e8a754ac2009a88a7b99ab61eab6296eed360f3 or c98a454d1a9e1bd09d5fd55a7aa589b199340b88 or 3f4fe26c20c30bd5a2e2583e80685def0b27858c or 610678d4be94b619c751572e8a58de705592cd07 or ec6d91a1bf2ebd767d3d43f6d249ee0ed3f4558a or 9aabda553184346f74810e2ee1d96920b4612e3f or 5499e0602d2faafd42c580d25f615903c3fbe11b or 5.10.265 or 5.15.216 or 4.10 or 4.15 or 4.20 or 5.5 or 5.17 or 5.18 or later.",
      "Upgrade Linux to 0 or 5.10.265 or 5.15.216 or 6.1.183 or 6.6.148 or 6.12.101 or 6.18.42 or 7.1.6 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
