CVE-2025-21811: Linux kernel · Use After Free
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 01:14 UTC
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 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented by adjusting the locking in nilfs_lookup_dirty_data_buffers(). Users should apply the official Linux kernel patches that include this fix once available.
Description
CVE-2025-21811 is a use-after-free vulnerability in the Linux kernel's nilfs2 filesystem code. The issue arises because nilfs_lookup_dirty_data_buffers() accesses buffers attached to dirty data folios/pages without proper locking, leading to a race condition. This can cause buffers to be freed while still in use, potentially resulting in memory corruption. The vulnerability has been resolved by adjusting the locking mechanism in the affected function.
References
- nvd.nist.gov/vuln/detail/CVE-2025-21811 (opens in a new tab)
- git.kernel.org/stable/c/367a9bffabe08c04f6d725032cce3d891b2b9e1a (opens in a new tab)
- git.kernel.org/stable/c/4b08d23d7d1917bef4fbee8ad81372f49b006656 (opens in a new tab)
- git.kernel.org/stable/c/58c27fa7a610b6e8d44e6220e7dbddfbaccaf439 (opens in a new tab)
- git.kernel.org/stable/c/72cf688d0ce7e642b12ddc9b2a42524737ec1b4a (opens in a new tab)
- git.kernel.org/stable/c/8e1b9201c9a24638cf09c6e1c9f224157328010b (opens in a new tab)
- git.kernel.org/stable/c/c437dfac9f7a5a46ac2a5e6d6acd3059e9f68188 (opens in a new tab)
- git.kernel.org/stable/c/d8ff250e085a4c4cdda4ad1cdd234ed110393143 (opens in a new tab)
- git.kernel.org/stable/c/e1fc4a90a90ea8514246c45435662531975937d9 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)