CVE-2024-35874
published high CVSS 3.1 · 7.8aio: Fix null ptr deref in aio_complete() wakeup
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux71eb6b6b0ba93b1467bccff57b5de746b09113d2 to < 9678bcc6234d83759fe091c197f5017a32b468da · 71eb6b6b0ba93b1467bccff57b5de746b09113d2 to < caeb4b0a11b3393e43f7fa8e0a5a18462acc66bd · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 6.8.5 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-aws-cloud-tools-6.8.0-1009 | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-aws-headers-6.8.0-1009 | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-aws-tools-6.8.0-1009 | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-35 | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-cloud-tools-common | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1004 | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1004 | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-headers-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-headers-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-headers-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-headers-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-headers-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-headers-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-headers-6.8.0-35 | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-headers-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-cloud-tools-common | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-headers-6.8.0-1006 | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-source-6.8.0 | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-ibm-tools-6.8.0-1006 | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-image-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-image-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lib-rust-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-6.8.0-35 | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-common | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-headers-6.8.0-35 | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-lib-rust-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-tools-6.8.0-35 | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-tools-common | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-lowlatency-tools-host | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-modules-6.8.0-1005-raspi | Advisory build | 6.8.0-1005.5 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-modules-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-modules-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-generic-64k | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-lowlatency | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-modules-6.8.0-35-lowlatency-64k | Advisory build | 6.8.0-35.35.1 | USN-6816-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1006-ibm | Advisory build | 6.8.0-1006.6 | USN-6816-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1006-oracle | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1006-oracle-64k | Advisory build | 6.8.0-1006.6 | USN-6878-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1008-azure | Advisory build | 6.8.0-1008.8 | USN-6817-3 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1008-gcp | Advisory build | 6.8.0-1008.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-1009-aws | Advisory build | 6.8.0-1009.9 | USN-6817-1 |
| Ubuntu | noble | linux-modules-extra-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-ipu6-6.8.0-1006-oem | Advisory build | 6.8.0-1006.6 | USN-6817-2 |
| Ubuntu | noble | linux-modules-ipu6-6.8.0-35-generic | Advisory build | 6.8.0-35.35 | USN-6816-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.8.0-1004-gke | Advisory build | 6.8.0-1004.7 | USN-6817-3 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerability is reached purely through the local AIO syscalls io_setup(2)/io_submit(2)/io_getevents(2); no network or adjacent-network interface processes data that reaches fs/aio.c. Exploitation requires the ability to execute code on the target system. AC:L - The attacker controls both sides of the race — a thread blocked in io_getevents() supplies the waiter, and a second thread deterministically drives aio_complete() on another CPU (e.g. IOCB_CMD_POLL armed on a pipe, or O_DIRECT block completions), and the sequence can be retried millions of times per second with CPU pinning. The bug was observed firing in ordinary production workloads, confirming the window is reachable without any condition outside the attacker's influence. PR:L - io_setup/io_submit/io_getevents are unprivileged syscalls with no capability, LSM, or namespace gate on the path through do_io_getevents() → read_events(); CONFIG_AIO is default y and enabled on virtually all deployments. Any local unprivileged user, including one inside a container, can reach the vulnerable code. UI:N - The entire attack is a self-contained sequence of syscalls issued by the attacker's own threads. No victim action, mount, or file open is needed. S:U - The corruption occurs in kernel memory and is exploited by a local user to attack the same kernel; there is no crossing of a VM, IOMMU, or other security-authority boundary. This is a standard kernel local privilege-escalation scope. C:H - This is a use-after-return on the waiter's kernel stack whose stale contents the attacker can groom with a follow-up syscall, and the resulting pointer is dereferenced by try_to_wake_up(), which reads p->__state, p->on_rq, p->on_cpu and task_cpu(p) from attacker-chosen kernel addresses. Per kernel scoring guidance, UAF-class corruption that can be steered into arbitrary kernel reads is High. I:H - try_to_wake_up() on the attacker-influenced pointer performs raw_spin_lock_irqsave(&p->pi_lock), WRITE_ONCE(p->__state, TASK_WAKING) and a runqueue enqueue with linked-list pointer stores, yielding a write primitive at an attacker-selected address, with the scheduler ultimately context-switching into a forged task_struct. That is memory corruption exploitable for control-flow hijack and privilege escalation. A:H - The reported and readily reproducible symptom is a NULL/wild pointer dereference in aio_complete()'s wakeup path, producing a kernel oops in interrupt-disabled context. Any unprivileged user can trigger this repeatedly to panic the machine.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 71eb6b6b0ba93b1467bccff57b5de746b09113d2 to < 9678bcc6234d83759fe091c197f5017a32b468da (affected · git)71eb6b6b0ba93b1467bccff57b5de746b09113d2 to < caeb4b0a11b3393e43f7fa8e0a5a18462acc66bd (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.8 (affected)0 to < 6.8 (unaffected · semver)6.8.5 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
aio: Fix null ptr deref in aio_complete() wakeup
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1fbc0a7f28dbcecaba1f6d4ab24b2c64e786e43f75685edfea7265be1c35b8ec
- Ingested
- 23 Sep 2026, 08:23:51 UTC
- Source record
- Official CVE record