CVE-2022-50786

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

State
Published
Severity
Not scored
Published
Dec 30, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 818cd91ab8c6e42c2658c8e61f8462637c6f586b to before 12242bd13ce68acd571b2cce6ab302e154e8a4eeAffected
  • 818cd91ab8c6e42c2658c8e61f8462637c6f586b to before 640075400c7c577b0f5369b935e22a588773fafaAffected
  • 818cd91ab8c6e42c2658c8e61f8462637c6f586b to before 8ff64edf9d16e8c277dcc8189794763624e6b4b8Affected
  • 818cd91ab8c6e42c2658c8e61f8462637c6f586b to before ff27800c0a6d81571671b33f696109804d015409Affected
  • 818cd91ab8c6e42c2658c8e61f8462637c6f586b to before 09c1fbbe532758e4046c20829f4c0c50b99332dcAffected
  • 818cd91ab8c6e42c2658c8e61f8462637c6f586b to before bd1b72f0c39a0d791a087b4e643701a48328ba8eAffected
  • 818cd91ab8c6e42c2658c8e61f8462637c6f586b to before d3f3c2fe54e30b0636496d842ffbb5ad3a547f9bAffected
LinuxLinux
  • 3.16Affected
  • before 3.16Not affected
  • 4.19.270 through 4.19.*Not affected
  • 5.4.229 through 5.4.*Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.87 through 5.15.*Not affected
  • 6.0.18 through 6.0.*Not affected
  • 6.1.4 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.