CVE-2024-26622 json
tomoyo: fix UAF write bug in tomoyo_write_control()
published 2024-03-04 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-23884
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 14%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.10.212, 5.15.151, 6.1.81, 6.6.21, 6.7.9, 6.8
- linux Debian 12 6.1.82-1
- linux Debian 14, Debian 13 6.7.9-1
debian advisories DEBIAN-CVE-2024-26622
- linux Ubuntu 20.04 LTS 5.4.0-182.202
- linux Ubuntu 22.04 LTS 5.15.0-107.117
- linux-aws Ubuntu 20.04 LTS 5.4.0-1125.135
- linux-aws Ubuntu 22.04 LTS 5.15.0-1062.68
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1129.138
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1060.68
- linux-gke Ubuntu 22.04 LTS 5.15.0-1059.64
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1072.77
ubuntu advisories UBUNTU-CVE-2024-26622
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-livepatch-SLE15-SP5_Update_10 SLE Live Patching 15 SP5 13-150500.11.8.1
- kernel-livepatch-SLE15-SP4_Update_23 SLE Live Patching 15 SP4 13-150400.9.8.1
- kernel-livepatch-SLE15-SP5_Update_10 SLE Live Patching 15 SP5 12-150500.11.8.1
- kernel-livepatch-SLE15-SP4_Update_23 SLE Live Patching 15 SP4 12-150400.9.8.1
- kernel-livepatch-SLE15-SP4_Update_23 SLE Live Patching 15 SP4 11-150400.9.8.1
- kernel-livepatch-SLE15-SP5_Update_10 SLE Live Patching 15 SP5 11-150500.11.8.1
- kernel-livepatch-SLE15-SP5-RT_Update_10 SLE Live Patching 15 SP5 11-150500.11.8.1
- kernel-livepatch-SLE15-SP5_Update_10 SLE Live Patching 15 SP5 10-150500.11.8.1
suse advisories SUSE-SU-2025:0266-1SUSE-SU-2025:0261-1SUSE-SU-2025:0158-1SUSE-SU-2025:0107-1SUSE-SU-2024:4234-1SUSE-SU-2024:4218-1
- git.kernel.org/stable/c/a23ac1788e2c828c097119e9a3178f0b7e503fee commit
- git.kernel.org/stable/c/7d930a4da17958f869ef679ee0e4a8729337affc commit
- git.kernel.org/stable/c/3bfe04c1273d30b866f4c7c238331ed3b08e5824 commit
- git.kernel.org/stable/c/2caa605079488da9601099fbda460cfc1702839f commit
- git.kernel.org/stable/c/6edefe1b6c29a9932f558a898968a9fcbeec5711 commit
- git.kernel.org/stable/c/2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815 commit
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html patch
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-26622 updated cvss 6.2
kernel: tomoyo: fix UAF write bug in tomoyo_write_control()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/stable/c/a23ac1788e2c828c097119e9a3178f0b7e503fee
patch
-
git.kernel.org
/stable/c/7d930a4da17958f869ef679ee0e4a8729337affc
patch
-
git.kernel.org
/stable/c/3bfe04c1273d30b866f4c7c238331ed3b08e5824
patch
-
git.kernel.org
/stable/c/2caa605079488da9601099fbda460cfc1702839f
patch
-
git.kernel.org
/stable/c/6edefe1b6c29a9932f558a898968a9fcbeec5711
patch
-
git.kernel.org
/stable/c/2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815
patch
-
lists.debian.org
/debian-lts-announce/2024/06/msg00017.html
patch
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/IVVYSTEVMPYGF6GDSOD44MUXZXAZHOHB/
Sources
- CVE List CVE-2024-26622
- NVD CVE-2024-26622
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.