CVE-2024-39464 media: v4l: async: Fix notifier list entry init
A missing list head initialization in the Linux kernel V4L2 async subsystem causes a NULL pointer dereference and system crash when CSI2 registration fails.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-39464?
CVE-2024-39464 is a medium-severity vulnerability in Linux kernel, published on 25 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
media: v4l: async: Fix notifier list entry init
struct v4l2_async_notifier has several list_head members, but only waiting_list and done_list are initialized. notifier_entry was kept 'zeroed' leading to an uninitialized list_head. This results in a NULL-pointer dereference if csi2_async_register() fails, e.g. node for remote endpoint is disabled, and returns -ENOTCONN. The following calls to v4l2_async_nf_unregister() results in a NULL pointer dereference. Add the missing list head initializer.
Weakness: CWE-476
Which versions are affected by CVE-2024-39464?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-39464?
Apply the vendor's patch.
Is CVE-2024-39464 being exploited?
There is no known exploitation of CVE-2024-39464 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-39464, DEBIAN-CVE-2024-39464, GHSA-xpmr-2g2m-g7vw, UBUNTU-CVE-2024-39464.