PatchSiren

PatchSiren cyber security CVE debrief

CVE-2024-35910 Siemens CVE debrief

A use-after-free vulnerability exists in the Linux kernel's TCP timer handling for kernel sockets. When TCP sockets are closed, the inet_csk_clear_xmit_timers() function uses del_timer() to stop timers, which allows ongoing timers to complete asynchronously. For user sockets, this is safe because timers hold references on the socket and the socket holds a reference on the network namespace. However, kernel sockets do not hold references on the network namespace, creating a race condition where the namespace may be freed before timer completion. This vulnerability affects Siemens SIMATIC S7-1500 TM MFP devices through their GNU/Linux subsystem. The issue was resolved by introducing inet_csk_clear_xmit_timers_sync() using sk_stop_timer_sync() to ensure synchronous timer termination before kernel socket release.

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-05-19
Original CVE updated
2026-08-04
Advisory published
2024-05-19
Advisory updated
2026-08-04

Who should care

Organizations operating Siemens SIMATIC S7-1500 TM MFP devices with the GNU/Linux subsystem enabled, particularly in industrial control system (ICS/OT) environments where network namespace manipulation or kernel socket usage occurs. System administrators responsible for Linux kernel security in embedded industrial devices should prioritize access controls until patches are available.

Technical summary

The vulnerability stems from asynchronous timer termination in the Linux kernel's TCP implementation. The inet_csk_clear_xmit_timers() function uses sk_stop_timer() (del_timer()) which does not wait for running timers to complete. For kernel sockets, which lack network namespace references, this creates a window where the netns can be dismantled while timers are still executing. The fix introduces inet_csk_clear_xmit_timers_sync() using sk_stop_timer_sync() to block until timer completion, ensuring proper synchronization during kernel socket teardown in netns exit handlers.

Defensive priority

medium

Recommended defensive actions

  • Limit access to the interactive shell of the additional GNU/Linux subsystem to trusted personnel only
  • Only build and run applications from trusted sources
  • Monitor for vendor security updates from Siemens for patch availability

Evidence notes

The vulnerability description indicates this was discovered through syzbot reports and reproduced by Josef Bacik. The fix was implemented in the Linux kernel TCP subsystem. Siemens has identified this as affecting the GNU/Linux subsystem of SIMATIC S7-1500 TM MFP devices. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H) indicates local attack vector, high attack complexity, low privileges required, no user interaction, with impacts to confidentiality, integrity, and high availability impact.

Sources and references

Verified primary and authoritative sources

  • CVE-2024-35910 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2024-35910 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

    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.