CVE-2024-38547 media: atomisp: ssh_css: Fix a null-pointer dereference in load_video_binaries
A null-pointer dereference in the Linux kernel's atomisp driver can cause a system crash, requiring a kernel patch to resolve.
- 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-38547?
CVE-2024-38547 is a medium-severity vulnerability in Linux kernel, published on 19 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: atomisp: ssh_css: Fix a null-pointer dereference in load_video_binaries
The allocation failure of mycs->yuv_scaler_binary in load_video_binaries() is followed with a dereference of mycs->yuv_scaler_binary after the following call chain:
sh_css_pipe_load_binaries() |-> load_video_binaries(mycs->yuv_scaler_binary == NULL) | |-> sh_css_pipe_unload_binaries() |-> unload_video_binaries()
In unload_video_binaries(), it calls to ia_css_binary_unload with argument &pipe->pipe_settings.video.yuv_scaler_binary[i], which refers to the same memory slot as mycs->yuv_scaler_binary. Thus, a null-pointer dereference is triggered.
Weakness: CWE-476
Which versions are affected by CVE-2024-38547?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-38547?
Apply the vendor's patch.
Is CVE-2024-38547 being exploited?
There is no known exploitation of CVE-2024-38547 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-38547, DEBIAN-CVE-2024-38547, GHSA-ffpm-gq7j-8x7r, UBUNTU-CVE-2024-38547.