CVE-2024-35874

published 19 May 2024 · updated 5 Aug 2026

aio: Fix null ptr deref in aio_complete() wakeup

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 9678bcc6234d83759fe091c197f5017a32b468da and Kernel caeb4b0a11b3393e43f7fa8e0a5a18462acc66bd.

In the Linux kernel, the following vulnerability has been resolved: aio: Fix null ptr deref in aio_complete() wakeup list_del_init_careful() needs to be the last access to the wait queue entry - it effectively unlocks access. Previously, finish_wait() 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 task_struct pointer had been overwritten.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.8, >=71eb6b6b0ba93b1467bccff57b5de746b09113d2 <9678bcc6234d83759fe091c197f5017a32b468da, >=71eb6b6b0ba93b1467bccff57b5de746b09113d2 <caeb4b0a11b3393e43f7fa8e0a5a18462acc66bd9678bcc6234d83759fe091c197f5017a32b468da, caeb4b0a11b3393e43f7fa8e0a5a18462acc66bd

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-35874 severity on Zeptric[![CVE-2024-35874](https://zeptric.io/badge/cve/CVE-2024-35874.svg)](https://zeptric.io/cve/CVE-2024-35874)