Vulnerability · Published Mar 4, 2024 · Assigned by Linux
CVE-2024-26622tomoyo: fix UAF write bug in tomoyo_write_control()
High 7.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)0.2%top 85.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.82-1 | DEBIAN-CVE-2024-26622 |
| Debian:13 | linux | 6.7.9-1 | DEBIAN-CVE-2024-26622 |
| Debian:14 | linux | 6.7.9-1 | DEBIAN-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux | 5.15.0-107.117 | USN-6775-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-107.117 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1062.68 | USN-6775-2 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1062.68 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | 6.5.0-1020.20~22.04.1 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | 6.5.0-1020.20~22.04.1 | USN-6774-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1064.73 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1064.73 | USN-6775-1 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | 6.5.0-1021.22~22.04.1 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | 6.5.0-1021.22~22.04.1 | USN-6774-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1064.73.1 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1064.73.1 | USN-6775-1 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1060.68 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1060.68 | USN-6775-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | 6.5.0-1020.20~22.04.1 | USN-6774-1 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | 6.5.0-1020.20~22.04.1 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1059.64 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1059.64 | USN-6775-2 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1045.52 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1045.52 | USN-6775-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | 6.5.0-35.35~22.04.1 | USN-6774-1 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | 6.5.0-35.35~22.04.1 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1055.58 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1055.58 | USN-6775-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1057.63 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1059.64 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1059.64 | USN-6775-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-107.117 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-107.117 | USN-6775-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | 6.5.0-35.35.1~22.04.1 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | 6.5.0-35.35.1~22.04.1 | USN-6774-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1055.56 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1055.56 | USN-6775-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | 6.5.0-1019.19 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | 6.5.0-1019.19 | USN-6774-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1026.26 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1015.15 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1023.24 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | 6.5.0-1023.24 | USN-6774-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1060.66 | USN-6775-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1060.66 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | 6.5.0-1023.23~22.04.1 | USN-6774-1 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | 6.5.0-1023.23~22.04.1 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1055.58 | USN-6775-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1055.58 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | 6.5.0-35.35.1~22.04.1 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | 6.5.0-1014.15~22.04.1 | USN-6774-1 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | 6.5.0-1014.15~22.04.1 | UBUNTU-CVE-2024-26622 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1030.34 | UBUNTU-CVE-2024-26622 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | bd03a3e4c9a9df0c6b007045fa7fc8889111a478 – before a23ac1788e2c828c097119e9a3178f0b7e503feebd03a3e4c9a9df0c6b007045fa7fc8889111a478 – before 7d930a4da17958f869ef679ee0e4a8729337affcbd03a3e4c9a9df0c6b007045fa7fc8889111a478 – before 3bfe04c1273d30b866f4c7c238331ed3b08e5824bd03a3e4c9a9df0c6b007045fa7fc8889111a478 – before 2caa605079488da9601099fbda460cfc1702839fbd03a3e4c9a9df0c6b007045fa7fc8889111a478 – before 6edefe1b6c29a9932f558a898968a9fcbeec5711bd03a3e4c9a9df0c6b007045fa7fc8889111a478 – before 2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815 |
| Linux | Linux | 3.1 |
References
- https://git.kernel.org/stable/c/a23ac1788e2c828c097119e9a3178f0b7e503fee
- https://git.kernel.org/stable/c/7d930a4da17958f869ef679ee0e4a8729337affc
- https://git.kernel.org/stable/c/3bfe04c1273d30b866f4c7c238331ed3b08e5824
- https://git.kernel.org/stable/c/2caa605079488da9601099fbda460cfc1702839f
- https://git.kernel.org/stable/c/6edefe1b6c29a9932f558a898968a9fcbeec5711
- https://git.kernel.org/stable/c/2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IVVYSTEVMPYGF6GDSOD44MUXZXAZHOHB/