CVE-2025-38101 ring-buffer: Fix buffer locking in ring_buffer_subbuf_order_set()
A race condition in the Linux kernel ring buffer allows list corruption, potentially leading to denial of service or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-38101?
CVE-2025-38101 is a high-severity vulnerability in Linux kernel, published on 3 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2025-38101?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-38101?
Apply the vendor's patch.
Is CVE-2025-38101 being exploited?
There is no known exploitation of CVE-2025-38101 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-38101, DEBIAN-CVE-2025-38101, GHSA-625m-9827-6f43, ROOT-OS-UBUNTU-2404-CVE-2025-38101, UBUNTU-CVE-2025-38101.