media: s5p-mfc: Clear workbit to handle error condition
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 818cd91ab8c6e42c2658c8e61f8462637c6f586b · < bd1b72f0c39a0d791a087b4e643701a48328ba8e| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s s5p-mfc media driver can leave ctx_work_bits set when a CLOSE_INSTANCE command fails. Subsequent execution can dereference a NULL context and cause a kernel panic. The input does not specify how an attacker could trigger this condition or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the s5p-mfc media driver should check their versions; affected versions are not specified.