if (! Down_read_trylock (& amp; Mm - & gt; Mmap_sem)) {
if (! User_mode (regs) & amp; & ! Search_exception_tables (regs - & gt; PC))
Goto no_context;
Is wondering, why not at this time in exception_tables table to find the corresponding fixup repair address? I see the arch/arm64/lib/copy_to_user. __arch_copy_to_user function of S, there are related to the abnormal may produce instruction repair operations,
CodePudding user response:
Before the call, try access_ok check user address,