CVE-2024-40978

Kernel crash via debugfs user-pointer write

Published Jul 12, 2024 · Updated May 12, 2026

Denial of service in the qedi driver for Linux and Siemens embedded GNU/Linux systems allows local users to crash the kernel through debugfs. The qedi_dbg_do_not_recover_cmd_read() handler passes its userspace output pointer directly to sprintf(), causing a kernel page fault instead of copying from a kernel buffer. Reachability requires the qedi driver and its do_not_recover debugfs file; exploitation interrupts the system without reported data modification.

CVSS severity6.2
Medium
EPSS probability0.32%
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

Denial of service in the qedi driver for Linux and Siemens embedded GNU/Linux systems allows local users to crash the kernel through debugfs. The qedi_dbg_do_not_recover_cmd_read() handler passes its userspace output pointer directly to sprintf(), causing a kernel page fault instead of copying from a kernel buffer. Reachability requires the qedi driver and its do_not_recover debugfs file; exploitation interrupts the system without reported data modification.

The record

CVE
CVE-2024-40978
Published
Jul 12, 2024
Updated
May 12, 2026
Vendor
Siemens
Product
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
Classifications
CWE-20, T1499
Attack vector
local
Privileges
unauthenticated

Timeline

How it unfolded

  1. Jul 12, 2024CVE publishedPublication date reported by the CVE source.
  2. May 12, 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 privilegesunauthenticated

What is affected?

Siemens · SIMATIC S7-1500 TM MFP - GNU/Linux subsystemversion=0 <*
The Linux Kernel Organization · Linuxversion=4.10; version=ace7f46ba5fde7273207c7122b0650ceb72510e0 <144d76a676b630e321556965011b00e2de0b40a7; version=ace7f46ba5fde7273207c7122b0650ceb72510e0 <21c963de2e86e88f6a8ca556bcebb8e62ab8e901; version=ace7f46ba5fde7273207c7122b0650ceb72510e0 <28027ec8e32ecbadcd67623edb290dad61e735b5; version=ace7f46ba5fde7273207c7122b0650ceb72510e0 <397a8990c377ee4b61d6df768e61dff9e316d46b; version=ace7f46ba5fde7273207c7122b0650ceb72510e0 <56bec63a7fc87ad50b3373a87517dc9770eef9e0; version=ace7f46ba5fde7273207c7122b0650ceb72510e0 <e2f433ea7d0ff77998766a088a287337fb43ad75; version=ace7f46ba5fde7273207c7122b0650ceb72510e0 <eaddb86637669f6bad89245ee63f8fb2bfb50241; version=ace7f46ba5fde7273207c7122b0650ceb72510e0 <fa85b016a56b9775a3fe41e5d26e666945963b46

Published CVSS scores

7.1UbuntuCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
6.2Siemens ProductCERTCVSS:3.1/AV:L/AC:L/PR:N/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 9, 2026Sep 15, 2026
Latest reporting daySep 15, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesunauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-20Improper Input Validation
T1499Endpoint Denial of Service

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