0.0
NA
CVE-2022-50786
media: s5p-mfc: Clear workbit to handle error condition
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.

INFO

Published Date :

Dec. 30, 2025, 12:15 p.m.

Last Modified :

Dec. 30, 2025, 12:15 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2022-50786 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Clear workbit on error to prevent null pointer dereference and kernel panic.
  • Ensure ctx_work_bits is always cleared on error.
  • Update to the latest Linux kernel version.
  • Apply the provided patch to the kernel source.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-50786 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-50786 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-50786 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-50786 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 30, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/09c1fbbe532758e4046c20829f4c0c50b99332dc
    Added Reference https://git.kernel.org/stable/c/12242bd13ce68acd571b2cce6ab302e154e8a4ee
    Added Reference https://git.kernel.org/stable/c/640075400c7c577b0f5369b935e22a588773fafa
    Added Reference https://git.kernel.org/stable/c/8ff64edf9d16e8c277dcc8189794763624e6b4b8
    Added Reference https://git.kernel.org/stable/c/bd1b72f0c39a0d791a087b4e643701a48328ba8e
    Added Reference https://git.kernel.org/stable/c/d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b
    Added Reference https://git.kernel.org/stable/c/ff27800c0a6d81571671b33f696109804d015409
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
No CVSS metrics available for this vulnerability.