CVE-2022-50254 media: ov8865: Fix an error handling path in ov8865_probe()
A resource leak in the ov8865 camera driver probe function can lead to memory exhaustion and denial of service.
- 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-2022-50254?
CVE-2022-50254 is a medium-severity denial of service vulnerability in Linux kernel, published on 15 Sep 2025. 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: ov8865: Fix an error handling path in ov8865_probe()
The commit in Fixes also introduced some new error handling which should goto the existing error handling path. Otherwise some resources leak.
Which versions are affected by CVE-2022-50254?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50254?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-50254 being exploited?
There is no known exploitation of CVE-2022-50254 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-50254, GHSA-4fmg-6c8q-hqq2, UBUNTU-CVE-2022-50254.