{"id":"CVE-2022-50786","aliases":["CVE-2022-50786"],"related":[],"kind":"vulnerability","state":"published","title":"media: s5p-mfc: Clear workbit to handle error condition","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-12-30T12:03:22.909Z","modified":"2026-06-17T05:24:10.703Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"818cd91ab8c6e42c2658c8e61f8462637c6f586b","fixed":"12242bd13ce68acd571b2cce6ab302e154e8a4ee","status":"affected"},{"type":"git","introduced":"818cd91ab8c6e42c2658c8e61f8462637c6f586b","fixed":"640075400c7c577b0f5369b935e22a588773fafa","status":"affected"},{"type":"git","introduced":"818cd91ab8c6e42c2658c8e61f8462637c6f586b","fixed":"8ff64edf9d16e8c277dcc8189794763624e6b4b8","status":"affected"},{"type":"git","introduced":"818cd91ab8c6e42c2658c8e61f8462637c6f586b","fixed":"ff27800c0a6d81571671b33f696109804d015409","status":"affected"},{"type":"git","introduced":"818cd91ab8c6e42c2658c8e61f8462637c6f586b","fixed":"09c1fbbe532758e4046c20829f4c0c50b99332dc","status":"affected"},{"type":"git","introduced":"818cd91ab8c6e42c2658c8e61f8462637c6f586b","fixed":"bd1b72f0c39a0d791a087b4e643701a48328ba8e","status":"affected"},{"type":"git","introduced":"818cd91ab8c6e42c2658c8e61f8462637c6f586b","fixed":"d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.16","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.87","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.18","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.4","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/12242bd13ce68acd571b2cce6ab302e154e8a4ee","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/640075400c7c577b0f5369b935e22a588773fafa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ff64edf9d16e8c277dcc8189794763624e6b4b8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ff27800c0a6d81571671b33f696109804d015409","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09c1fbbe532758e4046c20829f4c0c50b99332dc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd1b72f0c39a0d791a087b4e643701a48328ba8e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50786","url":"https://www.cve.org/CVERecord?id=CVE-2022-50786","licence":"CVE Terms of Use","modified":"2026-05-11T19:25:31.010Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50786","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50786","licence":"Public domain","modified":"2026-06-17T05:24:10.703Z"}],"updatedAt":"2026-11-25T22:58:21.361Z","epss":{"score":0.0022,"percentile":0.13391,"date":"2026-12-02T12:00:21.000Z"}}