CVE-2025-21777: Linux kernel · ring-buffer: Validate the persistent meta data subbuf array
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 29 Oct 2026, 23:28 UTC
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 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
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.5pkg:deb/ubuntu/linux-aws-6.5?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-azure-5.19pkg:deb/ubuntu/linux-azure-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available that adds duplicate detection in the ring buffer metadata validation. Users should apply the updated Linux kernel versions that include this patch to prevent potential kernel crashes. No additional mitigation steps are indicated.
Description
CVE-2025-21777 is a medium severity vulnerability in the Linux kernel's ring buffer implementation. It involves insufficient validation of the persistent metadata subbuffer array, where duplicate entries were not detected. This flaw could lead to corruption of the ring buffer linked list and cause a kernel crash. The issue affects specific Linux kernel versions listed and has been resolved by adding a duplicate check during validation.
References
- ubuntu.com/security/CVE-2025-21777 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21777 (opens in a new tab)
- git.kernel.org/linus/f5b95f1fa2ef3a03f49eeec658ba97e721412b32 (opens in a new tab)
- git.kernel.org/stable/c/0d547a6f5e8fad26ebc12f501d7d19fccdbad6bf (opens in a new tab)
- git.kernel.org/stable/c/3ec743d558f111d8999aea24577ba66c65ee2eeb (opens in a new tab)
- git.kernel.org/stable/c/f5b95f1fa2ef3a03f49eeec658ba97e721412b32 (opens in a new tab)