Junglewise Threat Intelligence

CVE-2025-39953: Linux Kernel deadlock in cgroup root destruction

CVE-2025-39953 · Severity: medium · CVSS 5.5 · Published 2025-10-04

Technologies: Linux Kernel, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP. Vendors: Linux, Siemens.

Executive brief

A vulnerability in the Linux kernel's control groups (cgroups) component can cause the system to hang or become unresponsive. This occurs when specific system management tasks, such as mounting or unmounting network and performance monitoring tools, are performed repeatedly. An exploit could lead to a denial-of-service condition, impacting system availability and operational stability.

Technical details

A deadlock vulnerability exists in the Linux kernel cgroup subsystem due to a circular dependency in the 'cgroup_destroy_wq' workqueue. When 'max_active' is set to 1, root destruction work can block behind a CSS (cgroup_subsys_state) offline operation that it is simultaneously waiting for. This specifically manifests when repeatedly mounting/unmounting 'perf_event' and 'net_prio' controllers with 'systemd.unified_cgroup_hierarchy=1'. The fix involves splitting the single workqueue into three dedicated queues (offline, release, and free) to ensure that resource deallocation does not block the completion of offline operations. This is a local denial-of-service vulnerability.

Affected products

  • Linux Linux Kernel unaffected
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.6

Timeline

  • 2025-08-19: other: Patch authored
  • 2025-09-25: patched: Patch committed to stable tree
  • 2025-10-04: advisory: NVD publication date

References

Related threats