← CVE Intelligence

CVE-2024-35874

aio: Fix null ptr deref in aio_complete() wakeup PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 71eb6b6b0ba93b1467bccff57b5de746b09113d2 before 9678bcc6234d83759fe091c197f5017a32b468da; affected 71eb6b6b0ba93b1467bccff57b5de746b09113d2 before caeb4b0a11b3393e43f7fa8e0a5a18462acc66bd
Linux / Linuxaffected 6.8; unaffected 0 before 6.8; unaffected 6.8.5 through 6.8.*; unaffected 6.9 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.