PatchSiren cyber security CVE debrief
CVE-2024-50153 Siemens CVE debrief
A null pointer dereference vulnerability exists in the Linux kernel's SCSI target core subsystem. The flaw occurs in target_alloc_device() when memory allocation for device queues fails. At this point, the code attempts to free the device structure using dev->transport->free_device(), but dev->transport has not yet been initialized, resulting in a null pointer dereference. The vulnerability was resolved by modifying the error path to use hba->backend->ops->free_device() instead. This issue affects Siemens SIMATIC S7-1500 TM MFP industrial control systems that utilize the GNU/Linux subsystem. The vulnerability has a CVSS 3.1 score of 5.5 (MEDIUM severity) with a local attack vector, low attack complexity, and low privileges required, with high availability impact. No known exploitation in the wild has been reported, and the vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog.
- Vendor
- Siemens
- Product
- SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
- CVSS
- MEDIUM 5.5
- 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
Industrial control system operators using Siemens SIMATIC S7-1500 TM MFP with GNU/Linux subsystems, Linux kernel maintainers for SCSI target configurations, and organizations running iSCSI or FC target mode on affected kernel versions
Technical summary
The vulnerability exists in drivers/target/target_core_device.c in the Linux kernel SCSI target subsystem. During device allocation in target_alloc_device(), if kzalloc() fails for dev->queues, the error handling path calls dev->transport->free_device(dev). However, dev->transport is assigned later in the function, leaving it NULL at this point. The fix relocates the free_device() call to use the backend operations through hba->backend->ops->free_device(), which is available at the time of failure. This is a classic initialization order bug where cleanup code assumes state that hasn't been established.
Defensive priority
medium
Recommended defensive actions
- Apply vendor-provided firmware updates when available per Siemens security advisory SSA-265688
- Restrict interactive shell access to the GNU/Linux subsystem to trusted personnel only
- Implement application whitelisting to ensure only trusted applications are built and executed
- Monitor for anomalous system behavior or crashes in SCSI target configurations
- Follow CISA ICS recommended practices for defense-in-depth strategies
Evidence notes
The vulnerability description is derived from the CISA CSAF advisory ICSA-24-102-01, which references the Linux kernel fix. The KASAN report indicates the null pointer dereference occurs at offset 0xbc4 in target_alloc_device(). The root cause is an uninitialized dev->transport pointer being dereferenced during error handling. Siemens has confirmed this affects the GNU/Linux subsystem of SIMATIC S7-1500 TM MFP devices.
Sources and references
Verified primary and authoritative sources
-
CVE-2024-50153 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2024-50153
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2024-50153 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2024-50153
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.