{"id":"CVE-2024-26622","aliases":["CVE-2024-26622"],"related":[],"kind":"vulnerability","state":"published","title":"tomoyo: fix UAF write bug in tomoyo_write_control()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tomoyo: corrige el error de escritura UAF en tomoyo_write_control() Dado que tomoyo_write_control() actualiza head-&gt;write_buf cuando se solicita write() de líneas largas, necesitamos recuperar head-&gt;write_buf después head-&gt;io_sem se mantiene. De lo contrario, las solicitudes de escritura () simultáneas pueden causar problemas de use-after-free-write y de doble liberación.","source":"nvd"}],"published":"2024-03-04T06:40:01.754Z","modified":"2026-06-17T07:17:55.050Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"bd03a3e4c9a9df0c6b007045fa7fc8889111a478","fixed":"a23ac1788e2c828c097119e9a3178f0b7e503fee","status":"affected"},{"type":"git","introduced":"bd03a3e4c9a9df0c6b007045fa7fc8889111a478","fixed":"7d930a4da17958f869ef679ee0e4a8729337affc","status":"affected"},{"type":"git","introduced":"bd03a3e4c9a9df0c6b007045fa7fc8889111a478","fixed":"3bfe04c1273d30b866f4c7c238331ed3b08e5824","status":"affected"},{"type":"git","introduced":"bd03a3e4c9a9df0c6b007045fa7fc8889111a478","fixed":"2caa605079488da9601099fbda460cfc1702839f","status":"affected"},{"type":"git","introduced":"bd03a3e4c9a9df0c6b007045fa7fc8889111a478","fixed":"6edefe1b6c29a9932f558a898968a9fcbeec5711","status":"affected"},{"type":"git","introduced":"bd03a3e4c9a9df0c6b007045fa7fc8889111a478","fixed":"2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.1","status":"unaffected"},{"type":"semver","introduced":"5.10.212","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.151","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.81","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.21","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.9","lastAffected":"6.7.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.8","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.1","fixed":"5.10.212"},{"status":"affected","introduced":"5.11","fixed":"5.15.151"},{"status":"affected","introduced":"5.16","fixed":"6.1.81"},{"status":"affected","introduced":"6.2","fixed":"6.6.21"},{"status":"affected","introduced":"6.7","fixed":"6.7.9"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"},{"status":"affected","version":"6.8"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a23ac1788e2c828c097119e9a3178f0b7e503fee","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d930a4da17958f869ef679ee0e4a8729337affc","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3bfe04c1273d30b866f4c7c238331ed3b08e5824","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2caa605079488da9601099fbda460cfc1702839f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6edefe1b6c29a9932f558a898968a9fcbeec5711","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f03fc340cac9ea1dc63cbf8c93dd2eb0f227815","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IVVYSTEVMPYGF6GDSOD44MUXZXAZHOHB/","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:56:14.798Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-26622","url":"https://www.cve.org/CVERecord?id=CVE-2024-26622","licence":"CVE Terms of Use","modified":"2026-05-11T20:00:58.869Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-26622","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26622","licence":"Public domain","modified":"2026-06-17T07:17:55.050Z"}],"updatedAt":"2026-11-25T22:58:37.250Z","epss":{"score":0.00238,"percentile":0.15902,"date":"2026-12-01T12:00:22.000Z"}}