Executive brief
A vulnerability was identified in the Linux kernel's networking component responsible for ROSE amateur radio protocol routing. An attacker could exploit this flaw to cause a system crash or unpredictable behavior by triggering a memory error. This issue primarily affects systems using specialized networking protocols, including certain industrial control products from Siemens.
Technical details
A slab-use-after-free vulnerability exists in net/rose/rose_route.c due to inconsistent reference counting mechanisms. The 'rose_neigh' structure utilized two separate fields ('count' and 'use') to track references from different sources, leading to scenarios where memory could be freed while still in use by 'rose_node' structures. An attacker with local access could trigger this condition during route removal or device-down events. The fix merges these reference counting systems into a single 'refcount_t' management system and ensures proper release of references in rose_rt_free(), rose_rt_device_down(), and rose_clear_route().
Affected products
- Linux Linux Kernel 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to 4cce478c3e82a5fc788d72adb2f4c4e983997639
- Siemens SIMATIC CN 4100 before V5.0
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.6 and later
Timeline
- 2025-08-23: disclosed: Initial patch submission by Takamitsu Iwai
- 2025-09-04: patched: Commits merged into stable trees
- 2025-09-16: advisory: NVD publication date
References
- https://git.kernel.org/stable/c/384210cceb1873a4c8218b27ba0745444436b728
- https://git.kernel.org/stable/c/4cce478c3e82a5fc788d72adb2f4c4e983997639
- https://git.kernel.org/stable/c/9c547c8eee9d1cf6e744611d688b9f725cf9a115
- https://git.kernel.org/stable/c/d7563b456ed44151e1a82091d96f60166daea89b
- https://git.kernel.org/stable/c/da9c9c877597170b929a6121a68dcd3dd9a80f45
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html