Siemens RUGGEDCOM RST2428P Improper Input Validation (CVE-2025-39913)
10
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(505435);
script_version("1.3");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/07/17");
script_cve_id("CVE-2025-39913");
script_xref(name:"ICSA", value:"26-188-05");
script_name(english:"Siemens RUGGEDCOM RST2428P Improper Input Validation (CVE-2025-39913)");
script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
script_set_attribute(attribute:"description", value:
"In the Linux kernel, the following vulnerability has been resolved:
tcp_bpf: Call sk_msg_free() when tcp_bpf_send_verdict() fails to
allocate psock->cork. syzbot reported the splat below. [0] The repro
does the following: 1. Load a sk_msg prog that calls
bpf_msg_cork_bytes(msg, cork_bytes) 2. Attach the prog to a SOCKMAP
3. Add a socket to the SOCKMAP 4. Activate fault injection 5. Send
data less than cork_bytes At 5., the data is carried over to the next
sendmsg() as it is smaller than the cork_bytes specified by
bpf_msg_cork_bytes(). Then, tcp_bpf_send_verdict() tries to allocate
psock->cork to hold the data, but this fails silently due to fault
injection + __GFP_NOWARN. If the allocation fails, we need to revert
the sk->sk_forward_alloc change done by sk_msg_alloc(). Let's call
sk_msg_free() when tcp_bpf_send_verdict fails to allocate psock->cork.
The *copied also needs to be updated such that a proper error can be
returned to the caller, sendmsg. It fails to allocate psock->cork.
Nothing has been corked so far, so this patch simply sets *copied to
0. [0]: WARNING: net/ipv4/af_inet.c:156 at
inet_sock_destruct+0x623/0x730 net/ipv4/af_inet.c:156, CPU#1: syz-
executor/5983 Modules linked in: CPU: 1 UID: 0 PID: 5983 Comm: syz-
executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google
Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:inet_sock_destruct+0x623/0x730 net/ipv4/af_inet.c:156 Code:
0f 0b 90 e9 62 fe ff ff e8 7a db b5 f7 90 0f 0b 90 e9 95 fe ff ff e8
6c db b5 f7 90 0f 0b 90 e9 bb fe ff ff e8 5e db b5 f7 90 <0f> 0b 90 e9
e1 fe ff ff 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c 9f fc RSP:
0018:ffffc90000a08b48 EFLAGS: 00010246 RAX: ffffffff8a09d0b2 RBX:
dffffc0000000000 RCX: ffff888024a23c80 RDX: 0000000000000100 RSI:
0000000000000fff RDI: 0000000000000000 RBP: 0000000000000fff R08:
ffff88807e07c627 R09: 1ffff1100fc0f8c4 R10: dffffc0000000000 R11:
ffffed100fc0f8c5 R12: ffff88807e07c380 R13: dffffc0000000000 R14:
ffff88807e07c60c R15: 1ffff1100fc0f872 FS: 00005555604c4500(0000)
GS:ffff888125af1000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000
ES: 0000 CR0: 0000000080050033 CR2: 00005555604df5c8 CR3:
0000000032b06000 CR4: 00000000003526f0 Call Trace: <IRQ>
__sk_destruct+0x86/0x660 net/core/sock.c:2339 rcu_do_batch
kernel/rcu/tree.c:2605 [inline] rcu_core+0xca8/0x1770
kernel/rcu/tree.c:2861 handle_softirqs+0x286/0x870
kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline]
invoke_softirq kernel/softirq.c:453 [inline]
__irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30
kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt
arch/x86/kernel/apic/apic.c:1052 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1052
</IRQ>
This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.");
script_set_attribute(attribute:"see_also", value:"https://cert-portal.siemens.com/productcert/html/ssa-253495.html");
script_set_attribute(attribute:"see_also", value:"https://support.industry.siemens.com/cs/ww/en/view/110002573/");
script_set_attribute(attribute:"see_also", value:"https://www.cisa.gov/news-events/ics-advisories/ICSA-26-188-05");
script_set_attribute(attribute:"solution", value:
"Refer to the vendor advisory.");
script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-39913");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_cwe_id(20);
script_set_attribute(attribute:"vuln_publication_date", value:"2025/10/01");
script_set_attribute(attribute:"patch_publication_date", value:"2026/06/02");
script_set_attribute(attribute:"plugin_publication_date", value:"2026/06/18");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rst2428p_firmware");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Tenable.ot");
script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("tenable_ot_api_integration.nasl");
script_require_keys("Tenable.ot/Siemens");
exit(0);
}
include('tenable_ot_cve_funcs.inc');
get_kb_item_or_exit('Tenable.ot/Siemens');
var asset = tenable_ot::assets::get(vendor:'Siemens');
var vuln_cpes = {
"cpe:/o:siemens:ruggedcom_rst2428p_firmware" :
{"family" : "RuggedCom", "orderNumbers" : ['6GK6242-6PA00'], "versionEndExcluding" : "4.0"}
};
tenable_ot::cve::compare_and_report(asset:asset, cpes:vuln_cpes, severity:SECURITY_WARNING);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
17 Jul 2026 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 3.17.8
EPSS0.00171
SSVC