CVE-2024-26622

tomoyo: fix UAF write bug in tomoyo_write_control()

HIGH
7.8
CVSS Score
Published: March 4, 2024 at 06:40 AM UTC
Updated: June 17, 2026 at 07:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.1 ≤ v < 5.10.2123.1 ≤ v < 5.15.1513.1 ≤ v < 6.1.813.1 ≤ v < 6.6.213.1 ≤ v < 6.7.93.1 ≤ v < 6.85.11 ≤ v < 5.15.1515.16 ≤ v < 6.1.816.2 ≤ v < 6.6.216.7 ≤ v < 6.7.96.8 rc16.8 rc26.8 rc36.8 rc46.8 rc56.8 rc6bd03a3e4c9a9df0c6b007045fa7fc8889111a478
Vendor states this is fixed in 2caa605079488da9601099fbda460cfc1702839f (fixed)
Vendor states this is fixed in 2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815 (fixed)
Vendor states this is fixed in 3bfe04c1273d30b866f4c7c238331ed3b08e5824 (fixed)
Vendor states this is fixed in 6edefe1b6c29a9932f558a898968a9fcbeec5711 (fixed)
Vendor states this is fixed in 7d930a4da17958f869ef679ee0e4a8729337affc (fixed)
Vendor states this is fixed in a23ac1788e2c828c097119e9a3178f0b7e503fee (fixed)
Vendor states this is fixed in 3.1 (unaffected)
Vendor states this is fixed in 5.10.212 (unaffected)
Vendor states this is fixed in 5.15.151 (unaffected)
Vendor states this is fixed in 6.1.81 (unaffected)
Vendor states this is fixed in 6.6.21 (unaffected)
Vendor states this is fixed in 6.7.9 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card