According to the log, the page frame of sys_call_table is not currently present.
So it should be handled by page fault handler.
But. disable_write_protection blocks the interrupt via the cli instruction.
So the page fault handler cannot be performed.
> [ 4024.772066] Module loading
> [ 4024.790716] + sys_call_table address = 00000000055df43d
> [ 4024.790718] Execve syscall # 59
> [ 4024.791116] BUG: unable to handle page fault for address: 000000008004020b
> [ 4024.792614] #PF: supervisor write access in kernel mode
> [ 4024.793944] #PF: error_code(0x0002) - not-present page
> [ 4024.790718] Execve syscall # 59
> [ 4024.791116] BUG: unable to handle page fault for address: 000000008004020b
> [ 4024.792614] #PF: supervisor write access in kernel mode
> [ 4024.793944] #PF: error_code(0x0002) - not-present page
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies