What’s Vulnerable › Vulnerabilities

CVE-2024-26622: tomoyo: fix UAF write bug in tomoyo_write_control()

Description

In the Linux kernel, the following vulnerability has been resolved: tomoyo: fix UAF write bug in tomoyo_write_control() Since tomoyo_write_control() updates head->write_buf when write() of long lines is requested, we need to fetch head->write_buf after head->io_sem is held. Otherwise, concurrent write() requests can cause use-after-free-write and double-free problems.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.212, 5.15.151, 6.1.81, 6.6.21. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-26622 or the next vulnerability affects your stack