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

high Tenable OT Security Plugin ID 504927

Synopsis

The remote OT asset is affected by a vulnerability.

Description

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.

Solution

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.

See Also

https://cert-portal.siemens.com/productcert/pdf/ssa-419740.pdf

https://cert-portal.siemens.com/productcert/html/ssa-202008.html

https://support.industry.siemens.com/cs/ww/en/view/109997648/

https://support.industry.siemens.com/cs/document/109817007/

https://www.cisa.gov/news-events/ics-advisories/icsa-23-075-01

Plugin Details

Severity: High

ID: 504927

File Name: tenable_ot_siemens_CVE-2022-23040.nasl

Version: 1.2

Type: remote

Family: Tenable.ot

Published: 1/9/2026

Updated: 2/14/2026

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v3

Risk Factor: High

Base Score: 7

Temporal Score: 6.3

Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:siemens:scalance_s615_firmware:7.2, cpe:/o:siemens:scalance_mum856-1_%28row%29_firmware:7.2, cpe:/o:siemens:scalance_m812-1_adsl-router_%28annex_a%29_firmware:7.2, cpe:/o:siemens:ruggedcom_rox_rx1501_firmware, cpe:/o:siemens:scalance_m876-4_%28eu%29_firmware:7.2, cpe:/o:siemens:ruggedcom_rox_rx1536_firmware, cpe:/o:siemens:scalance_s615_eec_firmware:7.2, cpe:/o:siemens:scalance_m876-3_%28rok%29_firmware:7.2, cpe:/o:siemens:scalance_m804pb_firmware:7.2, cpe:/o:siemens:ruggedcom_rox_rx1400_firmware, cpe:/o:siemens:ruggedcom_rox_rx1500_firmware, cpe:/o:siemens:scalance_m874-3_firmware:7.2, cpe:/o:siemens:scalance_m876-4_%28nam%29_firmware:7.2, cpe:/o:siemens:ruggedcom_rox_rx1512_firmware, cpe:/o:siemens:scalance_m816-1_adsl-router_%28annex_b%29_firmware:7.2, cpe:/o:siemens:scalance_m876-4_firmware:7.2, cpe:/o:siemens:ruggedcom_rox_rx1524_firmware, cpe:/o:siemens:ruggedcom_rox_rx1511_firmware, cpe:/o:siemens:scalance_mum856-1_%28eu%29_firmware:7.2, cpe:/o:siemens:ruggedcom_rox_mx5000_firmware, cpe:/o:siemens:scalance_mum853-1_%28eu%29_firmware:7.2, cpe:/o:siemens:scalance_m874-2_firmware:7.2, cpe:/o:siemens:ruggedcom_rox_rx5000_firmware, cpe:/o:siemens:ruggedcom_rm1224_lte%284g%29_nam_firmware:7.2, cpe:/o:siemens:ruggedcom_rox_mx5000re_firmware, cpe:/o:siemens:ruggedcom_rm1224_lte%284g%29_eu_firmware:7.2, cpe:/o:siemens:scalance_m812-1_adsl-router_%28annex_b%29_firmware:7.2, cpe:/o:siemens:scalance_m816-1_adsl-router_%28annex_a%29_firmware:7.2, cpe:/o:siemens:scalance_m876-3_%28evdo%29_firmware:7.2, cpe:/o:siemens:scalance_m826-2_shdsl-router_firmware:7.2, cpe:/o:siemens:ruggedcom_rox_rx1510_firmware

Required KB Items: Tenable.ot/Siemens

Exploit Ease: No known exploits are available

Patch Publication Date: 3/14/2023

Vulnerability Publication Date: 3/14/2023

Reference Information

CVE: CVE-2022-23040

CWE: 362

ICSA: 23-075-01