CVE-2024-35874
aio: Fix null ptr deref in aio_complete() wakeup
Reported by linux · Published May 19, 2024
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 71eb6b6b0ba93b1467bccff57b5de746b09113d2, 71eb6b6b0ba93b1467bccff57b5de746b09113d2 |
| Linux | Linux | 6.8, 0, 6.8.5 |
| Linux | Linux | 6.8.5, 0, 6.9 |
| linux | linux_kernel | 6.8, 6.8 |
Timeline
- May 19, 2024 CVE Published
- May 20, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
- May 4, 2025 PoC Published
- Jan 10, 2026 Security Advisory (441 in total, the first dated here)
- May 28, 2026 Distribution Patch (336 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-35874
vulnetix vdb fixes CVE-2024-35874
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35874/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart