Bug 109201

Summary: System crashes on a daily basis trying to dereference a NULL pointer
Product: Memory Management Reporter: Tomas A (tomas)
Component: OtherAssignee: Andrew Morton (akpm)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 3.16.0-4-amd64 Tree: Mainline
Regression: No

Description Tomas A 2015-12-11 08:30:42 UTC
Debian 8.2 crashes on a daily basis, sometimes twice a day with the "NULL pointer dereference" bug. I'm running Debian 8.2 on ASROCK Q1900-ITX motherboard with IntelĀ® Quad-Core J1900 CPU. The issue seems occurring only when I run utserver program hwich is a utorrent standalone server for Linux. Syslog was able to capture the kernel messages only once during such crashes for some reason, so here it is:

Dec 10 10:33:42 ragnarok kernel: [28406.736996] ------------[ cut here ]------------
Dec 10 10:33:42 ragnarok kernel: [28406.737013] WARNING: CPU: 1 PID: 1221 at /build/linux-x1KGLI/linux-3.16.7-ckt11/kernel/futex.c:1093 wake_futex+0x48/0x80()
Dec 10 10:33:42 ragnarok kernel: [28406.737017] Modules linked in: xt_multiport iptable_filter ip_tables x_tables nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc intel_powerclamp intel_rapl coretemp kvm crc32_pclmul ghash_
clmulni_intel psmouse snd_soc_rt5640 snd_soc_rl6231 snd_soc_core ppdev iTCO_wdt iTCO_vendor_support serio_raw cryptd i915 snd_hda_codec_hdmi evdev snd_compress pcspkr snd_hda_codec_realtek snd_hda_codec_generic battery regmap_i2c i2c_des
ignware_platform drm_kms_helper drm i2c_designware_core snd_hda_intel parport_pc parport video lpc_ich mfd_core shpchp i2c_i801 i2c_algo_bit snd_hda_controller snd_hda_codec iosf_mbi processor snd_hwdep snd_pcm snd_timer snd soundcore sn
d_soc_sst_acpi button autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif crct10dif_generic crct10dif_pclmul crct10dif_common crc32c_intel ahci libahci xhci_hcd libata fan r8169 mii usbcore scsi_mod thermal usb_common thermal_sys i2c_hi
d hid i2c_core sdhci_acpi sdhci mmc_core
Dec 10 10:33:42 ragnarok kernel: [28406.737139] CPU: 1 PID: 1221 Comm: utserver Not tainted 3.16.0-4-amd64 #1 Debian 3.16.7-ckt11-1+deb8u6
Dec 10 10:33:42 ragnarok kernel: [28406.737143] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Q1900-ITX, BIOS P1.40 10/31/2014
Dec 10 10:33:42 ragnarok kernel: [28406.737147]  0000000000000009 ffffffff8150b4e5 0000000000000000 ffffffff81067767
Dec 10 10:33:42 ragnarok kernel: [28406.737154]  ffff880073e5e3d0 ffff880075c43d40 00000000ffffffff 0000000000000001
Dec 10 10:33:42 ragnarok kernel: [28406.737161]  ffffc90000378ec8 ffffffff810d1bc8 ffff880075c43d40 0000000000000001
Dec 10 10:33:42 ragnarok kernel: [28406.737167] Call Trace:
Dec 10 10:33:42 ragnarok kernel: [28406.737178]  [<ffffffff8150b4e5>] ? dump_stack+0x41/0x51
Dec 10 10:33:42 ragnarok kernel: [28406.737187]  [<ffffffff81067767>] ? warn_slowpath_common+0x77/0x90
Dec 10 10:33:42 ragnarok kernel: [28406.737194]  [<ffffffff810d1bc8>] ? wake_futex+0x48/0x80
Dec 10 10:33:42 ragnarok kernel: [28406.737201]  [<ffffffff810d1cff>] ? futex_wake+0xff/0x120
Dec 10 10:33:42 ragnarok kernel: [28406.737208]  [<ffffffff810d3bee>] ? do_futex+0x11e/0xb60
Dec 10 10:33:42 ragnarok kernel: [28406.737216]  [<ffffffff811ac9e6>] ? vfs_fstatat+0x46/0x90
Dec 10 10:33:42 ragnarok kernel: [28406.737223]  [<ffffffff810d469e>] ? SyS_futex+0x6e/0x150
Dec 10 10:33:42 ragnarok kernel: [28406.737231]  [<ffffffff815116cd>] ? system_call_fast_compare_end+0x10/0x15
Dec 10 10:33:42 ragnarok kernel: [28406.737248] BUG: unable to handle kernel NULL pointer dereference at 0000000000000064
Dec 10 10:33:42 ragnarok kernel: [28406.737383] IP: [<0000000000000064>] 0x64
Dec 10 10:33:42 ragnarok kernel: [28406.737455] PGD 75eb9067 PUD 75eb8067 PMD 0
Dec 10 10:33:42 ragnarok kernel: [28406.737532] Oops: 0010 [#1] SMP
Dec 10 10:33:42 ragnarok kernel: [28406.737589] Modules linked in: xt_multiport iptable_filter ip_tables x_tables nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc intel_powerclamp intel_rapl coretemp kvm crc32_pclmul ghash_
clmulni_intel psmouse snd_soc_rt5640 snd_soc_rl6231 snd_soc_core ppdev iTCO_wdt iTCO_vendor_support serio_raw cryptd i915 snd_hda_codec_hdmi evdev snd_compress pcspkr snd_hda_codec_realtek snd_hda_codec_generic battery regmap_i2c i2c_des
ignware_platform drm_kms_helper drm i2c_designware_core snd_hda_intel parport_pc parport video lpc_ich mfd_core shpchp i2c_i801 i2c_algo_bit snd_hda_controller snd_hda_codec iosf_mbi processor snd_hwdep snd_pcm snd_timer snd soundcore sn
d_soc_sst_acpi button autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif crct10dif_generic crct10dif_pclmul crct10dif_common crc32c_intel ahci libahci xhci_hcd libata fan r8169 mii usbcore scsi_mod thermal usb_common thermal_sys i2c_hi
d hid i2c_core sdhci_acpi sdhci mmc_core
Dec 10 10:33:42 ragnarok kernel: [28406.739162] CPU: 1 PID: 1221 Comm: utserver Not tainted 3.16.0-4-amd64 #1 Debian 3.16.7-ckt11-1+deb8u6
Dec 10 10:33:42 ragnarok kernel: [28406.739301] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Q1900-ITX, BIOS P1.40 10/31/2014
Dec 10 10:33:42 ragnarok kernel: [28406.739443] task: ffff880073e5e3d0 ti: ffff880075c40000 task.ti: ffff880075c40000
Dec 10 10:33:42 ragnarok kernel: [28406.739554] RIP: 0010:[<0000000000000064>]  [<0000000000000064>] 0x64
Dec 10 10:33:42 ragnarok kernel: [28406.739661] RSP: 0018:ffff880075c43d48  EFLAGS: 00010282
Dec 10 10:33:42 ragnarok kernel: [28406.739742] RAX: 0000000000000000 RBX: ffff880075c43df8 RCX: 0000000000000006
Dec 10 10:33:42 ragnarok kernel: [28406.739848] RDX: 0000000000000007 RSI: 0000000000000046 RDI: 00007f2740ff8e38
Dec 10 10:33:42 ragnarok kernel: [28406.739955] RBP: ffff880079283fc0 R08: 000000000000000a R09: 0000000000000000
Dec 10 10:33:42 ragnarok kernel: [28406.740062] R10: 00000000000002d1 R11: ffff880075c439b6 R12: 0000000000000000
Dec 10 10:33:42 ragnarok kernel: [28406.740168] R13: 0000000000000000 R14: ffffffff8173f153 R15: 0000000000000000
Dec 10 10:33:42 ragnarok kernel: [28406.740276] FS:  00007f2740ff9700(0000) GS:ffff880079280000(0000) knlGS:0000000000000000
Dec 10 10:33:42 ragnarok kernel: [28406.740397] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Dec 10 10:33:42 ragnarok kernel: [28406.740483] CR2: 0000000000000064 CR3: 0000000075e26000 CR4: 00000000001007e0
Dec 10 10:33:42 ragnarok kernel: [28406.740589] Stack:
Dec 10 10:33:42 ragnarok kernel: [28406.740622]  ffff880075c43d48 ffff880075c43d48 ffff880036b2bd58 ffffc90000378ec8
Dec 10 10:33:42 ragnarok kernel: [28406.740747]  ffff880073e5e3d0 ffffc90000378ec4 00000000013fa000 ffff880075cde840
Dec 10 10:33:42 ragnarok kernel: [28406.740872]  00000000000005d8 0000000000000000 0000000000000000 0000000000000000
Dec 10 10:33:42 ragnarok kernel: [28406.740996] Call Trace:
Dec 10 10:33:42 ragnarok kernel: [28406.741040]  [<ffffffff810d1bc8>] ? wake_futex+0x48/0x80
Dec 10 10:33:42 ragnarok kernel: [28406.741125]  [<ffffffff810d1cff>] ? futex_wake+0xff/0x120
Dec 10 10:33:42 ragnarok kernel: [28406.741210]  [<ffffffff810d3bee>] ? do_futex+0x11e/0xb60
Dec 10 10:33:42 ragnarok kernel: [28406.741295]  [<ffffffff811ac9e6>] ? vfs_fstatat+0x46/0x90
Dec 10 10:33:42 ragnarok kernel: [28406.741380]  [<ffffffff810d469e>] ? SyS_futex+0x6e/0x150
Dec 10 10:33:42 ragnarok kernel: [28406.741464]  [<ffffffff815116cd>] ? system_call_fast_compare_end+0x10/0x15
Dec 10 10:33:42 ragnarok kernel: [28406.741567] Code:  Bad RIP value.
Dec 10 10:33:42 ragnarok kernel: [28406.741625] RIP  [<0000000000000064>] 0x64
Dec 10 10:33:42 ragnarok kernel: [28406.741697]  RSP <ffff880075c43d48>
Dec 10 10:33:42 ragnarok kernel: [28406.741750] CR2: 0000000000000064
Dec 10 10:33:42 ragnarok kernel: [28406.782621] ---[ end trace 202e1cd2b15cdc02 ]---


How can I resolve this ?