timer_setup casts the callback function to an incompatible type, which
trips CFI for all users of the API:
CFI failure (target: [<ffffff8da5b6bc88>] nf_ct_frag6_expire+0x0/0x4):
...
Call trace:
__cfi_check_fail+0x1c/0x24
...
call_timer_fn+0x304/0x308
Note that this only affects 4.14, the timer code was refactored in the
later upstream releases.
Bug: 130800382
Bug: 156058713
MTK-Commit-Id: 3639283ba91d5cc3dee1365b84fb758b296b3269
Change-Id: Iaa168446ec4bdc6b481569859b4afbeb7af887ce
Signed-off-by: Freddy Hsin <freddy.hsin@mediatek.com>
CR-Id: ALPS05165971
Feature: [Module]Timer
9.3 KiB
9.3 KiB