Incorrect Calculation of Buffer Size in Linux kernel - CVE-2026-23380
Published: March 25, 2026
Vulnerability details
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to improper reference counting in the tracing_buffers_mmap_close function when handling memory mappings after a process forks. A local user can trigger a WARN_ON condition by manipulating VMA flags via madvise(MADV_DOFORK), leading to an invalid decrement of the user_mapped reference count and causing a denial of service.
The issue arises when an application removes the VM_DONTCOPY flag using madvise(MADV_DOFORK), allowing the child process to inherit the parent's VMAs without incrementing the reference count.
Affected software
Debian Linux
linux (Debian package)
How to mitigate CVE-2026-23380
linux (Debian package) - update to 6.12.85-1