CVE-2024-26802: Linux kernel · stmmac: Clear variable when destroying workqueue
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 26 Oct 2026, 12:54 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 4 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
The described fix involves setting the workqueue variable to NULL after destroying it to prevent kernel panic. Until an official patch is available, avoid scenarios that trigger the DMA engine initialization failure or suspend/resume cycles on affected drivers if possible.
Description
A vulnerability in the Linux kernel's stmmac driver can cause a kernel or module panic due to improper handling of a workqueue variable during driver suspend and resume operations. The issue arises because the workqueue variable is not set to NULL after being destroyed, which can lead to a NULL pointer dereference if the DMA engine initialization fails and the workqueue is skipped. This results in a transmit queue timeout and a 'Reset adapter' error, potentially crashing the kernel.
References
- nvd.nist.gov/vuln/detail/CVE-2024-26802 (opens in a new tab)
- git.kernel.org/stable/c/17ccd9798fe0beda3db212cfa3ebe373f605cbd6 (opens in a new tab)
- git.kernel.org/stable/c/699b103e48ce32d03fc86c35b37ee8ae4288c7e3 (opens in a new tab)
- git.kernel.org/stable/c/8af411bbba1f457c33734795f024d0ef26d0963f (opens in a new tab)
- git.kernel.org/stable/c/8e99556301172465c8fe33c7f78c39a3d4ce8462 (opens in a new tab)
- git.kernel.org/stable/c/f72cf22dccc94038cbbaa1029cb575bf52e5cbc8 (opens in a new tab)