Kernel panic via uncleared codec context work bit
Published Dec 30, 2025 · Updated Dec 30, 2025
NULL pointer dereference in the Linux kernel s5p-mfc driver from 3.16 allows local users to trigger a kernel panic. An error response to CLOSE_INSTANCE leaves ctx_work_bits set, so later codec execution selects a stale context and dereferences a NULL pointer. Reachability requires the Samsung S5P multi-format codec driver and a CLOSE_INSTANCE error; successful triggering crashes the host.
Summary
What happened
NULL pointer dereference in the Linux kernel s5p-mfc driver from 3.16 allows local users to trigger a kernel panic. An error response to CLOSE_INSTANCE leaves ctx_work_bits set, so later codec execution selects a stale context and dereferences a NULL pointer. Reachability requires the Samsung S5P multi-format codec driver and a CLOSE_INSTANCE error; successful triggering crashes the host.
The record
- CVE
- CVE-2022-50786
- Published
- Dec 30, 2025
- Updated
- Dec 30, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 30, 2025CVE publishedPublication date reported by the CVE source.
- Dec 30, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.16
- Affected versionversion=818cd91ab8c6e42c2658c8e61f8462637c6f586b <09c1fbbe532758e4046c20829f4c0c50b99332dc
- Affected versionversion=818cd91ab8c6e42c2658c8e61f8462637c6f586b <12242bd13ce68acd571b2cce6ab302e154e8a4ee
- Affected versionversion=818cd91ab8c6e42c2658c8e61f8462637c6f586b <640075400c7c577b0f5369b935e22a588773fafa
- Affected versionversion=818cd91ab8c6e42c2658c8e61f8462637c6f586b <8ff64edf9d16e8c277dcc8189794763624e6b4b8
- Affected versionversion=818cd91ab8c6e42c2658c8e61f8462637c6f586b <bd1b72f0c39a0d791a087b4e643701a48328ba8e
- Affected versionversion=818cd91ab8c6e42c2658c8e61f8462637c6f586b <d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b
- Affected versionversion=818cd91ab8c6e42c2658c8e61f8462637c6f586b <ff27800c0a6d81571671b33f696109804d015409
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo