Junglewise Threat Intelligence

CVE-2025-39673: Linux Kernel race condition in ppp_fill_forward_path

CVE-2025-39673 · Severity: critical · CVSS 9.8 · Published 2025-09-05

Technologies: Linux Kernel, Siemens SIMATIC CN 4100. Vendors: Linux, Siemens.

Executive brief

A vulnerability exists in the Linux kernel's Point-to-Point Protocol (PPP) implementation, which is used for establishing network connections. Due to a flaw in how the system handles internal data lists, a race condition can occur that leads to a system crash (kernel panic). This could allow an attacker to disrupt network services or potentially gain unauthorized access to the system.

Technical details

A race condition exists in the ppp_fill_forward_path() function within the Linux kernel's PPP implementation (drivers/net/ppp/ppp_generic.c). The vulnerability arises because the ppp->channels list can be modified between a list_empty() check and a list_first_entry() call without holding the ppp_lock, potentially leading to access of a freed entry. Additionally, pch->chan can be set to NULL during unregistration before the channel is removed from the list, leading to a NULL pointer dereference. Attackers can exploit this to trigger a kernel panic. The fix involves implementing a lockless RCU approach using list_first_or_null_rcu(), RCU list modification variants, and proper NULL checks for pch->chan.

Affected products

  • Linux Linux Kernel 5.13 to 6.16.4
  • Siemens SIMATIC CN 4100 before V5.0

Timeline

  • 2025-08-14: patched: Initial patch submitted by Qingfang Deng
  • 2025-09-05: disclosed: CVE-2025-39673 published

References

Related threats