CVE-2025-21718: Linux kernel · net: rose: fix timer races against user threads
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 10 Nov 2026, 14:04 UTC
Thin evidence
One scorer or none| CNA (Linux) | CVSS 3.1 | 7.8 |
|---|
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Feb 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 10 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to add proper checks and rearm timers as needed to prevent races against user threads. Users should apply the official Linux kernel updates that include this fix. Since this is a kernel-level vulnerability, upgrading to a patched kernel version is the recommended remediation. No alternative mitigations are indicated.
Description
CVE-2025-21718 is a high-severity vulnerability in the Linux kernel's net rose module involving timer races against user threads. The issue arises because rose timers only acquire the socket spinlock without verifying if the socket is owned by a user thread, leading to a use-after-free condition. This flaw can cause kernel memory corruption and potentially allow an attacker with local privileges to compromise system integrity and availability.
References
- git.kernel.org/stable/c/52f5aff33ca73b2c2fa93f40a3de308012e63cf4 (opens in a new tab)
- git.kernel.org/stable/c/0d5bca3be27bfcf8f980f2fed49b6cbb7dafe4a1 (opens in a new tab)
- git.kernel.org/stable/c/1409b45d4690308c502c6caf22f01c3c205b4717 (opens in a new tab)
- git.kernel.org/stable/c/f55c88e3ca5939a6a8a329024aed8f3d98eea8e4 (opens in a new tab)
- git.kernel.org/stable/c/51c128ba038cf1b79d605cbee325919b45ab95a5 (opens in a new tab)
- git.kernel.org/stable/c/1992fb261c90e9827cf5dc3115d89bb0853252c9 (opens in a new tab)
- git.kernel.org/stable/c/58051a284ac18a3bb815aac6289a679903ddcc3f (opens in a new tab)
- git.kernel.org/stable/c/5de7665e0a0746b5ad7943554b34db8f8614a196 (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/03/msg00028.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-019113.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)