{"id":"CVE-2025-68329","published":"2025-12-22T16:12:23Z","modified":"2026-05-11T21:51:04Z","title":"tracing: Fix WARN_ON in tracing_buffers_mmap_close for split VMAs","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Fix WARN_ON in tracing_buffers_mmap_close for split VMAs\n\nWhen a VMA is split (e.g., by partial munmap or MAP_FIXED), the kernel\ncalls vm_ops->close on each portion. For trace buffer mappings, this\nresults in ring_buffer_unmap() being called multiple times while\nring_buffer_map() was only called once.\n\nThis causes ring_buffer_unmap() to return -ENODEV on subsequent calls\nbecause user_mapped is already 0, triggering a WARN_ON.\n\nTrace buffer mappings cannot support partial mappings because the ring\nbuffer structure requires the complete buffer including the meta page.\n\nFix this by adding a may_split callback that returns -EINVAL to prevent\nVMA splits entirely.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00274,"percentile":0.12555,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/922fdd0b755a84f9933b3ca195f60092b6bb88ee","tags":[]},{"url":"https://git.kernel.org/stable/c/45053c12c45f0fb8ef6ab95118dd928d2fec0255","tags":[]},{"url":"https://git.kernel.org/stable/c/b042fdf18e89a347177a49e795d8e5184778b5b6","tags":[]}],"priority":{"score":2.5,"factors":[{"name":"EPSS percentile","points":2.51}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64, < 922fdd0b755a84f9933b3ca195f60092b6bb88ee",">= cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64, < 45053c12c45f0fb8ef6ab95118dd928d2fec0255",">= cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64, < b042fdf18e89a347177a49e795d8e5184778b5b6"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"euvd":{"id":"EUVD-2025-204731","exploited":false,"provenance":"source"}}