CVEvulnerability
CVE-2024-26622
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-03-04
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416
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 configurations
• linux linux kernel (>= 3.1 < 5.10.212)
• linux linux kernel (>= 5.11 < 5.15.151)
• linux linux kernel (>= 5.16 < 6.1.81)
• linux linux kernel (>= 6.2 < 6.6.21)
• linux linux kernel (>= 6.7 < 6.7.9)
• linux linux kernel 6.8
Related
Weakness · CWE (1)
- CWE-416 Use After Free weakness
References
- https://git.kernel.org/stable/c/2caa605079488da9601099fbda460cfc1702839f Patch
- https://git.kernel.org/stable/c/2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815 Patch
- https://git.kernel.org/stable/c/3bfe04c1273d30b866f4c7c238331ed3b08e5824 Patch
- https://git.kernel.org/stable/c/6edefe1b6c29a9932f558a898968a9fcbeec5711 Patch
- https://git.kernel.org/stable/c/7d930a4da17958f869ef679ee0e4a8729337affc Patch
- https://git.kernel.org/stable/c/a23ac1788e2c828c097119e9a3178f0b7e503fee Patch
- https://git.kernel.org/stable/c/2caa605079488da9601099fbda460cfc1702839f Patch
- https://git.kernel.org/stable/c/2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815 Patch
- https://git.kernel.org/stable/c/3bfe04c1273d30b866f4c7c238331ed3b08e5824 Patch
- https://git.kernel.org/stable/c/6edefe1b6c29a9932f558a898968a9fcbeec5711 Patch
- https://git.kernel.org/stable/c/7d930a4da17958f869ef679ee0e4a8729337affc Patch
- https://git.kernel.org/stable/c/a23ac1788e2c828c097119e9a3178f0b7e503fee Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Patch
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IVVYSTEVMPYGF6GDSOD44MUXZXAZHOHB/ lists.fedoraproject.org