Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2024-35874

aio: Fix null ptr deref in aio_complete() wakeup

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 71eb6b6b0ba93b1467bccff57b5de746b09113d2 to < 9678bcc6234d83759fe091c197f5017a32b468daaffected
  • 71eb6b6b0ba93b1467bccff57b5de746b09113d2 to < caeb4b0a11b3393e43f7fa8e0a5a18462acc66bdaffected

Linux Linux

Default version status: affected

  • 6.8affected
  • 0 to < 6.8unaffected
  • 6.8.5 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References