oops:BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8

From: zhongbin
Date: Tue Feb 12 2019 - 19:58:02 EST




Hi,
 My OS with  V2.6.32 kernel capture an Oops:
ÂÂÂ 2019-02-09T07:10:38.566968+08:00 nw-nhis1 kernel: [7972630.613854] BUG: unable to handle kernel NULL pointer dereference at 00000000000000a8
2019-02-09T07:10:38.566992+08:00 nw-nhis1 kernel: [7972630.613859] IP: [<ffffffff81134dbc>] next_tgid+0x5f/0x82
2019-02-09T07:10:38.566999+08:00 nw-nhis1 kernel: [7972630.613865] PGD 21dae1067 PUD 21c1fc067 PMD 0
2019-02-09T07:10:38.567002+08:00 nw-nhis1 kernel: [7972630.613869] Oops: 0000 [#1] SMP
2019-02-09T07:10:38.567005+08:00 nw-nhis1 kernel: [7972630.613871] last sysfs file: /sys/devices/pci0000:40/0000:40:02.0/0000:41:00.0/host6/rport-6:0-6/target6:0:3/6:0:3:2/state
2019-02-09T07:10:38.567008+08:00 nw-nhis1 kernel: [7972630.613873] CPU 0
2019-02-09T07:10:38.567016+08:00 nw-nhis1 kernel: [7972630.613875] Modules linked in: xfs exportfs fuse dm_round_robin dm_snapshot ipmi_watchdog ipmi_si ipmi_poweroff ipmi_devintf ipmi_msghandler dm_mirror dm_region_hash dm_log bonding ipv6 dm_multipath scsi_dh lsm_linx snd_pcm_oss snd_pcm snd_timer snd_page_alloc snd_mixer_oss snd igb i2c_piix4 serio_raw dca joydev button ext3 jbd raid10 raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx raid1 raid0 multipath linear md_mod dm_mod lpfc ahci scsi_transport_fc ohci_hcd libata scsi_tgt megaraid_sas [last unloaded: scsi_wait_scan]
2019-02-09T07:10:38.567021+08:00 nw-nhis1 kernel: [7972630.613903] Pid: 5224, comm: dmserver Tainted: GÂÂÂÂÂÂÂ WÂ 2.6.32.41-Rocky4.2-x86_64 #1 A840-G10
2019-02-09T07:10:38.567024+08:00 nw-nhis1 kernel: [7972630.613905] RIP: 0010:[<ffffffff81134dbc>]Â [<ffffffff81134dbc>] next_tgid+0x5f/0x82
2019-02-09T07:10:38.567027+08:00 nw-nhis1 kernel: [7972630.613909] RSP: 0018:ffff88021b5e3df8Â EFLAGS: 00010282
2019-02-09T07:10:38.567029+08:00 nw-nhis1 kernel: [7972630.613911] RAX: 0000000000000000 RBX: ffffffff81576080 RCX: 0000000000000034
2019-02-09T07:10:38.567032+08:00 nw-nhis1 kernel: [7972630.613913] RDX: ffff880a87c6eae0 RSI: 0000000000000000 RDI: ffff880c1ca8b800
2019-02-09T07:10:38.567034+08:00 nw-nhis1 kernel: [7972630.613914] RBP: 00000000000013e2 R08: 4000000000000000 R09: a310000000000000
2019-02-09T07:10:38.567037+08:00 nw-nhis1 kernel: [7972630.613916] R10: 0000000000000000 R11: 0000000000000246 R12: ffff880c1ca8b800
2019-02-09T07:10:38.567040+08:00 nw-nhis1 kernel: [7972630.613918] R13: ffffffff810fb720 R14: ffff88101e0bce60 R15: ffff88021b5e3f38
2019-02-09T07:10:38.567043+08:00 nw-nhis1 kernel: [7972630.613920] FS:Â 00000000466ff940(0063) GS:ffff880008c00000(0000) knlGS:0000000000000000
2019-02-09T07:10:38.567046+08:00 nw-nhis1 kernel: [7972630.613922] CS:Â 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2019-02-09T07:10:38.567048+08:00 nw-nhis1 kernel: [7972630.613924] CR2: 00000000000000a8 CR3: 000000021caf3000 CR4: 00000000000406f0
2019-02-09T07:10:38.567051+08:00 nw-nhis1 kernel: [7972630.613925] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
2019-02-09T07:10:38.567054+08:00 nw-nhis1 kernel: [7972630.613927] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
2019-02-09T07:10:38.567062+08:00 nw-nhis1 kernel: [7972630.613929] Process dmserver (pid: 5224, threadinfo ffff88021b5e2000, task ffff8801030e4e60)
2019-02-09T07:10:38.567064+08:00 nw-nhis1 kernel: [7972630.613931] Stack:
2019-02-09T07:10:38.567066+08:00 nw-nhis1 kernel: [7972630.613932]Â 0000000400cf8c68 ffff88021b5e3e98 ffff8802000013d4 ffff88101e0bce60
2019-02-09T07:10:38.567070+08:00 nw-nhis1 kernel: [7972630.613935] <0> ffff880a000013d3 ffff880a1f030000 ffff88018f43a700 ffff880a000013d3
2019-02-09T07:10:38.567072+08:00 nw-nhis1 kernel: [7972630.613937] <0> ffff880a1f030000 ffffffff81134f3b ffff88101e0bce60 0000000000000000
2019-02-09T07:10:38.567075+08:00 nw-nhis1 kernel: [7972630.613941] Call Trace:
2019-02-09T07:10:38.567078+08:00 nw-nhis1 kernel: [7972630.613944]Â [<ffffffff81134f3b>] ? proc_pid_readdir+0x15c/0x1b6
2019-02-09T07:10:38.567081+08:00 nw-nhis1 kernel: [7972630.613947]Â [<ffffffff810fb720>] ? filldir64+0x0/0xb9
2019-02-09T07:10:38.567083+08:00 nw-nhis1 kernel: [7972630.613949]Â [<ffffffff810fb720>] ? filldir64+0x0/0xb9
2019-02-09T07:10:38.567086+08:00 nw-nhis1 kernel: [7972630.613952]Â [<ffffffff810fb9b5>] ? vfs_readdir+0x6d/0xaa
2019-02-09T07:10:38.567089+08:00 nw-nhis1 kernel: [7972630.613955]Â [<ffffffff810fba69>] ? sys_getdents64+0x77/0xbf
2019-02-09T07:10:38.567092+08:00 nw-nhis1 kernel: [7972630.613957]Â [<ffffffff81010a62>] ? system_call_fastpath+0x16/0x1b
2019-02-09T07:10:38.567096+08:00 nw-nhis1 kernel: [7972630.613959] Code: 04 31 d2 eb 3e 48 89 de 48 89 c7 e8 2d b9 f2 ff 31 f6 4c 89 e7 89 c5 e8 af b8 f2 ff 48 85 c0 48 89 c2 74 17 48 8b 80 c8 04 00 00 <48> 8b 88 a8 00 00 00 48 39 8a 78 02 00 00 74 04 ff c5 eb b0 f0
2019-02-09T07:10:38.567099+08:00 nw-nhis1 kernel: [7972630.613979] RIPÂ [<ffffffff81134dbc>] next_tgid+0x5f/0x82
2019-02-09T07:10:38.567102+08:00 nw-nhis1 kernel: [7972630.613981]Â RSP <ffff88021b5e3df8>
2019-02-09T07:10:38.567104+08:00 nw-nhis1 kernel: [7972630.613983] CR2: 00000000000000a8
2019-02-09T07:10:38.567107+08:00 nw-nhis1 kernel: [7972630.614079] ---[ end trace 740efe69d39fb9bc ]---


Can you give me some suggestionsï
Thanks


zhongbinÂ



Â