media: s5p-mfc: Clear workbit to handle error condition
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.
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/09c1fbbe532758e4046c20829f4c0c50b99332dc
- https://git.kernel.org/stable/c/12242bd13ce68acd571b2cce6ab302e154e8a4ee
- https://git.kernel.org/stable/c/640075400c7c577b0f5369b935e22a588773fafa
- https://git.kernel.org/stable/c/8ff64edf9d16e8c277dcc8189794763624e6b4b8
- https://git.kernel.org/stable/c/bd1b72f0c39a0d791a087b4e643701a48328ba8e
- https://git.kernel.org/stable/c/d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b
- https://git.kernel.org/stable/c/ff27800c0a6d81571671b33f696109804d015409
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50786.json
- https://nvd.nist.gov/vuln/detail/CVE-2022-50786