CVE-2026-23380

tracing: Fix WARN_ON in tracing_buffers_mmap_close

No CVSS score yet EPSS 0.13%

Published 25 Mar 2026 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2026-23380

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-23380 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.98% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64, before 91f3e8d84c89918769e71393f839c9fefadc2580
affected from cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64, before cdd96641b64297a2db42676f051362b76280a58b
affected from cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64, before b0f269ba6fefe9e3cb9feedcf78fcd0b633800c0
affected from cf9f0f7c4c5bb45e7bb270e48bab6f7837825a64, before e39bb9e02b68942f8e9359d2a3efe7d37ae6be0e
Other versions: unaffected
Linux
affected 6.10
unaffected before 6.10
unaffected from 6.12.77 up to and including 6.12.*
unaffected from 6.18.17 up to and including 6.18.*
unaffected from 6.19.7 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-23380 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23380

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-23380
trivy image --scanners vuln IMAGE | grep CVE-2026-23380

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-23380 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.