Kernel panic in "established_get_next" while reading /proc/net/tcp

Solution Unverified - Updated -

Issue

  • Kernel panic in "established_get_next" while reading /proc/net/tcp
  • System crash with RIP trace established_get_next+xx detailed backtrace:
Pid: 26803, comm: netstat
RIP: [<ffffffff8149f967>] established_get_next+0x47
...
Call Trace:
 [<ffffffff8149fd30>] tcp_get_idx+0x90/0xa0
 [<ffffffff8149fd79>] tcp_seq_start+0x39/0x40
 [<ffffffff811a52f6>] seq_read+0x96/0x400
 [<ffffffff811e99ae>] proc_reg_read+0x7e/0xc0
 [<ffffffff81181ac5>] vfs_read+0xb5/0x1a0
 [<ffffffff81181c01>] sys_read+0x51/0x90
 [<ffffffff810dc685>] ? __audit_syscall_exit+0x265/0x290
 [<ffffffff8100b072>] system_call_fastpath+0x16/0x1b
...
RIP  [<ffffffff8149f967>] established_get_next+0x47/0x160

Environment

  • Red Hat Enterprise Linux 6
    • 6.10: kernel-2.6.32-754.el6
    • 6.6: kernel-2.6.32-504.16.2.el6
    • 6.4: kernel-2.6.32-358.23.2.el6
  • procfs reader
    • Process such as netstat or cat reading from /proc/net/tcp
    • Long-running process reading system socket state from /proc/PID/net/tcp

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content