CVE-2023-52850 media: hantro: Check whether reset op is defined before use
A missing check for a reset operation in the Hantro media driver causes a NULL pointer dereference, leading to a system crash.
- 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-2023-52850?
CVE-2023-52850 is a medium-severity vulnerability in Linux kernel, published on 21 May 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: hantro: Check whether reset op is defined before use
The i.MX8MM/N/P does not define the .reset op since reset of the VPU is done by genpd. Check whether the .reset op is defined before calling it to avoid NULL pointer dereference.
Note that the Fixes tag is set to the commit which removed the reset op from i.MX8M Hantro G2 implementation, this is because before this commit all the implementations did define the .reset op.
Weakness: CWE-476
Which versions are affected by CVE-2023-52850?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52850?
Apply the vendor's patch.
Is CVE-2023-52850 being exploited?
There is no known exploitation of CVE-2023-52850 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-52850, DEBIAN-CVE-2023-52850, GHSA-f8m5-x3mv-32wr, UBUNTU-CVE-2023-52850.