Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-21777

published

ring-buffer: Validate the persistent meta data subbuf array

Published
27 Feb 2025, 02:18:22 UTC
Updated
11 May 2026, 21:06:13 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxc76883f18e59b762247ee91d3e4224231711854e to < 3ec743d558f111d8999aea24577ba66c65ee2eeb · c76883f18e59b762247ee91d3e4224231711854e to < 0d547a6f5e8fad26ebc12f501d7d19fccdbad6bf · c76883f18e59b762247ee91d3e4224231711854e to < f5b95f1fa2ef3a03f49eeec658ba97e721412b32 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.12 (affected) · 0 to < 6.12 (unaffected · semver) · 6.12.16 through 6.12.* (unaffected · semver) · 6.13.4 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 10 kernel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
AlmaLinux 10 kernel-64k Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 10 kernel-64k-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-64k-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-cross-headers Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-debug-uki-virt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-headers Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-modules-extra-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-64k-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-debug-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-rt-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools-libs Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-tools-libs-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-uki-virt Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-uki-virt-addons Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-devel Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-devel-matched Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules-core Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 kernel-zfcpdump-modules-extra Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 libperf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 perf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 python3-perf Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 rtla Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
AlmaLinux 10 rv Advisory build 6.12.0-124.8.1.el10_1 ALSA-2025:20095
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0
Oracle Linux 10 kernel-tools-libsaarch64 Advisory build 0:6.12.0-124.8.1.el10_1 ELSA-2025-20095-0

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Validate the persistent meta data subbuf array The meta data for a mapped ring buffer contains an array of indexes of all the subbuffers. The first entry is the reader page, and the rest of the entries lay out the order of the subbuffers in how the ring buffer link list is to be created. The validator currently makes sure that all the entries are within the range of 0 and nr_subbufs. But it does not check if there are any duplicates. While working on the ring buffer, I corrupted this array, where I added duplicates. The validator did not catch it and created the ring buffer link list on top of it. Luckily, the corruption was only that the reader page was also in the writer path and only presented corrupted data but did not crash the kernel. But if there were duplicates in the writer side, then it could corrupt the ring buffer link list and cause a crash. Create a bitmask array with the size of the number of subbuffers. Then clear it. When walking through the subbuf array checking to see if the entries are within the range, test if its bit is already set in the subbuf_mask. If it is, then there is duplicates and fail the validation. If not, set the corresponding bit and continue.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

8

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux c76883f18e59b762247ee91d3e4224231711854e to < 3ec743d558f111d8999aea24577ba66c65ee2eeb (affected · git)c76883f18e59b762247ee91d3e4224231711854e to < 0d547a6f5e8fad26ebc12f501d7d19fccdbad6bf (affected · git)c76883f18e59b762247ee91d3e4224231711854e to < f5b95f1fa2ef3a03f49eeec658ba97e721412b32 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.12 (affected)0 to < 6.12 (unaffected · semver)6.12.16 through 6.12.* (unaffected · semver)6.13.4 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

ring-buffer: Validate the persistent meta data subbuf array

Provenance

Schema
5.2
Searchable
yes
Content hash
c2f6daa9b83dd823f33bc851be47b4ed3db6f488089cd0773a36d7d6f0b103ec
Ingested
23 Sep 2026, 08:39:46 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected