{"id":"CVE-2025-39673","aliases":["CVE-2025-39673"],"related":[],"kind":"vulnerability","state":"published","title":"ppp: fix race conditions in ppp_fill_forward_path","summary":"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->channels 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->chan can be NULL. When ppp_unregister_channel() is called,\n   pch->chan is set to NULL before pch is removed from ppp->channels.\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->channels to their RCU variants and\n  add synchronize_net() after removal.\n- Check for a NULL pch->chan before dereferencing it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->channels 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->chan can be NULL. When ppp_unregister_channel() is called,\n   pch->chan is set to NULL before pch is removed from ppp->channels.\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->channels to their RCU variants and\n  add synchronize_net() after removal.\n- Check for a NULL pch->chan before dereferencing it.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nppp: corregir condiciones de carrera en ppp_fill_forward_path\n\nppp_fill_forward_path() tiene dos condiciones de carrera:\n\n1. La lista ppp->channels puede cambiar entre list_empty() y list_first_entry(), ya que ppp_lock() no está retenido. Si el único canal es eliminado en ppp_disconnect_channel(), list_first_entry() puede acceder a una cabecera vacía o a una entrada liberada, y desencadenar un pánico.\n\n2. pch->chan puede ser NULL. Cuando se llama a ppp_unregister_channel(), pch->chan se establece en NULL antes de que pch sea eliminado de ppp->channels.\n\nCorregir esto utilizando un enfoque RCU sin bloqueo:\n- Usar list_first_or_null_rcu() para probar y acceder de forma segura a la primera entrada de la lista.\n- Convertir las modificaciones de la lista en ppp->channels a sus variantes RCU y añadir synchronize_net() después de la eliminación.\n- Comprobar si pch->chan es NULL antes de desreferenciarlo.","source":"nvd"}],"published":"2025-09-05T17:20:38.769Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"f6efc675c9dd8d93f826b79ae7e33e03301db609","fixed":"9a1969fbffc1f1900d92d7594b1b7d8d72ef3dc7","status":"affected"},{"type":"git","introduced":"f6efc675c9dd8d93f826b79ae7e33e03301db609","fixed":"0f1630be6fcca3f0c63e4b242ad202e5cde28a40","status":"affected"},{"type":"git","introduced":"f6efc675c9dd8d93f826b79ae7e33e03301db609","fixed":"ca18d751bcc9faf5b7e82e9fae1223d103928181","status":"affected"},{"type":"git","introduced":"f6efc675c9dd8d93f826b79ae7e33e03301db609","fixed":"94731cc551e29511d85aa8dec61a6c071b1f2430","status":"affected"},{"type":"git","introduced":"f6efc675c9dd8d93f826b79ae7e33e03301db609","fixed":"f97f6475fdcb3c28ff3c55cc4b7bde632119ec08","status":"affected"},{"type":"git","introduced":"f6efc675c9dd8d93f826b79ae7e33e03301db609","fixed":"0417adf367a0af11adf7ace849af4638cfb573f7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.149","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.103","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.44","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.4","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.13","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.149"},{"status":"affected","introduced":"6.2","fixed":"6.6.103"},{"status":"affected","introduced":"6.7","fixed":"6.12.44"},{"status":"affected","introduced":"6.13","fixed":"6.16.4"},{"status":"affected","version":"6.17"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9a1969fbffc1f1900d92d7594b1b7d8d72ef3dc7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0f1630be6fcca3f0c63e4b242ad202e5cde28a40","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca18d751bcc9faf5b7e82e9fae1223d103928181","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94731cc551e29511d85aa8dec61a6c071b1f2430","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f97f6475fdcb3c28ff3c55cc4b7bde632119ec08","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0417adf367a0af11adf7ace849af4638cfb573f7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-15T21:53:10.266Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39673","url":"https://www.cve.org/CVERecord?id=CVE-2025-39673","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:29.786Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39673","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39673","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:04.255Z","epss":{"score":0.0034,"percentile":0.29491,"date":"2026-12-01T12:00:22.000Z"}}