Security

Programs could make the kernel write to kernel memory through ioctl

KSA-2026-0025

Status
Resolved
Severity
High
CVE
CVE-2026-128744
Affected versions
0.2.0 to 0.2.4
Fixed in
0.2.5
Published
2026-11-02
Updated
2026-11-18

Summary

Some ioctl requests for pipes and terminals wrote their answer to the address the program passed without checking that it was in the program's own memory. A program could pass a kernel address and change kernel memory, which can give it full control of the PC. A window call also used a window number without a range check.

Every ioctl argument used as a pointer is now checked to be in program memory, and the window number is range checked.

Workaround

Update to 0.2.5 or later.

Credit

Brent Gordon