[PATCH] drm/fsl-dcu: Fix return type of fsl_dcu_drm_connector_mode_valid()
Kees Cook
keescook at chromium.org
Fri Nov 18 17:40:01 UTC 2022
On Wed, 2 Nov 2022 08:42:15 -0700, Nathan Chancellor wrote:
> With clang's kernel control flow integrity (kCFI, CONFIG_CFI_CLANG),
> indirect call targets are validated against the expected function
> pointer prototype to make sure the call target is valid to help mitigate
> ROP attacks. If they are not identical, there is a failure at run time,
> which manifests as either a kernel panic or thread getting killed. A
> proposed warning in clang aims to catch these at compile time, which
> reveals:
>
> [...]
Applied to for-next/hardening, thanks!
[1/1] drm/fsl-dcu: Fix return type of fsl_dcu_drm_connector_mode_valid()
https://git.kernel.org/kees/c/96d845a67b7e
--
Kees Cook
More information about the dri-devel
mailing list