Executive brief
A critical vulnerability has been identified in the Linux kernel's X.25 networking protocol implementation, which is also used in certain Siemens industrial controllers. An attacker could exploit this flaw to cause a system crash or potentially execute unauthorized code by sending specially crafted network traffic. This could lead to a total loss of availability for the affected device and impact industrial operations.
Technical details
A double-free vulnerability (CWE-415) exists in the Linux kernel's X.25 protocol implementation within the net/x25/x25_in.c component. The issue occurs in x25_queue_rx_frame when an alloc_skb failure occurs; the function calls kfree_skb(skb) and returns an error. This error propagates through x25_state3_machine and x25_process_rx_frame back to x25_backlog_rcv, which incorrectly calls kfree_skb(skb) a second time because the 'queued' flag is set to 0. An attacker can trigger this condition remotely without authentication. Patches have been released for various stable kernel branches to remove the redundant kfree_skb call in the error path.
Affected products
- Linux Linux Kernel 2.6.12-rc2 through 6.x
- 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-31: disclosed: Initial patch submission by Martin Schiller
- 2026-04-11: patched: Commits merged into stable trees
- 2026-05-01: advisory: CVE published
References
- https://git.kernel.org/stable/c/143d4fa68ae9efb83b0c55b12cc7f0d03732a2b1
- https://git.kernel.org/stable/c/3f5e3005984645bf5bd129c6b13149879580b1fb
- https://git.kernel.org/stable/c/524371398d8463ea7e101fce2cbf3915645d1730
- https://git.kernel.org/stable/c/5d0aa038a90b30c9bedde0c41c1fdcd98ecb16e9
- https://git.kernel.org/stable/c/c87dd137c0dad07cc55f98181ff380b0c23d2878
- https://git.kernel.org/stable/c/d10a26aa4d072320530e6968ef945c8c575edf61
- https://git.kernel.org/stable/c/f782dd382203b2a8c4552a628431b7de65a19a7b