CVE-2026-23380 Details
Description
In the Linux kernel, the following vulnerability has been resolved: tracing: Fix WARN_ON in tracing_buffers_mmap_close When a process forks, the child process copies the parent's VMAs but the user_mapped reference count is not incremented. As a result, when both the parent and child processes exit, tracing_buffers_mmap_close() is called twice. On the second call, user_mapped is already 0, causing the function to return -ENODEV and triggering a WARN_ON. Normally, this isn't an issue as the memory is mapped with VM_DONTCOPY set. But this is only a hint, and the application can call madvise(MADVISE_DOFORK) which resets the VM_DONTCOPY flag. When the application does that, it can trigger this issue on fork. Fix it by incrementing the user_mapped reference count without re-mapping the pages in the VMA's open callback.
A vulnerability in the Linux kernel's handling of user-space mappings for trace buffers can lead to a WARN_ON condition. When a process forks, the child process duplicates the parent's virtual memory areas (VMAs) without increasing the user_mapped reference count. Consequently, when both processes terminate, the tracing_buffers_mmap_close() function is invoked twice. During the second call, the user_mapped count is already zero, causing the function to return -ENODEV and trigger a warning. This issue typically does not arise because the memory is mapped with the VM_DONTCOPY flag, which prevents copying during a fork. However, applications can reset this flag, potentially leading to the problem. The vulnerability has been addressed by modifying the VMA's open callback to increment the user_mapped reference count without re-mapping the pages.
The vulnerability has been fixed in the Linux kernel by updating the VMA's open callback to increment the user_mapped reference count without re-mapping the pages. Users should upgrade to the latest version of the Linux kernel where this fix is applied.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/91f3e8d84c89918769e71393f839c9fefadc2580 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b0f269ba6fefe9e3cb9feedcf78fcd0b633800c0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/cdd96641b64297a2db42676f051362b76280a58b | kernel.org | Patch |
| https://git.kernel.org/stable/c/e39bb9e02b68942f8e9359d2a3efe7d37ae6be0e | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-617 | Reachable Assertion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.10.1, < 6.12.77 >= 6.13, < 6.18.17 >= 6.19, < 6.19.7 6.10 - 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 7.0 rc6 7.0 rc7 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 24, 2026 | Initial Analysis | [email protected] |
| Mar 25, 2026 | New CVE Received | kernel.org |