Kernel oops during sctp testing with RIP on 'sctp_v4_cmp_addr'
Issue
-
During the SCTP module load, kernel is crashing.
-
Kernel oops during sctp testing with RIP on
sctp_v4_cmp_addr. -
The following call trace can be seen in the kernel log:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000078
IP: [<ffffffffa02a4cac>] sctp_v4_cmp_addr+0xc/0x30 [sctp]
PGD 838278067 PUD 83873f067 PMD 0
Oops: 0000 [#1] SMP
last sysfs file: /sys/module/ip_tables/initstate
CPU 6
Modules linked in: btg(P)(U) mptctl 8021q garp ... dm_log dm_mod [last unloaded: llc]
Pid: 15471, comm: netstat Tainted: P --------------- 2.6.32-358.el6.x86_64 #1
RIP: 0010:[<ffffffffa02a4cac>] [<ffffffffa02a4cac>] sctp_v4_cmp_addr+0xc/0x30 [sctp]
RSP: 0018:ffff88042a6d7d08 EFLAGS: 00010206
RAX: 0000000000000002 RBX: ffff880830b4c680 RCX: 0000000000000001
RDX: 00000000000004bd RSI: 0000000000000078 RDI: ffff880830b4c6a0
RBP: ffff88042a6d7d08 R08: 00000000fffffffd R09: 0000000000000001
R10: 0000000000000003 R11: 0000000000000000 R12: ffff880838061870
R13: ffffffffa02c51c0 R14: ffff880830b4c6a0 R15: 0000000000000078
FS: 00007f3cf5b8f7a0(0000) GS:ffff88044e400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000078 CR3: 0000000837eac000 CR4: 00000000000007e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process netstat (pid: 15471, threadinfo ffff88042a6d6000, task ffff8803fa0c4080)
Stack:
ffff88042a6d7d58 ffffffffa02bdbac ffff88042a6d7d28 ffff880836a1c940
<d> ffff88042a6d7d38 ffff880838061800 ffff880836a1c940 000000000000626f
<d> ffff880423cedb80 ffff880838061948 ffff88042a6d7e18 ffffffffa02bde3d
Call Trace:
[<ffffffffa02bdbac>] sctp_seq_dump_local_addrs+0x6c/0xc0 [sctp]
[<ffffffffa02bde3d>] sctp_assocs_seq_show+0x12d/0x250 [sctp]
[<ffffffff811a5169>] seq_read+0x289/0x400
[<ffffffff811e966e>] proc_reg_read+0x7e/0xc0
[<ffffffff811816c5>] vfs_read+0xb5/0x1a0
[<ffffffff81181801>] sys_read+0x51/0x90
[<ffffffff810dc565>] ? __audit_syscall_exit+0x265/0x290
[<ffffffff8100b072>] system_call_fastpath+0x16/0x1b
Code: 02 00 08 8b 47 04 89 46 04 b8 08 00 00 00 c9 c3 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00
RIP [<ffffffffa02a4cac>] sctp_v4_cmp_addr+0xc/0x30 [sctp]
RSP <ffff88042a6d7d08>
CR2: 0000000000000078
Environment
- Red Hat Enterprise Linux (RHEL) 6 (kernel
2.6.32-358.14.1.el6or earlier) - Red Hat Enterprise Linux (RHEL) 5 (kernel
2.6.18-348.12.1.el5or earlier)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.