Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-50786

UNSCOREDEPSS 14%

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

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 12242bd13ce68acd571b2cce6ab302e154e8a4ee; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 640075400c7c577b0f5369b935e22a588773fafa; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 8ff64edf9d16e8c277dcc8189794763624e6b4b8; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < ff27800c0a6d81571671b33f696109804d015409; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 09c1fbbe532758e4046c20829f4c0c50b99332dc; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < bd1b72f0c39a0d791a087b4e643701a48328ba8e; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b
  • Anyone running Linux 3.16

Vulnerability facts

Affected
Linux >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 12242bd13ce68acd571b2cce6ab302e154e8a4ee; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 640075400c7c577b0f5369b935e22a588773fafa; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 8ff64edf9d16e8c277dcc8189794763624e6b4b8; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < ff27800c0a6d81571671b33f696109804d015409; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 09c1fbbe532758e4046c20829f4c0c50b99332dc; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < bd1b72f0c39a0d791a087b4e643701a48328ba8e; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b; Linux 3.16
Fixed in
Linux 12242bd13ce68acd571b2cce6ab302e154e8a4ee, Linux 640075400c7c577b0f5369b935e22a588773fafa, Linux 8ff64edf9d16e8c277dcc8189794763624e6b4b8, Linux 09c1fbbe532758e4046c20829f4c0c50b99332dc
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.29% chance of exploitation in 30 days (percentile 14, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 12242bd13ce68acd571b2cce6ab302e154e8a4ee; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 640075400c7c577b0f5369b935e22a588773fafa; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 8ff64edf9d16e8c277dcc8189794763624e6b4b8; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < ff27800c0a6d81571671b33f696109804d015409; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 09c1fbbe532758e4046c20829f4c0c50b99332dc; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < bd1b72f0c39a0d791a087b4e643701a48328ba8e; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b—cvelist
Linux3.16—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50786. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50786.md
Affected: Linux >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 12242bd13ce68acd571b2cce6ab302e154e8a4ee; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 640075400c7c577b0f5369b935e22a588773fafa; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 8ff64edf9d16e8c277dcc8189794763624e6b4b8; >= 818cd91ab8c6e42c2658c8e…
Fixed in: Linux 12242bd13ce68acd571b2cce6ab302e154e8a4ee, Linux 640075400c7c577b0f5369b935e22a588773fafa, Linux 8ff64edf9d16e8c277dcc8189794763624e6b4b8, Linux 09c1fbbe532758e4046c20829f4c0c50b99332dc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50786 being exploited?

There is no confirmed exploitation: CVE-2022-50786 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50786?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2022-50786?

Linux >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 12242bd13ce68acd571b2cce6ab302e154e8a4ee; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 640075400c7c577b0f5369b935e22a588773fafa; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 8ff64edf9d16e8c277dcc8189794763624e6b4b8; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < ff27800c0a6d81571671b33f696109804d015409; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < 09c1fbbe532758e4046c20829f4c0c50b99332dc; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < bd1b72f0c39a0d791a087b4e643701a48328ba8e; >= 818cd91ab8c6e42c2658c8e61f8462637c6f586b, < d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b; Linux 3.16.

Is there a fix for CVE-2022-50786?

Yes. Fixed in Linux 12242bd13ce68acd571b2cce6ab302e154e8a4ee, Linux 640075400c7c577b0f5369b935e22a588773fafa, Linux 8ff64edf9d16e8c277dcc8189794763624e6b4b8, Linux 09c1fbbe532758e4046c20829f4c0c50b99332dc. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2022-50786?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors