Skip to content

Segmentation fault (core dumped) fixing kaslr arm64 #52

Description

@0x410c

fix_kaslr_arm64.c

crashes inside relocate_kernel() function! i think the negative sym_offset is the problem!

Program received signal SIGSEGV, Segmentation fault. 0x0000000008000aa9 in relocate_kernel () at fix_kaslr_arm64.c:228 228 *(size_t *)LOCAL_VA(p) = new_addr; (gdb) info locals new_addr = 18446743798860776160 p = 0xffffffc000092998 rela_entry = 0x7ffffe7a35c8 sym_offset = -274877306472 sym_info = 1027 sym_addr = 18446743798860776160 count = 0

also samsung fix code works but vmlinux is not able to find the symbol table!

if needed the kernel image im attaching
image.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions