CVE-2022-50786 media: s5p-mfc: Clear workbit to handle error condition
A local attacker can trigger a kernel panic in the s5p-mfc driver by causing an error condition, leading to 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-50786?
CVE-2022-50786 is a vulnerability in Linux, published on 30 Dec 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: s5p-mfc: Clear workbit to handle error condition
During error on CLOSE_INSTANCE command, ctx_work_bits was not getting cleared. During consequent mfc execution NULL pointer dereferencing of this context led to kernel panic. This patch fixes this issue by making sure to clear ctx_work_bits always.
Which versions are affected by CVE-2022-50786?
How do I fix CVE-2022-50786?
Apply the vendor's patch.
Is CVE-2022-50786 being exploited?
There is no known exploitation of CVE-2022-50786 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2022-50786, GHSA-p389-cvqc-hq98, UBUNTU-CVE-2022-50786.