PatchSiren

PatchSiren cyber security CVE debrief

CVE-2024-50151 Siemens CVE debrief

A slab-out-of-bounds write vulnerability exists in the Linux kernel's SMB client (CIFS) when handling encrypted SMB2 IOCTL requests. The flaw occurs in smb2_set_next_command() during request buffer consolidation for encryption. SMB2_ioctl_init() allocates a 448-byte buffer for the SMB2_IOCTL request; when a user provides an input buffer exceeding 328 bytes, the subsequent buffer squashing operation writes past the allocated memory boundary. This vulnerability is triggered when using SMB encryption, either server-enforced or via the 'seal' mount option. The KASAN-detected write of 4,116 bytes demonstrates significant memory corruption potential. Siemens has confirmed this affects the GNU/Linux subsystem of SIMATIC S7-1500 TM MFP industrial control devices, with no patch currently available.

Vendor
Siemens
Product
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
CVSS
HIGH 7.8
CISA KEV
Not listed in stored evidence
Original CVE published
2024-04-09
Original CVE updated
2026-05-14
Advisory published
2024-04-09
Advisory updated
2026-05-14

Who should care

Organizations running Siemens SIMATIC S7-1500 TM MFP with the GNU/Linux subsystem enabled, particularly those using SMB/CIFS mounts with encryption. Industrial operators with CIFS-dependent workflows and limited patch availability should prioritize access controls.

Technical summary

The vulnerability stems from insufficient buffer size validation in the SMB2 client implementation. When smb2_ioctl_init() allocates a 448-byte request buffer and smb2_set_next_command() consolidates buffers for encryption, input buffers larger than 328 bytes cause a write beyond the allocated slab memory. The KASAN report shows a 4,116-byte write operation triggering the out-of-bounds access. This affects local attackers with low privileges who can mount SMB shares with encryption enabled.

Defensive priority

HIGH

Recommended defensive actions

  • Restrict interactive shell access to the GNU/Linux subsystem to trusted personnel only
  • Build and run only applications from trusted sources
  • Monitor for anomalous SMB client activity on affected systems
  • Apply kernel updates from Siemens when available
  • Consider network segmentation to limit SMB exposure for affected industrial devices

Evidence notes

The vulnerability was resolved in the Linux kernel per the CVE description. CISA's ICS advisory ICSA-24-102-01 (published 2024-04-09, last modified 2026-05-14) tracks this issue for Siemens industrial products. The advisory's remediation section explicitly states 'Currently no fix is available' for the affected product.

Sources and references

Verified primary and authoritative sources

  • CVE-2024-50151 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2024-50151

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2024-50151 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2024-50151

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source item URL

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/OT/white/2024/icsa-24-102-01.json

    cisa_csaf

  • Source reference

    Unverified legacy reference

    URL: https://cert-portal.siemens.com/productcert/csaf/ssa-265688.json

    Reference

  • Source reference

    Unverified legacy reference

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

    Reference

  • Source reference

    Unverified legacy reference

    URL: https://www.cisa.gov/news-events/ics-advisories/icsa-24-102-01

    Reference

  • Source reference

    Unverified legacy reference

    URL: https://www.cisa.gov/news-events/ics-alerts/ics-alert-10-301-01

    Reference

  • Source reference

    Unverified legacy reference

    URL: https://www.cisa.gov/resources-tools/resources/ics-recommended-practices

    Reference

  • Source reference

    Unverified legacy reference

    URL: https://www.cisa.gov/topics/industrial-control-systems

    Reference

  • Source reference

    Unverified legacy reference

    URL: https://www.cisa.gov/sites/default/files/recommended_practices/NCCIC_ICS-CERT_Defense_in_Depth_2016_S508C.pdf

    Reference

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.