CVE-2024-35815: fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion

Published May 17, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

fs/aio: Check IOCBAIORW before the struct aiokiocb conversion

The first kiocbsetcancelfn() argument may point at a struct kiocb that is not embedded inside struct aiokiocb. With the current code, depending on the compiler, the req->kictx read happens either before the IOCBAIORW test or after that test. Move the req->kictx read such that it is guaranteed that the IOCBAIORW test happens first.

Affected Software

11 affected componentsFixes available
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
Linux Linux kernel>=4.19.308<4.19.312
Linux Linux kernel>=5.4.270<5.4.274
Linux Linux kernel>=5.10.211<5.10.215
Linux Linux kernel>=5.15.150<5.15.154
Linux Linux kernel>=6.1.80<6.1.84
Linux Linux kernel>=6.6.19<6.6.24
Linux Linux kernel>=6.7.7<6.7.12
Linux Linux kernel=6.8-rc6
Linux Linux kernel=6.8-rc7
Debian Debian Linux=10.0

Event History

May 17, 2024
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
Description
Data Sourced
via NVD·02:15 PM
Description
Data Sourced
via NVD·02:15 PM
RemedySeverityAffected Software
Jul 12, 2024
Data Sourced
via Launchpad·02:47 PM
Description
Dec 3, 2024
Data Sourced
via Ubuntu·03:10 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35815?

CVE-2024-35815 has been classified with a severity level that indicates it may be exploited to cause unintended behavior in the Linux kernel.

2

How do I fix CVE-2024-35815?

To address CVE-2024-35815, users should update to the patched versions of the Linux kernel: 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.119-1, 6.12.10-1, or 6.12.11-1.

3

What systems are affected by CVE-2024-35815?

CVE-2024-35815 affects systems running specific versions of the Linux kernel, particularly those listed in the affected software details.

4

Can I confirm if CVE-2024-35815 has been exploited?

As of now, there are no public reports confirming active exploitation of CVE-2024-35815 in the wild.

5

Is CVE-2024-35815 specific to certain distributions of Linux?

CVE-2024-35815 primarily affects Debian-based distributions that utilize impacted versions of the Linux kernel.

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