← CVE Intelligence

CVE-2022-50786

media: s5p-mfc: Clear workbit to handle error condition PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 818cd91ab8c6e42c2658c8e61f8462637c6f586b before 12242bd13ce68acd571b2cce6ab302e154e8a4ee; affected 818cd91ab8c6e42c2658c8e61f8462637c6f586b before 640075400c7c577b0f5369b935e22a588773fafa; affected 818cd91ab8c6e42c2658c8e61f8462637c6f586b before 8ff64edf9d16e8c277dcc8189794763624e6b4b8; affected 818cd91ab8c6e42c2658c8e61f8462637c6f586b before ff27800c0a6d81571671b33f696109804d015409; affected 818cd91ab8c6e42c2658c8e61f8462637c6f586b before 09c1fbbe532758e4046c20829f4c0c50b99332dc; affected 818cd91ab8c6e42c2658c8e61f8462637c6f586b before bd1b72f0c39a0d791a087b4e643701a48328ba8e; affected 818cd91ab8c6e42c2658c8e61f8462637c6f586b before d3f3c2fe54e30b0636496d842ffbb5ad3a547f9b
Linux / Linuxaffected 3.16; unaffected 0 before 3.16; unaffected 4.19.270 through 4.19.*; unaffected 5.4.229 through 5.4.*; unaffected 5.10.163 through 5.10.*; unaffected 5.15.87 through 5.15.*; unaffected 6.0.18 through 6.0.*; unaffected 6.1.4 through 6.1.*; unaffected 6.2 through *

CWE

No CWE identifiers supplied.

References