{"schema_version":"1.9.0","id":"CVE-2022-50786","published":"2025-12-30T12:03:22.909Z","modified":"2026-08-12T03:51:23.152603554Z","related":["SUSE-SU-2026:0473-1"],"summary":"media: s5p-mfc: Clear workbit to handle error condition","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: s5p-mfc: Clear workbit to handle error condition\n\nDuring error on CLOSE_INSTANCE command, ctx_work_bits was not getting\ncleared. During consequent mfc execution NULL pointer dereferencing of\nthis context led to kernel panic. This patch fixes this issue by making\nsure to clear ctx_work_bits always.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"818cd91ab8c6e42c2658c8e61f8462637c6f586b"},{"fixed":"12242bd13ce68acd571b2cce6ab302e154e8a4ee"},{"fixed":"640075400c7c577b0f5369b935e22a588773fafa"},{"fixed":"8ff64edf9d16e8c277dcc8189794763624e6b4b8"},{"fixed":"ff27800c0a6d81571671b33f696109804d015409"},{"fixed":"09c1fbbe532758e4046c20829f4c0c50b99332dc"},{"fixed":"bd1b72f0c39a0d791a087b4e643701a48328ba8e"},{"fixed":"d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50786.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.16.0"},{"fixed":"4.19.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.229"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.87"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.18"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50786.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/09c1fbbe532758e4046c20829f4c0c50b99332dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/12242bd13ce68acd571b2cce6ab302e154e8a4ee"},{"type":"WEB","url":"https://git.kernel.org/stable/c/640075400c7c577b0f5369b935e22a588773fafa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8ff64edf9d16e8c277dcc8189794763624e6b4b8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bd1b72f0c39a0d791a087b4e643701a48328ba8e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff27800c0a6d81571671b33f696109804d015409"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50786.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50786"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50786.json"}}