Lucene search
+L

Siemens SCALANCE, Ruggedcom ROX Race Condition (CVE-2022-23040)

🗓️ 09 Jan 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 15 Views

Xen grant table race lets backends keep page access, causing data leakage, corruption, and denial of service.

Related
Refs
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2022-23041
10 Mar 202220:15
attackerkb
ATTACKERKB
CVE-2022-23042
10 Mar 202220:15
attackerkb
ATTACKERKB
CVE-2022-23040
10 Mar 202220:15
attackerkb
ATTACKERKB
CVE-2022-23038
10 Mar 202220:15
attackerkb
ATTACKERKB
CVE-2022-23037
10 Mar 202220:15
attackerkb
ATTACKERKB
CVE-2022-23036
10 Mar 202220:15
attackerkb
ATTACKERKB
CVE-2022-23039
10 Mar 202220:15
attackerkb
Tenable Nessus
Amazon Linux 2 : kernel, --advisory ALAS2KERNEL-5.10-2022-012 (ALASKERNEL-5.10-2022-012)
2 May 202200:00
nessus
Tenable Nessus
Alibaba Cloud Linux 3 : 0125: cloud-kernel bugfix, enhancement and (ALINUX3-SA-2022:0125)
14 May 202500:00
nessus
Tenable Nessus
Debian DLA-3065-1 : linux - LTS security update
2 Jul 202200:00
nessus
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(504927);
  script_version("1.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/02/17");

  script_cve_id("CVE-2022-23040");
  script_xref(name:"ICSA", value:"23-075-01");

  script_name(english:"Siemens SCALANCE, Ruggedcom ROX Race Condition (CVE-2022-23040)");

  script_set_attribute(attribute:"synopsis", value:
"The remote OT asset is affected by a vulnerability.");
  script_set_attribute(attribute:"description", value:
"Linux PV device frontends vulnerable to attacks by backends [This CNA
information record relates to multiple CVEs; the text explains which
aspects/vulnerabilities correspond to which CVE.] Several Linux PV
device frontends are using the grant table interfaces for removing
access rights of the backends in ways being subject to race
conditions, resulting in potential data leaks, data corruption by
malicious backends, and denial of service triggered by malicious
backends: blkfront, netfront, scsifront and the gntalloc driver are
testing whether a grant reference is still in use. If this is not the
case, they assume that a following removal of the granted access will
always succeed, which is not true in case the backend has mapped the
granted page between those two operations. As a result the backend can
keep access to the memory page of the guest no matter how the page
will be used after the frontend I/O has finished. The xenbus driver
has a similar problem, as it doesn't check the success of removing the
granted access of a shared ring buffer. blkfront: CVE-2022-23036
netfront: CVE-2022-23037 scsifront: CVE-2022-23038 gntalloc:
CVE-2022-23039 xenbus: CVE-2022-23040 blkfront, netfront, scsifront,
usbfront, dmabuf, xenbus, 9p, kbdfront, and pvcalls are using a
functionality to delay freeing a grant reference until it is no longer
in use, but the freeing of the related data page is not synchronized
with dropping the granted access. As a result the backend can keep
access to the memory page even after it has been freed and then re-
used for a different purpose. CVE-2022-23041 netfront will fail a
BUG_ON() assertion if it fails to revoke access in the rx path. This
will result in a Denial of Service (DoS) situation of the guest which
can be triggered by the backend.

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/pdf/ssa-419740.pdf");
  script_set_attribute(attribute:"see_also", value:"https://cert-portal.siemens.com/productcert/html/ssa-202008.html");
  script_set_attribute(attribute:"see_also", value:"https://support.industry.siemens.com/cs/ww/en/view/109997648/");
  script_set_attribute(attribute:"see_also", value:"https://support.industry.siemens.com/cs/document/109817007/");
  script_set_attribute(attribute:"see_also", value:"https://www.cisa.gov/news-events/ics-advisories/icsa-23-075-01");
  script_set_attribute(attribute:"solution", value:
"The following text was originally created by the Cybersecurity and Infrastructure Security Agency (CISA). The original
can be found at CISA.gov.

Siemens has identified the following specific workarounds and mitigations users can apply to reduce risk: 

- Update all of the affected products to v7.2 or later version or the software.

As a general security measure, Siemens strongly recommends users protect network access to devices with appropriate
mechanisms. To operate the devices in a protected IT environment, Siemens recommends users configure the environment
according to Siemens' operational guidelines for Industrial Security, and to follow the recommendations in the product
manuals. Additional information on Industrial Security by Siemens can be found on the Siemens page for Industrial
Security.

For further inquiries on security vulnerabilities in Siemens products and solutions, contact the Siemens ProductCERT. 

For more information, see the associated Siemens security advisory SSA-419740 in HTML and CSAF.");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:M/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:H/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-2022-23040");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_cwe_id(362);

  script_set_attribute(attribute:"vuln_publication_date", value:"2023/03/14");
  script_set_attribute(attribute:"patch_publication_date", value:"2023/03/14");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/01/09");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rm1224_lte%284g%29_eu_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rm1224_lte%284g%29_nam_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rox_mx5000_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rox_mx5000re_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rox_rx1400_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rox_rx1500_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rox_rx1501_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rox_rx1510_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rox_rx1511_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rox_rx1512_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rox_rx1524_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rox_rx1536_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:ruggedcom_rox_rx5000_firmware");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_m804pb_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_m812-1_adsl-router_%28annex_a%29_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_m812-1_adsl-router_%28annex_b%29_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_m816-1_adsl-router_%28annex_a%29_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_m816-1_adsl-router_%28annex_b%29_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_m826-2_shdsl-router_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_m874-2_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_m874-3_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_m876-3_%28evdo%29_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_m876-3_%28rok%29_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_m876-4_%28eu%29_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_m876-4_%28nam%29_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_m876-4_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_mum853-1_%28eu%29_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_mum856-1_%28eu%29_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_mum856-1_%28row%29_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_s615_eec_firmware:7.2");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:siemens:scalance_s615_firmware:7.2");
  script_set_attribute(attribute:"generated_plugin", value:"former");
  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_rm1224_lte%284g%29_eu_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "RuggedCom", "orderNumbers" : ['6GK6108-4AM00-2BA2']},
    "cpe:/o:siemens:ruggedcom_rm1224_lte%284g%29_nam_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "RuggedCom", "orderNumbers" : ['6GK6108-4AM00-2DA2']},
    "cpe:/o:siemens:scalance_m804pb_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5804-0AP00-2AA2']},
    "cpe:/o:siemens:scalance_m812-1_adsl-router_%28annex_a%29_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5812-1AA00-2AA2']},
    "cpe:/o:siemens:scalance_m812-1_adsl-router_%28annex_b%29_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5812-1BA00-2AA2']},
    "cpe:/o:siemens:scalance_m816-1_adsl-router_%28annex_a%29_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5816-1AA00-2AA2']},
    "cpe:/o:siemens:scalance_m816-1_adsl-router_%28annex_b%29_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5816-1BA00-2AA2']},
    "cpe:/o:siemens:scalance_m826-2_shdsl-router_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5826-2AB00-2AB2']},
    "cpe:/o:siemens:scalance_m874-2_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5874-2AA00-2AA2']},
    "cpe:/o:siemens:scalance_m874-3_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5874-3AA00-2AA2']},
    "cpe:/o:siemens:scalance_m876-3_%28evdo%29_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5876-3AA02-2BA2']},
    "cpe:/o:siemens:scalance_m876-3_%28rok%29_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5876-3AA02-2EA2']},
    "cpe:/o:siemens:scalance_m876-4_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5876-4AA10-2BA2']},
    "cpe:/o:siemens:scalance_m876-4_%28eu%29_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5876-4AA00-2BA2']},
    "cpe:/o:siemens:scalance_m876-4_%28nam%29_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5876-4AA00-2DA2']},
    "cpe:/o:siemens:scalance_mum853-1_%28eu%29_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5853-2EA00-2DA1']},
    "cpe:/o:siemens:scalance_mum856-1_%28eu%29_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5856-2EA00-3DA1']},
    "cpe:/o:siemens:scalance_mum856-1_%28row%29_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCEM", "orderNumbers" : ['6GK5856-2EA00-3AA1']},
    "cpe:/o:siemens:scalance_s615_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCES", "orderNumbers" : ['6GK5615-0AA00-2AA2']},
    "cpe:/o:siemens:scalance_s615_eec_firmware:7.2" :
        {"versionEndExcluding" : "7.2", "family" : "SCALANCES", "orderNumbers" : ['6GK5615-0AA01-2AA2']},
    "cpe:/o:siemens:ruggedcom_rox_mx5000_firmware" :
        {"versionEndExcluding" : "2.17.0", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_mx5000re_firmware" :
        {"versionEndExcluding" : "2.17.0", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1400_firmware" :
        {"versionEndExcluding" : "2.17.0", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1500_firmware" :
        {"versionEndExcluding" : "2.17.0", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1501_firmware" :
        {"versionEndExcluding" : "2.17.0", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1510_firmware" :
        {"versionEndExcluding" : "2.17.0", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1511_firmware" :
        {"versionEndExcluding" : "2.17.0", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1512_firmware" :
        {"versionEndExcluding" : "2.17.0", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1524_firmware" :
        {"versionEndExcluding" : "2.17.0", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx1536_firmware" :
        {"versionEndExcluding" : "2.17.0", "family" : "RuggedCom"},
    "cpe:/o:siemens:ruggedcom_rox_rx5000_firmware" :
        {"versionEndExcluding" : "2.17.0", "family" : "RuggedCom"}
};

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 Feb 2026 00:00Current
6.5Medium risk
Vulners AI Score6.5
CVSS 24.4
CVSS 3.17
EPSS0.00359
15