7.8high
tomoyo: fix UAF write bug in tomoyo_write_control()
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from bd03a3e4c9a9df0c6b007045fa7fc8889111a478 before a23ac1788e2c828c097119e9a3178f0b7e503fee, from bd03a3e4c9a9df0c6b007045fa7fc8889111a478 before 7d930a4da17958f869ef679ee0e4a8729337affc, from bd03a3e4c9a9df0c6b007045fa7fc8889111a478 before 3bfe04c1273d30b866f4c7c238331ed3b08e5824, from bd03a3e4c9a9df0c6b007045fa7fc8889111a478 before 2caa605079488da9601099fbda460cfc1702839f, from bd03a3e4c9a9df0c6b007045fa7fc8889111a478 before 6edefe1b6c29a9932f558a898968a9fcbeec5711, from bd03a3e4c9a9df0c6b007045fa7fc8889111a478 before 2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815, 3.1 Not affected: before 3.1, from 5.10.212 up to 5.10.*, from 5.15.151 up to 5.15.*, from 6.1.81 up to 6.1.*, from 6.6.21 up to 6.6.*, from 6.7.9 up to 6.7.* | CVE List |
| linux linux_kernel | from 3.1 before 5.10.212, from 5.11 before 5.15.151, from 5.16 before 6.1.81, from 6.2 before 6.6.21, from 6.7 before 6.7.9, 6.8 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tomoyo: corrige el error de escritura UAF en tomoyo_write_control() Dado que tomoyo_write_control() actualiza head->write_buf cuando se solicita write() de líneas largas, necesitamos recuperar head->write_buf después head->io_sem se mantiene. De lo contrario, las solicitudes de escritura () simultáneas pueden causar problemas de use-after-free-write y de doble liberación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-26622 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-26622 changed 2026-06-17 | Public domain |