CVE
CVE-2024-26622
CNA 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 versions
All Linux kernel vulnerabilities →
- 6.8-rc6This version only
- 6.8-rc5This version only
- 6.8-rc4This version only
- 6.8-rc3This version only
- 6.8-rc2This version only
- 6.8-rc1This version only
- ≥ 6.7, < 6.7.9Fixed in 6.7.9
- ≥ 6.2, < 6.6.21Fixed in 6.6.21
- ≥ 5.16, < 6.1.81Fixed in 6.1.81
- ≥ 5.11, < 5.15.151Fixed in 5.15.151
- ≥ 3.1, < 5.10.212Fixed in 5.10.212
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/2caa605079488da9601099fbda460cfc1702839f · Patch
- git.kernel.org/stable/c/2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815 · Patch
- git.kernel.org/stable/c/3bfe04c1273d30b866f4c7c238331ed3b08e5824 · Patch
- git.kernel.org/stable/c/6edefe1b6c29a9932f558a898968a9fcbeec5711 · Patch
- git.kernel.org/stable/c/7d930a4da17958f869ef679ee0e4a8729337affc · Patch
- git.kernel.org/stable/c/a23ac1788e2c828c097119e9a3178f0b7e503fee · Patch
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.