First published: Sun May 19 2024(Updated: )
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.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux Kernel | >=6.8<6.8.5 | |
Linux Kernel | =6.9-rc1 | |
Linux Kernel | =6.9-rc2 | |
debian/linux | 5.10.223-1 5.10.226-1 6.1.123-1 6.1.119-1 6.12.11-1 6.12.12-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-35874 has been classified as a medium severity vulnerability in the Linux kernel.
To resolve CVE-2024-35874, update your Linux kernel to a version that includes the fix, such as 5.10.223-1 or later versions.
CVE-2024-35874 affects Linux kernel versions 6.8.x and versions 6.9 up to RC2.
Yes, CVE-2024-35874 can potentially lead to system crashes due to a null pointer dereference in the aio_complete function.
There is no known workaround for CVE-2024-35874, so upgrading to a patched version of the Linux kernel is recommended.