Re: Using crash with structure layout randomized kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> ... 
> The 1st error is from reading "init_uts_ns"(randomized) value in
> kernel_init, so kt->kernel_version is wrong, then results invalid
> virtual addresses in "case POST_GDB:" of x86_64_init, the symptom of
> this error is segment fault results from infinite function call:


  struct uts_namespace {
          struct kref kref;
          struct new_utsname name;
          struct user_namespace *user_ns;
          struct ucounts *ucounts;
          struct ns_common ns;
  } __randomize_layout;

Right -- that's a good example.  Run "gdb vmlinux" on both vmlinux files,
enter "ptype struct uts_namespace", and compare the two.

Dave
 

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility



[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux