← Back to team overview

kernel-packages team mailing list archive

[Bug 1509010] [NEW] NFS Kernel Server crashes serving UDP v2

 

Public bug reported:

Serving NFS filesystems for my embedded board through UDP crashes with
this kernel reliably.  Downgrading to the -50 kernel solves the problem.

Here is one backtrace collected just now:

Oct 22 18:22:04 harry kernel: [   91.718996] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
Oct 22 18:22:04 harry kernel: [   91.719111] IP: [<ffffffff816599fb>] skb_copy_and_csum_datagram_iovec+0x2b/0x110
Oct 22 18:22:04 harry kernel: [   91.719209] PGD 0 
Oct 22 18:22:04 harry kernel: [   91.719240] Oops: 0000 [#1] SMP 
Oct 22 18:22:04 harry kernel: [   91.719291] Modules linked in: cdc_acm ax88179_178a usbnet mii ctr ccm snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm intel_rapl snd_seq_midi snd_seq_midi_event x86_pkg_temp_thermal intel_powerclamp snd_rawmidi coretemp snd_seq hp_wmi sparse_keymap kvm uvcvideo videobuf2_vmalloc crct10dif_pclmul videobuf2_memops crc32_pclmul videobuf2_core snd_seq_device v4l2_common snd_timer videodev ghash_clmulni_intel aesni_intel media aes_x86_64 lrw arc4 gf128mul glue_helper ablk_helper cryptd iwldvm snd mac80211 bnep btusb rfcomm joydev bluetooth serio_raw i915 iwlwifi 6lowpan_iphc cfg80211 drm_kms_helper drm wmi i2c_algo_bit mei_me parport_pc ppdev soundcore lpc_ich hp_accel mei video shpchp lis3lv02d lp input_polldev tpm_infineon parport mac_hid nfsd auth_rpcgss nfs_acl nfs binfmt_misc lockd sunrpc fscache psmouse ahci libahci e1000e sdhci_pci firewire_ohci firewire_core ptp sdhci crc_itu_t pps_core
Oct 22 18:22:04 harry kernel: [   91.720693] CPU: 2 PID: 1257 Comm: nfsd Not tainted 3.16.0-51-generic #69~14.04.1-Ubuntu
Oct 22 18:22:04 harry kernel: [   91.720785] Hardware name: Hewlett-Packard HP EliteBook 8460p/161C, BIOS 68SCF Ver. F.22 12/22/2011
Oct 22 18:22:04 harry kernel: [   91.720886] task: ffff880136ca5180 ti: ffff8800b5e58000 task.ti: ffff8800b5e58000
Oct 22 18:22:04 harry kernel: [   91.720969] RIP: 0010:[<ffffffff816599fb>]  [<ffffffff816599fb>] skb_copy_and_csum_datagram_iovec+0x2b/0x110
Oct 22 18:22:04 harry kernel: [   91.721085] RSP: 0018:ffff8800b5e5bb70  EFLAGS: 00010216
Oct 22 18:22:04 harry kernel: [   91.721146] RAX: 0000000000000000 RBX: ffff8800b7158780 RCX: 0000000000000000
Oct 22 18:22:04 harry kernel: [   91.721226] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff880092c4fc00
Oct 22 18:22:04 harry kernel: [   91.721305] RBP: ffff8800b5e5bba8 R08: 0000000000000000 R09: 00000000f20c120d
Oct 22 18:22:04 harry kernel: [   91.721384] R10: 0000000000001040 R11: 0000000000000006 R12: 0000000000000008
Oct 22 18:22:04 harry kernel: [   91.721463] R13: ffff880092c4fc00 R14: 0000000000001078 R15: ffff880092c4fc00
Oct 22 18:22:04 harry kernel: [   91.721551] FS:  0000000000000000(0000) GS:ffff88013dc80000(0000) knlGS:0000000000000000
Oct 22 18:22:04 harry kernel: [   91.721641] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 22 18:22:04 harry kernel: [   91.721706] CR2: 0000000000000008 CR3: 0000000001c13000 CR4: 00000000000407e0
Oct 22 18:22:04 harry kernel: [   91.721784] Stack:
Oct 22 18:22:04 harry kernel: [   91.721811]  ffffffff81651520 ffff8800b5e5bba8 ffff8800b7158780 ffff8800b5e5bda8
Oct 22 18:22:04 harry kernel: [   91.721908]  0000000000000000 0000000000001078 ffff880092c4fc00 ffff8800b5e5bc10
Oct 22 18:22:04 harry kernel: [   91.722006]  ffffffff816cc06a ffff8800b6b74028 ffff8800b71587f0 0000000200000000
Oct 22 18:22:04 harry kernel: [   91.722104] Call Trace:
Oct 22 18:22:04 harry kernel: [   91.722143]  [<ffffffff81651520>] ? reqsk_fastopen_remove+0x140/0x140
Oct 22 18:22:04 harry kernel: [   91.722223]  [<ffffffff816cc06a>] udp_recvmsg+0x1ea/0x3b0
Oct 22 18:22:04 harry kernel: [   91.722288]  [<ffffffff816d73fc>] inet_recvmsg+0x6c/0x80
Oct 22 18:22:04 harry kernel: [   91.722352]  [<ffffffff8164a99a>] sock_recvmsg+0x9a/0xd0
Oct 22 18:22:04 harry kernel: [   91.722419]  [<ffffffff8107a7fb>] ? lock_timer_base.isra.34+0x2b/0x50
Oct 22 18:22:04 harry kernel: [   91.722494]  [<ffffffff8164aa0a>] kernel_recvmsg+0x3a/0x50
Oct 22 18:22:04 harry kernel: [   91.722596]  [<ffffffffc01efd59>] svc_udp_recvfrom+0x89/0x460 [sunrpc]
Oct 22 18:22:04 harry kernel: [   91.722675]  [<ffffffff8107a5d0>] ? ftrace_raw_event_tick_stop+0xc0/0xc0
Oct 22 18:22:04 harry kernel: [   91.722786]  [<ffffffffc01fd453>] svc_recv+0x9d3/0xa70 [sunrpc]
Oct 22 18:22:04 harry kernel: [   91.722858]  [<ffffffff810a1b60>] ? wake_up_state+0x20/0x20
Oct 22 18:22:04 harry kernel: [   91.722937]  [<ffffffffc0295670>] ? nfsd_destroy+0x80/0x80 [nfsd]
Oct 22 18:22:04 harry kernel: [   91.723020]  [<ffffffffc0295725>] nfsd+0xb5/0x130 [nfsd]
Oct 22 18:22:04 harry kernel: [   91.723089]  [<ffffffff810915a2>] kthread+0xd2/0xf0
Oct 22 18:22:04 harry kernel: [   91.723150]  [<ffffffff810914d0>] ? kthread_create_on_node+0x1c0/0x1c0
Oct 22 18:22:04 harry kernel: [   91.723229]  [<ffffffff8176f2d8>] ret_from_fork+0x58/0x90
Oct 22 18:22:04 harry kernel: [   91.723295]  [<ffffffff810914d0>] ? kthread_create_on_node+0x1c0/0x1c0
Oct 22 18:22:04 harry kernel: [   91.723368] Code: 66 66 66 66 90 55 31 c0 48 89 e5 41 57 41 56 41 55 49 89 fd 41 54 41 89 f4 53 48 83 ec 10 44 8b 77 68 41 29 f6 0f 84 8b 00 00 00 <48> 8b 42 08 48 89 d3 48 85 c0 75 16 66 0f 1f 84 00 00 00 00 00 
Oct 22 18:22:04 harry kernel: [   91.723867] RIP  [<ffffffff816599fb>] skb_copy_and_csum_datagram_iovec+0x2b/0x110
Oct 22 18:22:04 harry kernel: [   91.723957]  RSP <ffff8800b5e5bb70>
Oct 22 18:22:04 harry kernel: [   91.727610] CR2: 0000000000000008
Oct 22 18:22:04 harry kernel: [   91.746142] ---[ end trace 96db6cff5ff34e7d ]---

The network interface used here is an USB adapter but the crash happens
also on the wird interface.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.16.0-51-generic 3.16.0-51.69~14.04.1
ProcVersionSignature: Ubuntu 3.16.0-51.69~14.04.1-generic 3.16.7-ckt17
Uname: Linux 3.16.0-51-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.16
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Oct 22 18:23:35 2015
InstallationDate: Installed on 2015-03-27 (209 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
SourcePackage: linux-lts-utopic
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: linux-lts-utopic (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-lts-utopic in Ubuntu.
https://bugs.launchpad.net/bugs/1509010

Title:
  NFS Kernel Server crashes serving UDP v2

Status in linux-lts-utopic package in Ubuntu:
  New

Bug description:
  Serving NFS filesystems for my embedded board through UDP crashes with
  this kernel reliably.  Downgrading to the -50 kernel solves the
  problem.

  Here is one backtrace collected just now:

  Oct 22 18:22:04 harry kernel: [   91.718996] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
  Oct 22 18:22:04 harry kernel: [   91.719111] IP: [<ffffffff816599fb>] skb_copy_and_csum_datagram_iovec+0x2b/0x110
  Oct 22 18:22:04 harry kernel: [   91.719209] PGD 0 
  Oct 22 18:22:04 harry kernel: [   91.719240] Oops: 0000 [#1] SMP 
  Oct 22 18:22:04 harry kernel: [   91.719291] Modules linked in: cdc_acm ax88179_178a usbnet mii ctr ccm snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm intel_rapl snd_seq_midi snd_seq_midi_event x86_pkg_temp_thermal intel_powerclamp snd_rawmidi coretemp snd_seq hp_wmi sparse_keymap kvm uvcvideo videobuf2_vmalloc crct10dif_pclmul videobuf2_memops crc32_pclmul videobuf2_core snd_seq_device v4l2_common snd_timer videodev ghash_clmulni_intel aesni_intel media aes_x86_64 lrw arc4 gf128mul glue_helper ablk_helper cryptd iwldvm snd mac80211 bnep btusb rfcomm joydev bluetooth serio_raw i915 iwlwifi 6lowpan_iphc cfg80211 drm_kms_helper drm wmi i2c_algo_bit mei_me parport_pc ppdev soundcore lpc_ich hp_accel mei video shpchp lis3lv02d lp input_polldev tpm_infineon parport mac_hid nfsd auth_rpcgss nfs_acl nfs binfmt_misc lockd sunrpc fscache psmouse ahci libahci e1000e sdhci_pci firewire_ohci firewire_core ptp sdhci crc_itu_t pps_core
  Oct 22 18:22:04 harry kernel: [   91.720693] CPU: 2 PID: 1257 Comm: nfsd Not tainted 3.16.0-51-generic #69~14.04.1-Ubuntu
  Oct 22 18:22:04 harry kernel: [   91.720785] Hardware name: Hewlett-Packard HP EliteBook 8460p/161C, BIOS 68SCF Ver. F.22 12/22/2011
  Oct 22 18:22:04 harry kernel: [   91.720886] task: ffff880136ca5180 ti: ffff8800b5e58000 task.ti: ffff8800b5e58000
  Oct 22 18:22:04 harry kernel: [   91.720969] RIP: 0010:[<ffffffff816599fb>]  [<ffffffff816599fb>] skb_copy_and_csum_datagram_iovec+0x2b/0x110
  Oct 22 18:22:04 harry kernel: [   91.721085] RSP: 0018:ffff8800b5e5bb70  EFLAGS: 00010216
  Oct 22 18:22:04 harry kernel: [   91.721146] RAX: 0000000000000000 RBX: ffff8800b7158780 RCX: 0000000000000000
  Oct 22 18:22:04 harry kernel: [   91.721226] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff880092c4fc00
  Oct 22 18:22:04 harry kernel: [   91.721305] RBP: ffff8800b5e5bba8 R08: 0000000000000000 R09: 00000000f20c120d
  Oct 22 18:22:04 harry kernel: [   91.721384] R10: 0000000000001040 R11: 0000000000000006 R12: 0000000000000008
  Oct 22 18:22:04 harry kernel: [   91.721463] R13: ffff880092c4fc00 R14: 0000000000001078 R15: ffff880092c4fc00
  Oct 22 18:22:04 harry kernel: [   91.721551] FS:  0000000000000000(0000) GS:ffff88013dc80000(0000) knlGS:0000000000000000
  Oct 22 18:22:04 harry kernel: [   91.721641] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  Oct 22 18:22:04 harry kernel: [   91.721706] CR2: 0000000000000008 CR3: 0000000001c13000 CR4: 00000000000407e0
  Oct 22 18:22:04 harry kernel: [   91.721784] Stack:
  Oct 22 18:22:04 harry kernel: [   91.721811]  ffffffff81651520 ffff8800b5e5bba8 ffff8800b7158780 ffff8800b5e5bda8
  Oct 22 18:22:04 harry kernel: [   91.721908]  0000000000000000 0000000000001078 ffff880092c4fc00 ffff8800b5e5bc10
  Oct 22 18:22:04 harry kernel: [   91.722006]  ffffffff816cc06a ffff8800b6b74028 ffff8800b71587f0 0000000200000000
  Oct 22 18:22:04 harry kernel: [   91.722104] Call Trace:
  Oct 22 18:22:04 harry kernel: [   91.722143]  [<ffffffff81651520>] ? reqsk_fastopen_remove+0x140/0x140
  Oct 22 18:22:04 harry kernel: [   91.722223]  [<ffffffff816cc06a>] udp_recvmsg+0x1ea/0x3b0
  Oct 22 18:22:04 harry kernel: [   91.722288]  [<ffffffff816d73fc>] inet_recvmsg+0x6c/0x80
  Oct 22 18:22:04 harry kernel: [   91.722352]  [<ffffffff8164a99a>] sock_recvmsg+0x9a/0xd0
  Oct 22 18:22:04 harry kernel: [   91.722419]  [<ffffffff8107a7fb>] ? lock_timer_base.isra.34+0x2b/0x50
  Oct 22 18:22:04 harry kernel: [   91.722494]  [<ffffffff8164aa0a>] kernel_recvmsg+0x3a/0x50
  Oct 22 18:22:04 harry kernel: [   91.722596]  [<ffffffffc01efd59>] svc_udp_recvfrom+0x89/0x460 [sunrpc]
  Oct 22 18:22:04 harry kernel: [   91.722675]  [<ffffffff8107a5d0>] ? ftrace_raw_event_tick_stop+0xc0/0xc0
  Oct 22 18:22:04 harry kernel: [   91.722786]  [<ffffffffc01fd453>] svc_recv+0x9d3/0xa70 [sunrpc]
  Oct 22 18:22:04 harry kernel: [   91.722858]  [<ffffffff810a1b60>] ? wake_up_state+0x20/0x20
  Oct 22 18:22:04 harry kernel: [   91.722937]  [<ffffffffc0295670>] ? nfsd_destroy+0x80/0x80 [nfsd]
  Oct 22 18:22:04 harry kernel: [   91.723020]  [<ffffffffc0295725>] nfsd+0xb5/0x130 [nfsd]
  Oct 22 18:22:04 harry kernel: [   91.723089]  [<ffffffff810915a2>] kthread+0xd2/0xf0
  Oct 22 18:22:04 harry kernel: [   91.723150]  [<ffffffff810914d0>] ? kthread_create_on_node+0x1c0/0x1c0
  Oct 22 18:22:04 harry kernel: [   91.723229]  [<ffffffff8176f2d8>] ret_from_fork+0x58/0x90
  Oct 22 18:22:04 harry kernel: [   91.723295]  [<ffffffff810914d0>] ? kthread_create_on_node+0x1c0/0x1c0
  Oct 22 18:22:04 harry kernel: [   91.723368] Code: 66 66 66 66 90 55 31 c0 48 89 e5 41 57 41 56 41 55 49 89 fd 41 54 41 89 f4 53 48 83 ec 10 44 8b 77 68 41 29 f6 0f 84 8b 00 00 00 <48> 8b 42 08 48 89 d3 48 85 c0 75 16 66 0f 1f 84 00 00 00 00 00 
  Oct 22 18:22:04 harry kernel: [   91.723867] RIP  [<ffffffff816599fb>] skb_copy_and_csum_datagram_iovec+0x2b/0x110
  Oct 22 18:22:04 harry kernel: [   91.723957]  RSP <ffff8800b5e5bb70>
  Oct 22 18:22:04 harry kernel: [   91.727610] CR2: 0000000000000008
  Oct 22 18:22:04 harry kernel: [   91.746142] ---[ end trace 96db6cff5ff34e7d ]---

  The network interface used here is an USB adapter but the crash
  happens also on the wird interface.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.16.0-51-generic 3.16.0-51.69~14.04.1
  ProcVersionSignature: Ubuntu 3.16.0-51.69~14.04.1-generic 3.16.7-ckt17
  Uname: Linux 3.16.0-51-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.16
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Thu Oct 22 18:23:35 2015
  InstallationDate: Installed on 2015-03-27 (209 days ago)
  InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
  SourcePackage: linux-lts-utopic
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-lts-utopic/+bug/1509010/+subscriptions


Follow ups