← CVE Intelligence

CVE-2024-26622

tomoyo: fix UAF write bug in tomoyo_write_control() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected bd03a3e4c9a9df0c6b007045fa7fc8889111a478 before a23ac1788e2c828c097119e9a3178f0b7e503fee; affected bd03a3e4c9a9df0c6b007045fa7fc8889111a478 before 7d930a4da17958f869ef679ee0e4a8729337affc; affected bd03a3e4c9a9df0c6b007045fa7fc8889111a478 before 3bfe04c1273d30b866f4c7c238331ed3b08e5824; affected bd03a3e4c9a9df0c6b007045fa7fc8889111a478 before 2caa605079488da9601099fbda460cfc1702839f; affected bd03a3e4c9a9df0c6b007045fa7fc8889111a478 before 6edefe1b6c29a9932f558a898968a9fcbeec5711; affected bd03a3e4c9a9df0c6b007045fa7fc8889111a478 before 2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815
Linux / Linuxaffected 3.1; unaffected 0 before 3.1; unaffected 5.10.212 through 5.10.*; unaffected 5.15.151 through 5.15.*; unaffected 6.1.81 through 6.1.*; unaffected 6.6.21 through 6.6.*; unaffected 6.7.9 through 6.7.*; unaffected 6.8 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.