CVE-2022-50786
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50786 is a NULL pointer dereference vulnerability in the Linux kernel's media: s5p-mfc driver. During an error condition on the CLOSE_INSTANCE command, ctx_work_bits was not being cleared, causing a subsequent MFC execution to dereference a NULL pointer and trigger a kernel panic. The vulnerability was published on December 30, 2025, and affects the Linux kernel across multiple stable branches. No CVSS score has been assigned by NVD at this time, and the record is not currently prioritized for NVD enrichment (Feedly, NVD).

Technical details

The root cause is improper error handling in the s5p-mfc media driver (Samsung MFC hardware video codec driver) within the Linux kernel. When a CLOSE_INSTANCE command fails, the driver does not clear the ctx_work_bits bitmask for the affected context. On subsequent MFC scheduler execution, the stale work bit causes the driver to attempt to operate on an already-freed or invalid context, resulting in a NULL pointer dereference (CWE-476) and kernel panic. The fix ensures ctx_work_bits is always cleared during error handling, regardless of command outcome (NVD, Feedly).

Impact

Successful triggering of this vulnerability causes a kernel panic, resulting in a complete system crash and denial of service. The impact is limited to availability — there is no evidence of confidentiality or integrity compromise. Systems using Samsung Exynos SoCs with the s5p-mfc hardware video codec (common in embedded Linux and certain Android-based devices) are at risk of unplanned reboots or persistent instability if the error condition is repeatedly triggered (NVD).

Mitigation and workarounds

The Linux kernel maintainers have released patches across multiple stable branches addressing this issue. The fixes are available in the following kernel.org commits: 09c1fbbe, 12242bd1, 64007540, 8ff64edf, bd1b72f0, d3f3c2fe, and ff27800c. Administrators should update to a patched kernel version that includes these commits. No configuration-based workaround is known; upgrading the kernel is the recommended remediation (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management