CVE-2024-35874: aio: Fix null ptr deref in aio_complete() wakeup

Published May 19, 2024
·
Updated

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

aio: Fix null ptr deref in aiocomplete() wakeup

listdelinitcareful() needs to be the last access to the wait queue entry - it effectively unlocks access.

Previously, finishwait() would see the empty list head and skip taking the lock, and then we'd return - but the completion path would still attempt to do the wakeup after the taskstruct pointer had been overwritten.

Affected Software

4 affected componentsFixes available
Linux Linux kernel>=6.8<6.8.5
Linux Linux kernel=6.9-rc1
Linux Linux kernel=6.9-rc2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1

Event History

May 19, 2024
CVE Published
via MITRE·08:34 AM
Data Sourced
via MITRE·08:34 AM
DescriptionSeverity
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:19 AM
Description
Jan 2, 2025
Data Sourced
via Ubuntu·06:42 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-35874?

CVE-2024-35874 has been classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-35874?

To resolve CVE-2024-35874, update your Linux kernel to a version that includes the fix, such as 5.10.223-1 or later versions.

3

Which versions of the Linux kernel are affected by CVE-2024-35874?

CVE-2024-35874 affects Linux kernel versions 6.8.x and versions 6.9 up to RC2.

4

Can CVE-2024-35874 lead to system crashes?

Yes, CVE-2024-35874 can potentially lead to system crashes due to a null pointer dereference in the aio_complete function.

5

Is there a workaround for CVE-2024-35874?

There is no known workaround for CVE-2024-35874, so upgrading to a patched version of the Linux kernel is recommended.

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