CVE-2024-26622

published 4 Mar 2024 · updated 11 May 2026

tomoyo: fix UAF write bug in tomoyo_write_control()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2caa605079488da9601099fbda460cfc1702839f, Kernel 2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815, Kernel 3bfe04c1273d30b866f4c7c238331ed3b08e5824 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.1, >=bd03a3e4c9a9df0c6b007045fa7fc8889111a478 <2caa605079488da9601099fbda460cfc1702839f, >=bd03a3e4c9a9df0c6b007045fa7fc8889111a478 <2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815, >=bd03a3e4c9a9df0c6b007045fa7fc8889111a478 <3bfe04c1273d30b866f4c7c238331ed3b08e5824, >=bd03a3e4c9a9df0c6b007045fa7fc8889111a478 <6edefe1b6c29a9932f558a898968a9fcbeec5711, >=bd03a3e4c9a9df0c6b007045fa7fc8889111a478 <7d930a4da17958f869ef679ee0e4a8729337affc, >=bd03a3e4c9a9df0c6b007045fa7fc8889111a478 <a23ac1788e2c828c097119e9a3178f0b7e503fee2caa605079488da9601099fbda460cfc1702839f, 2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815, 3bfe04c1273d30b866f4c7c238331ed3b08e5824, 6edefe1b6c29a9932f558a898968a9fcbeec5711, 7d930a4da17958f869ef679ee0e4a8729337affc, a23ac1788e2c828c097119e9a3178f0b7e503fee

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-26622 severity on Zeptric[![CVE-2024-26622](https://zeptric.io/badge/cve/CVE-2024-26622.svg)](https://zeptric.io/cve/CVE-2024-26622)