CVE-2022-50786

published 30 Dec 2025 · updated 11 May 2026

media: s5p-mfc: Clear workbit to handle error condition

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 09c1fbbe532758e4046c20829f4c0c50b99332dc, Kernel 12242bd13ce68acd571b2cce6ab302e154e8a4ee, Kernel 640075400c7c577b0f5369b935e22a588773fafa and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.16, >=818cd91ab8c6e42c2658c8e61f8462637c6f586b <09c1fbbe532758e4046c20829f4c0c50b99332dc, >=818cd91ab8c6e42c2658c8e61f8462637c6f586b <12242bd13ce68acd571b2cce6ab302e154e8a4ee, >=818cd91ab8c6e42c2658c8e61f8462637c6f586b <640075400c7c577b0f5369b935e22a588773fafa, >=818cd91ab8c6e42c2658c8e61f8462637c6f586b <8ff64edf9d16e8c277dcc8189794763624e6b4b8, >=818cd91ab8c6e42c2658c8e61f8462637c6f586b <bd1b72f0c39a0d791a087b4e643701a48328ba8e, >=818cd91ab8c6e42c2658c8e61f8462637c6f586b <d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b, >=818cd91ab8c6e42c2658c8e61f8462637c6f586b <ff27800c0a6d81571671b33f696109804d01540909c1fbbe532758e4046c20829f4c0c50b99332dc, 12242bd13ce68acd571b2cce6ab302e154e8a4ee, 640075400c7c577b0f5369b935e22a588773fafa, 8ff64edf9d16e8c277dcc8189794763624e6b4b8, bd1b72f0c39a0d791a087b4e643701a48328ba8e, d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b, ff27800c0a6d81571671b33f696109804d015409

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50786 severity on Zeptric[![CVE-2022-50786](https://zeptric.io/badge/cve/CVE-2022-50786.svg)](https://zeptric.io/cve/CVE-2022-50786)