# CVE-2025-68329: tracing: Fix WARN_ON in tracing_buffers_mmap_close for split VMAs

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-12-22T16:12:23.133Z
- Modified: 2026-10-19T21:10:00.160Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

tracing: Fix WARN_ON in tracing_buffers_mmap_close for split VMAs

When a VMA is split (e.g., by partial munmap or MAP_FIXED), the kernel
calls vm_ops->close on each portion. For trace buffer mappings, this
results in ring_buffer_unmap() being called multiple times while
ring_buffer_map() was only called once.

This causes ring_buffer_unmap() to return -ENODEV on subsequent calls
because user_mapped is already 0, triggering a WARN_ON.

Trace buffer mappings cannot support partial mappings because the ring
buffer structure requires the complete buffer including the meta page.

Fix this by adding a may_split callback that returns -EINVAL to prevent
VMA splits entirely.

(As written by CVE List.)

## Affected

- Linux Linux: from cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64 before 922fdd0b755a84f9933b3ca195f60092b6bb88ee; from cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64 before 45053c12c45f0fb8ef6ab95118dd928d2fec0255; from cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64 before b042fdf18e89a347177a49e795d8e5184778b5b6; 6.10 (not affected: before 6.10; from 6.12.61 up to 6.12.*; from 6.17.11 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/922fdd0b755a84f9933b3ca195f60092b6bb88ee>
- <https://git.kernel.org/stable/c/45053c12c45f0fb8ef6ab95118dd928d2fec0255>
- <https://git.kernel.org/stable/c/b042fdf18e89a347177a49e795d8e5184778b5b6>

## Sources

- CVE List: [CVE-2025-68329](https://www.cve.org/CVERecord?id=CVE-2025-68329), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-68329](https://nvd.nist.gov/vuln/detail/CVE-2025-68329), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-68329 · Whole record: https://cve.day/CVE-2025-68329.json · Rebuilt by cve.day 2026-11-25T22:59:09.790Z
