CVE-2025-21943: Linux kernel · Race Condition
Source GCVE Database
Not known to be exploited · CVSS 4.7 Medium.
Data as of 30 Oct 2026, 01:24 UTC
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel by adding try_module_get() calls in the affected driver attribute handlers to hold module references and prevent race conditions during module unload. Users should apply the updated kernel version containing this fix. No other mitigation or workaround is indicated.
Description
CVE-2025-21943 is a vulnerability in the Linux kernel's gpio aggregator driver where race conditions during module unload can cause system instability. The issue arises because driver attribute handlers do not hold module references, leading to potential use-after-free and list corruption. This can result in warnings and system instability when the gpio-aggregator module is rapidly loaded and unloaded concurrently with device creation.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21943 (opens in a new tab)
- git.kernel.org/stable/c/12f65d1203507f7db3ba59930fe29a3b8eee9945 (opens in a new tab)
- git.kernel.org/stable/c/56281a76b805b5ac61feb5d580139695a22f87f0 (opens in a new tab)
- git.kernel.org/stable/c/807789018186cf508ceb3a1f8f02935cd195717b (opens in a new tab)
- git.kernel.org/stable/c/8fb07fb1bba91d45846ed8605c3097fe67a7d54c (opens in a new tab)
- git.kernel.org/stable/c/9334c88fc2fbc6836b307d269fcc1744c69701c0 (opens in a new tab)
- git.kernel.org/stable/c/d99dc8f7ea01ee1b21306e0eda8eb18a4af80db6 (opens in a new tab)
- git.kernel.org/stable/c/fd6aa1f8cbe0979eb66ac32ebc231bf0b10a2117 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)