Security

Freed memory page stayed writable by another thread after madvise

KSA-2026-0055

Status
Fixed, update coming
Severity
High
CVE
CVE-2026-128756
Affected versions
0.2.0 to 0.2.6
Fixed in
the next update after 0.2.6 (PR #42)
Published
2026-11-02
Updated
2026-11-18

Summary

madvise(MADV_DONTNEED) freed each page before the other processors had dropped their cached translations. A thread of the same program on another processor could keep writing to a page that had already been given to the kernel or another program.

Pages are now freed only after every processor has flushed them.

Workaround

Install the next update when it is offered. Until then there is no workaround.

Credit

Brent Gordon