{
  "id": "CVE-2025-39673",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-39673",
  "published_at": "2025-09-05T17:20:38.769Z",
  "title": "ppp: fix race conditions in ppp_fill_forward_path",
  "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\nppp: fix race conditions in ppp_fill_forward_path\n\nppp_fill_forward_path() has two race conditions:\n\n1. The ppp-\u003echannels list can change between list_empty() and\n   list_first_entry(), as ppp_lock() is not held. If the only channel\n   is deleted in ppp_disconnect_channel(), list_first_entry() may\n   access an empty head or a freed entry, and trigger a panic.\n\n2. pch-\u003echan can be NULL. When ppp_unregister_channel() is called,\n   pch-\u003echan is set to NULL before pch is removed from ppp-\u003echannels.\n\nFix these by using a lockless RCU approach:\n- Use list_first_or_null_rcu() to safely test and access the first list\n  entry.\n- Convert list modifications on ppp-\u003echannels to their RCU variants and\n  add synchronize_net() after removal.\n- Check for a NULL pch-\u003echan before dereferencing it.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.8,
    "nvd": 4.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f6efc675c9dd8d93f826b79ae7e33e03301db609, \u003c 9a1969fbffc1f1900d92d7594b1b7d8d72ef3dc7",
          "\u003e= f6efc675c9dd8d93f826b79ae7e33e03301db609, \u003c 0f1630be6fcca3f0c63e4b242ad202e5cde28a40",
          "\u003e= f6efc675c9dd8d93f826b79ae7e33e03301db609, \u003c ca18d751bcc9faf5b7e82e9fae1223d103928181",
          "\u003e= f6efc675c9dd8d93f826b79ae7e33e03301db609, \u003c 94731cc551e29511d85aa8dec61a6c071b1f2430",
          "\u003e= f6efc675c9dd8d93f826b79ae7e33e03301db609, \u003c f97f6475fdcb3c28ff3c55cc4b7bde632119ec08",
          "\u003e= f6efc675c9dd8d93f826b79ae7e33e03301db609, \u003c 0417adf367a0af11adf7ace849af4638cfb573f7"
        ],
        "fixed_in": [
          "9a1969fbffc1f1900d92d7594b1b7d8d72ef3dc7",
          "0f1630be6fcca3f0c63e4b242ad202e5cde28a40",
          "ca18d751bcc9faf5b7e82e9fae1223d103928181",
          "94731cc551e29511d85aa8dec61a6c071b1f2430",
          "f97f6475fdcb3c28ff3c55cc4b7bde632119ec08",
          "0417adf367a0af11adf7ace849af4638cfb573f7"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.13"
        ],
        "fixed_in": [
          "0",
          "5.15.190",
          "6.1.149",
          "6.6.103",
          "6.12.44",
          "6.16.4",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 9a1969fbffc1f1900d92d7594b1b7d8d72ef3dc7 or 0f1630be6fcca3f0c63e4b242ad202e5cde28a40 or ca18d751bcc9faf5b7e82e9fae1223d103928181 or 94731cc551e29511d85aa8dec61a6c071b1f2430 or f97f6475fdcb3c28ff3c55cc4b7bde632119ec08 or 0417adf367a0af11adf7ace849af4638cfb573f7 or later.",
      "Upgrade Linux to 0 or 5.15.190 or 6.1.149 or 6.6.103 or 6.12.44 or 6.16.4 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
