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-38101

published high CVSS 3.1 · 7.8

ring-buffer: Fix buffer locking in ring_buffer_subbuf_order_set()

Published
03 Jul 2025, 08:35:10 UTC
Updated
05 Aug 2026, 11:59:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxf9b94daa542a8d2532f0930f01cd9aec2d19621b to < e09c0600beea469b3ebf974464e526a02d59ad62 · f9b94daa542a8d2532f0930f01cd9aec2d19621b to < 0fc9a295cd8e59c3636e97395e7c74a9c89fee42 · f9b94daa542a8d2532f0930f01cd9aec2d19621b to < 40ee2afafc1d9fe3aa44a6fbe440d78a5c96a72e · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.12.34 through 6.12.* (unaffected · semver) · 6.15.3 through 6.15.* (unaffected · semver) · 6.16 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
Amazon Linux AL2023 Release evaluationALAS2023-2025-1080 Fixed Not stated Amazon Linux assessment
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el10uek ELSA-2025-20551
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551
Oracle Linux 9 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-103.40.4.1.el9uek ELSA-2025-20551

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: Fix buffer locking in ring_buffer_subbuf_order_set() Enlarge the critical section in ring_buffer_subbuf_order_set() to ensure that error handling takes place with per-buffer mutex held, thus preventing list corruption and other concurrency-related issues.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

32

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable function is reached only through a local `write()` to the tracefs file `buffer_subbuf_size_kb` (via `buffer_subbuf_size_write()`), with the error path armed by a local `mmap()` of `per_cpu/cpuN/trace_pipe_raw`. No remote or network-supplied data reaches `ring_buffer_subbuf_order_set()`. AC:L - The attacker owns both sides of the race — two threads writing `buffer_subbuf_size_kb` concurrently, with no `trace_types_lock` serializing `buffer_subbuf_size_write()` — and deterministically forces the unlocked `error:` path by mmap'ing a later CPU's `trace_pipe_raw` so `cpu_buffer->mapped` yields `-EBUSY` after earlier CPUs already allocated `new_pages`. The window spans a sleeping GFP_KERNEL allocation loop and a multi-page free loop whose length the attacker sets via `buffer_size_kb` and CPU count, and the attempt can be retried indefinitely. PR:L - No capability check exists anywhere on the path — `tracing_check_open_get_tr()` only tests `LOCKDOWN_TRACEFS` and `tracing_disabled` — so access is governed purely by tracefs DAC, which Android (`shell`, `traced_probes`/Perfetto), ChromeOS and observability/embedded deployments routinely delegate to ordinary non-root accounts and tracing groups. This matches the CNA's existing tracefs precedent (CVE-2025-38267, CVE-2025-68329, both PR:L). UI:N - The attacker performs the `mmap()` of `trace_pipe_raw` and both concurrent writes to `buffer_subbuf_size_kb` entirely from its own threads. No victim action, mount, or file open by another user is involved. S:U - The list corruption and freed-page reuse occur in the kernel's own ring-buffer allocations and stay within the host kernel's security authority. No VM, IOMMU, container, or sandbox boundary is crossed. C:H - The race leaves the live `cpu_buffer->pages` list pointing at `struct buffer_page` objects and order-N data pages that the other thread has already handed back via `kfree()`/`free_pages()`, so the ring buffer keeps reading from memory that the slab and page allocators have reissued to other kernel users. Reading `trace` or `trace_pipe_raw` then discloses the contents of those reallocated kernel objects. I:H - Concurrent `list_del_init()` against a re-initialized head produces list corruption plus double-free of both a kmalloc'd `struct buffer_page` and its `free_pages()` backing allocation — a classic heap-corruption primitive. Because `trace_marker` writes attacker-chosen bytes directly into ring-buffer data pages, the attacker can overwrite the freed-and-reallocated memory with controlled content, giving a write primitive usable for control-flow hijack. A:H - The corrupted linked list and double-free reliably oops the kernel — immediately under `CONFIG_DEBUG_LIST`, which turns the bad `__list_del_entry()` into a BUG, and otherwise through the subsequent `rb_check_pages()`/`rb_head_page_deactivate()` walk over freed pages. This was the syzbot-reported failure mode and the attacker can repeat it at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux f9b94daa542a8d2532f0930f01cd9aec2d19621b to < e09c0600beea469b3ebf974464e526a02d59ad62 (affected · git)f9b94daa542a8d2532f0930f01cd9aec2d19621b to < 0fc9a295cd8e59c3636e97395e7c74a9c89fee42 (affected · git)f9b94daa542a8d2532f0930f01cd9aec2d19621b to < 40ee2afafc1d9fe3aa44a6fbe440d78a5c96a72e (affected · git)Default: unaffected Linux · cna
Linux Linux 6.8 (affected)0 to < 6.8 (unaffected · semver)6.12.34 through 6.12.* (unaffected · semver)6.15.3 through 6.15.* (unaffected · semver)6.16 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: Fix buffer locking in ring_buffer_subbuf_order_set()

Provenance

Schema
5.2
Searchable
yes
Content hash
6fa4377fa6a6c3e170ee788e2c5ec81420fb5c5833287cab783ea275db704049
Ingested
23 Sep 2026, 08:46:29 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