CVE-2024-35874

Source
https://cve.org/CVERecord?id=CVE-2024-35874
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35874.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-35874
Downstream
Published
2024-05-19T08:34:31.937Z
Modified
2026-03-13T07:55:23.416075Z
Summary
aio: Fix null ptr deref in aio_complete() wakeup
Details

In the Linux kernel, the following vulnerability has been resolved:

aio: Fix null ptr deref in aio_complete() wakeup

listdelinit_careful() needs to be the last access to the wait queue entry - it effectively unlocks access.

Previously, finishwait() 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 taskstruct pointer had been overwritten.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35874.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
71eb6b6b0ba93b1467bccff57b5de746b09113d2
Fixed
9678bcc6234d83759fe091c197f5017a32b468da
Fixed
caeb4b0a11b3393e43f7fa8e0a5a18462acc66bd

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35874.json"