Executive brief
A vulnerability exists in the Linux kernel's networking subsystem, specifically within the netfilter component used for firewalling and connection tracking. Under certain conditions, network packets held in a queue can reference internal objects that have been removed, potentially leading to system instability or unauthorized access. This issue affects Linux-based systems and specific Siemens industrial controllers that utilize the affected kernel versions.
Technical details
A vulnerability in the Linux kernel netfilter xt_CT target arises from improper handling of connection tracking templates. When a template rule is removed, packets sitting in the nfqueue may still hold references to objects that are being destroyed, such as helpers (during module removal) or timeout policies (via nfnetlink_cttimeout). This creates a use-after-free condition. The fix involves flushing enqueued packets when the template rule is destroyed. An attacker with local access could potentially exploit this to achieve privilege escalation or cause a denial of service. The vulnerability is addressed in multiple stable kernel branches.
Affected products
- Linux Linux Kernel
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5, V3.1.6
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5, V3.1.6
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5, V3.1.6
Timeline
- 2026-03-12: disclosed: Initial patch authored by Pablo Neira Ayuso
- 2026-03-25: advisory: CVE published and patches committed to stable branches
References
- https://git.kernel.org/stable/c/19a230dec6bb8928e3f96387f9085cf2c79bcef9
- https://git.kernel.org/stable/c/55445134d42b84cb0a272e42c98d233ca65eca83
- https://git.kernel.org/stable/c/63b8097cea1923fe82cd598068d0796da8c015ec
- https://git.kernel.org/stable/c/777d02efe3d630cca4c1b63962cec17c57711325
- https://git.kernel.org/stable/c/cb549925875fa06dd155e49db4ac2c5044c30f9c
- https://git.kernel.org/stable/c/cc57506dd66555899560b9c0f24e813f034e12ec
- https://git.kernel.org/stable/c/d2d0bae0c9a2a17b6990a2966f5cdce0813d6256