Re: Unpatched return thunk in use. This should not happen!
From: Nikolay Borisov
Date: Tue Mar 26 2024 - 10:12:32 EST
On 26.03.24 г. 14:40 ч., Paul Menzel wrote:
Dear Linux folks,
On a Dell XPS 13 9360/0596KF, BIOS 2.21.0 06/02/2022, Linux 6.9-rc1+
built with
CONFIG_KCSAN=y
So the problem happens when KCSAN=y CONFIG_CONSTRUCTORS is also enabled
and this results in an indirect call in do_mod_ctors():
mod->ctors[i]();
When KCSAN is disabled, do_mod_ctors is empty, hence the warning is not
printed.