CVE-2024-35874

aio: Fix null ptr deref in aio_complete() wakeup

State
Published
Severity
7.8 High
Published
May 19, 2024
Updated
Aug 5, 2026
Reserved
May 17, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 71eb6b6b0ba93b1467bccff57b5de746b09113d2 to before 9678bcc6234d83759fe091c197f5017a32b468daAffected
  • 71eb6b6b0ba93b1467bccff57b5de746b09113d2 to before caeb4b0a11b3393e43f7fa8e0a5a18462acc66bdAffected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.8.5 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.