{"id":"CVE-2026-23380","published":"2026-03-25T10:27:59Z","modified":"2026-05-11T22:05:45Z","title":"tracing: Fix WARN_ON in tracing_buffers_mmap_close","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\n\nWhen a process forks, the child process copies the parent's VMAs but the\nuser_mapped reference count is not incremented. As a result, when both the\nparent and child processes exit, tracing_buffers_mmap_close() is called\ntwice. On the second call, user_mapped is already 0, causing the function to\nreturn -ENODEV and triggering a WARN_ON.\n\nNormally, this isn't an issue as the memory is mapped with VM_DONTCOPY set.\nBut this is only a hint, and the application can call\nmadvise(MADVISE_DOFORK) which resets the VM_DONTCOPY flag. When the\napplication does that, it can trigger this issue on fork.\n\nFix it by incrementing the user_mapped reference count without re-mapping\nthe pages in the VMA's open callback.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00188,"percentile":0.04861,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/91f3e8d84c89918769e71393f839c9fefadc2580","tags":[]},{"url":"https://git.kernel.org/stable/c/cdd96641b64297a2db42676f051362b76280a58b","tags":[]},{"url":"https://git.kernel.org/stable/c/b0f269ba6fefe9e3cb9feedcf78fcd0b633800c0","tags":[]},{"url":"https://git.kernel.org/stable/c/e39bb9e02b68942f8e9359d2a3efe7d37ae6be0e","tags":[]}],"priority":{"score":1.0,"factors":[{"name":"EPSS percentile","points":0.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64, < 91f3e8d84c89918769e71393f839c9fefadc2580",">= cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64, < cdd96641b64297a2db42676f051362b76280a58b",">= cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64, < b0f269ba6fefe9e3cb9feedcf78fcd0b633800c0",">= cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64, < e39bb9e02b68942f8e9359d2a3efe7d37ae6be0e"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"euvd":{"id":"EUVD-2026-15372","exploited":false,"provenance":"source"}}