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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-05-19T08:34:31.937Z
- Modified: 2026-08-05T11:30:34.827Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 71eb6b6b0ba93b1467bccff57b5de746b09113d2 before 9678bcc6234d83759fe091c197f5017a32b468da; from 71eb6b6b0ba93b1467bccff57b5de746b09113d2 before caeb4b0a11b3393e43f7fa8e0a5a18462acc66bd; 6.8 (not affected: before 6.8; from 6.8.5 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 6.8 before 6.8.5; 6.9

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/9678bcc6234d83759fe091c197f5017a32b468da> (patch)
- <https://git.kernel.org/stable/c/caeb4b0a11b3393e43f7fa8e0a5a18462acc66bd> (patch)

## Sources

- CVE List: [CVE-2024-35874](https://www.cve.org/CVERecord?id=CVE-2024-35874), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-35874](https://nvd.nist.gov/vuln/detail/CVE-2024-35874), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-35874 · Whole record: https://cve.day/CVE-2024-35874.json · Rebuilt by cve.day 2026-11-25T22:58:40.576Z
