CVE-2024-26622: tomoyo: fix UAF write bug in tomoyo_write_control()

Published Mar 4, 2024
·
Updated

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

12 affected componentsFixes available
Linux Linux Kernel>=3.1<5.10.212
Linux Linux Kernel>=5.11<5.15.151
Linux Linux Kernel>=5.16<6.1.81
Linux Linux Kernel>=6.2<6.6.21
Linux Linux Kernel>=6.7<6.7.9
Linux Linux Kernel=6.8-rc1
Linux Linux Kernel=6.8-rc2
Linux Linux Kernel=6.8-rc3
Linux Linux Kernel=6.8-rc4
Linux Linux Kernel=6.8-rc5
Linux Linux Kernel=6.8-rc6
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Mar 4, 2024
CVE Published
via MITRE·06:40 AM
Data Sourced
via MITRE·06:40 AM
Description
Data Sourced
via NVD·07:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 28, 2024
Data Sourced
via Launchpad·09:28 PM
Description
May 13, 2025
Data Sourced
via Ubuntu·12:15 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·12:15 AM
DescriptionAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203