{"id":"CVE-2024-26622","published":"2024-03-04T06:40:01Z","modified":"2026-05-11T20:00:58Z","title":"tomoyo: fix UAF write bug in tomoyo_write_control()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntomoyo: fix UAF write bug in tomoyo_write_control()\n\nSince tomoyo_write_control() updates head->write_buf when write()\nof long lines is requested, we need to fetch head->write_buf after\nhead->io_sem is held.  Otherwise, concurrent write() requests can\ncause use-after-free-write and double-free problems.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00238,"percentile":0.15147,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/a23ac1788e2c828c097119e9a3178f0b7e503fee","tags":[]},{"url":"https://git.kernel.org/stable/c/7d930a4da17958f869ef679ee0e4a8729337affc","tags":[]},{"url":"https://git.kernel.org/stable/c/3bfe04c1273d30b866f4c7c238331ed3b08e5824","tags":[]},{"url":"https://git.kernel.org/stable/c/2caa605079488da9601099fbda460cfc1702839f","tags":[]},{"url":"https://git.kernel.org/stable/c/6edefe1b6c29a9932f558a898968a9fcbeec5711","tags":[]},{"url":"https://git.kernel.org/stable/c/2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IVVYSTEVMPYGF6GDSOD44MUXZXAZHOHB/","tags":[]}],"priority":{"score":3.0,"factors":[{"name":"EPSS percentile","points":3.03}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < a23ac1788e2c828c097119e9a3178f0b7e503fee",">= bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < 7d930a4da17958f869ef679ee0e4a8729337affc",">= bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < 3bfe04c1273d30b866f4c7c238331ed3b08e5824",">= bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < 2caa605079488da9601099fbda460cfc1702839f",">= bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < 6edefe1b6c29a9932f558a898968a9fcbeec5711",">= bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < 2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815"]},{"vendor":"Linux","product":"Linux","versions":["3.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:56:14.798653Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-23884","exploited":false,"provenance":"source"}}