- Code: Select all
determinist ~ # ksymoops -K -v /usr/src/linux/vmlinux < ./oops.txt
ksymoops 2.4.11 on i686 2.6.16.2-grsec. Options used
-v /usr/src/linux/vmlinux (specified)
-K (specified)
-l /proc/modules (default)
-o /lib/modules/2.6.16.2-grsec/ (default)
-m /usr/src/linux/System.map (default)
No modules in ksyms, skipping objects
No ksyms, skipping lsmod
Jul 10 13:50:53 determinist CPU: 0
Jul 10 13:50:53 determinist EIP: 0060:[<0027b02f>] Not tainted VLI
Using defaults from ksymoops -t elf32-i386 -a i386
Jul 10 13:50:53 determinist EFLAGS: 00010202 (2.6.17.4-grsec #4)
Jul 10 13:50:53 determinist eax: 1029d264 ebx: 00000000 ecx: 00000001 edx: 5acc9940
Jul 10 13:50:53 determinist esi: 5acc9954 edi: dfb3ae30 ebp: df89dbcc esp: df89db8c
Jul 10 13:50:53 determinist ds: 007b es: 0068 ss: 0068
Jul 10 13:50:53 determinist Stack: 00000000 5acc9950 00000044 001dc656 5acc9950 dfb3ae2c 00000044 00000000
Jul 10 13:50:53 determinist df89dbbc 00000000 00000000 00000000 00000000 df961ea0 df89de8c dfb3ae2c
Jul 10 13:50:53 determinist df89dbf8 0021a9ab dfb3ae2c df89de8c 00000000 00000044 df89dbe8 00000000
Jul 10 13:50:53 determinist Call Trace:
Jul 10 13:50:53 determinist <0000599f> die+0xef/0x200 <00005b37> do_trap+0x87/0xd0
Jul 10 13:50:53 determinist <000060dd> do_stack_segment+0x7d/0x90 <00004fbf> error_code+0x5f/0x70
Jul 10 13:50:53 determinist <0021a9ab> ip_generic_getfrag+0x4b/0xc0 <0021b112> ip_append_data+0x6f2/0xa10
Jul 10 13:50:53 determinist <002363c1> udp_sendmsg+0x341/0x690 <0023d776> inet_sendmsg+0x46/0x50
Jul 10 13:50:53 determinist <001d508f> sock_sendmsg+0xbf/0xf0 <001d6708> sys_sendto+0x108/0x140
Jul 10 13:50:53 determinist <001d712f> sys_socketcall+0x18f/0x240 <00003ef7> syscall_call+0x7/0xb
Jul 10 13:50:53 determinist Code: ff ba f2 ff ff ff e9 f3 be f5 ff 8b 5c 24 20 36 c7 03 f2 ff ff ff 8b 7c 24 14 8b 4c 24 18 31 c0 f3 aa e9 7c dd ff ff 8b 5c 24 24 <36> c7 03 f2 ff ff ff e9 6c dd ff ff 00 00 00 00 00 b2 1f 00 00
>>EIP; 0027b02f <iret_exc+77d/789> <=====
>>eax; 1029d264 <phys_startup_32+fe9c264/bfd00000>
>>edx; 5acc9940 <phys_startup_32+5a8c8940/bfd00000>
>>esi; 5acc9954 <phys_startup_32+5a8c8954/bfd00000>
>>edi; dfb3ae30 <pg0+1ee80e30/3f055000>
>>ebp; df89dbcc <pg0+1ebe3bcc/3f055000>
>>esp; df89db8c <pg0+1ebe3b8c/3f055000>
Trace; 0000599f <die+ef/200>
Trace; 000060dd <do_stack_segment+7d/90>
Trace; 0021a9ab <ip_generic_getfrag+4b/c0>
Trace; 002363c1 <udp_sendmsg+341/690>
Trace; 001d508f <sock_sendmsg+bf/f0>
Trace; 001d712f <sys_socketcall+18f/240>
This architecture has variable length instructions, decoding before eip
is unreliable, take these instructions with a pinch of salt.
Code; 0027b004 <iret_exc+752/789>
00000000 <_EIP>:
Code; 0027b004 <iret_exc+752/789>
0: ff (bad)
Code; 0027b005 <iret_exc+753/789>
1: ba f2 ff ff ff mov $0xfffffff2,%edx
Code; 0027b00a <iret_exc+758/789>
6: e9 f3 be f5 ff jmp fff5befe <_EIP+0xfff5befe>
Code; 0027b00f <iret_exc+75d/789>
b: 8b 5c 24 20 mov 0x20(%esp),%ebx
Code; 0027b013 <iret_exc+761/789>
f: 36 c7 03 f2 ff ff ff movl $0xfffffff2,%ss:(%ebx)
Code; 0027b01a <iret_exc+768/789>
16: 8b 7c 24 14 mov 0x14(%esp),%edi
Code; 0027b01e <iret_exc+76c/789>
1a: 8b 4c 24 18 mov 0x18(%esp),%ecx
Code; 0027b022 <iret_exc+770/789>
1e: 31 c0 xor %eax,%eax
Code; 0027b024 <iret_exc+772/789>
20: f3 aa repz stos %al,%es:(%edi)
Code; 0027b026 <iret_exc+774/789>
22: e9 7c dd ff ff jmp ffffdda3 <_EIP+0xffffdda3>
Code; 0027b02b <iret_exc+779/789>
27: 8b 5c 24 24 mov 0x24(%esp),%ebx
This decode from eip onwards should be reliable
Code; 0027b02f <iret_exc+77d/789>
00000000 <_EIP>:
Code; 0027b02f <iret_exc+77d/789> <=====
0: 36 c7 03 f2 ff ff ff movl $0xfffffff2,%ss:(%ebx) <=====
Code; 0027b036 <iret_exc+784/789>
7: e9 6c dd ff ff jmp ffffdd78 <_EIP+0xffffdd78>
Code; 0027b03b <_etext+0/185fc5>
c: 00 00 add %al,(%eax)
Code; 0027b03d <_etext+2/185fc5>
e: 00 00 add %al,(%eax)
Code; 0027b03f <_etext+4/185fc5>
10: 00 .byte 0x0
Code; 0027b040 <_etext+5/185fc5>
11: b2 1f mov $0x1f,%dl
Jul 10 13:50:53 determinist EIP: [<0027b02f>] iret_exc+0x77d/0x789 SS:ESP 0068:df89db8c