CVE-2024-36940

Local system crash via pinctrl double free

Published May 30, 2024 · Updated Aug 5, 2026

Double free in the Linux kernel pin control core before fixed stable releases allows local users to crash the system. pinctrl_enable() frees the devm-managed pctldev object on an enable failure even though devm_pinctrl_dev_release() later frees the same object, its pin descriptors, and mutex. Reaching the flaw requires local low-privileged access and an error during pin-controller enablement; the documented consequence is loss of availability.

CVSS severity5.5
Medium
EPSS probability0.25%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Double free in the Linux kernel pin control core before fixed stable releases allows local users to crash the system. pinctrl_enable() frees the devm-managed pctldev object on an enable failure even though devm_pinctrl_dev_release() later frees the same object, its pin descriptors, and mutex. Reaching the flaw requires local low-privileged access and an error during pin-controller enablement; the documented consequence is loss of availability.

The record

CVE
CVE-2024-36940
Published
May 30, 2024
Updated
Aug 5, 2026
Vendor
Siemens
Product
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Classifications
CWE-415, T1499.004
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. May 30, 2024CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=0 <*

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

Siemens · SIMATIC S7-1500 TM MFP - GNU/Linux subsystemversion=0 <*
The Linux Kernel Organization · Linuxversion=4.11; version=6118714275f0a313ecc296a87ed1af32d9691bed <288bc4aa75f150d6f1ee82dd43c6da1b438b6068; version=6118714275f0a313ecc296a87ed1af32d9691bed <41f88ef8ba387a12f4a2b8c400b6c9e8e54b2cca; version=6118714275f0a313ecc296a87ed1af32d9691bed <5038a66dad0199de60e5671603ea6623eb9e5c79; version=6118714275f0a313ecc296a87ed1af32d9691bed <558c8039fdf596a584a92c171cbf3298919c448c; version=6118714275f0a313ecc296a87ed1af32d9691bed <735f4c6b6771eafe336404c157ca683ad72a040d; version=6118714275f0a313ecc296a87ed1af32d9691bed <ac7d65795827dc0cf7662384ed27caf4066bd72e; version=6118714275f0a313ecc296a87ed1af32d9691bed <cdaa171473d98962ae86f2a663d398fda2fbeefd; version=6118714275f0a313ecc296a87ed1af32d9691bed <f9f1e321d53e4c5b666b66e5b43da29841fb55ba
Siemens · SCALANCE XCM/XRM/XCH/XRH-300 familyversion=0 <V3.1
Siemens · RUGGEDCOM RST2428Pversion=0 <V3.1

Published CVSS scores

5.5Siemens ProductCERTCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-415Double Free
T1499.004Application or System Exploitation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo