CVE-2024-26622: tomoyo: fix UAF write bug in tomoyo_write_control()
In the Linux kernel, the following vulnerability has been resolved:
tomoyo: fix UAF write bug in tomoyowritecontrol()
Since tomoyowritecontrol() updates head->writebuf when write() of long lines is requested, we need to fetch head->writebuf after head->iosem is held. Otherwise, concurrent write() requests can cause use-after-free-write and double-free problems.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-26622?
CVE-2024-26622 has been classified with a severity level that may impact the integrity of the Linux kernel.
How do I fix CVE-2024-26622?
To address CVE-2024-26622, it is recommended to update to the patched versions of the Linux kernel such as 5.10.223-1 or 6.1.123-1.
Which versions of the Linux kernel are affected by CVE-2024-26622?
CVE-2024-26622 affects multiple versions of the Linux kernel, particularly versions between 3.1 and 6.7, as well as several release candidates.
What are the potential consequences of CVE-2024-26622?
Exploitation of CVE-2024-26622 may lead to user-after-free vulnerabilities, potentially allowing attackers to execute arbitrary code.
Is CVE-2024-26622 resolved in the latest Linux kernel versions?
Yes, CVE-2024-26622 has been resolved in the latest kernel versions released after the identification of the vulnerability.