Kernel hangs after mounting usb HD

Bug #1726743 reported by Wolf Rogner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

After mounting external USB HDs the kernel hangs.

$ uname -a
Linux mbpr13b 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

syslog:
...
Oct 24 09:48:43 mbpr13b kernel: [26748.402025] usb 2-1: new SuperSpeed USB device number 24 using xhci_hcd
Oct 24 09:48:43 mbpr13b kernel: [26748.423219] usb 2-1: New USB device found, idVendor=0bc2, idProduct=231a
Oct 24 09:48:43 mbpr13b kernel: [26748.423225] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 24 09:48:43 mbpr13b kernel: [26748.423228] usb 2-1: Product: Expansion
Oct 24 09:48:43 mbpr13b kernel: [26748.423231] usb 2-1: Manufacturer: Seagate
Oct 24 09:48:43 mbpr13b kernel: [26748.423233] usb 2-1: SerialNumber: NA8658H8
Oct 24 09:48:43 mbpr13b kernel: [26748.426080] scsi host1: uas
Oct 24 09:48:43 mbpr13b kernel: [26748.428009] scsi 1:0:0:0: tag#0 data cmplt err -75 uas-tag 1 inflight: CMD
Oct 24 09:48:43 mbpr13b kernel: [26748.428019] scsi 1:0:0:0: tag#0 CDB: Inquiry 12 00 00 00 24 00
Oct 24 09:48:43 mbpr13b mtp-probe: checking bus 2, device 24: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-1"
Oct 24 09:48:43 mbpr13b mtp-probe: bus: 2, device: 24 was not an MTP device
Oct 24 09:48:43 mbpr13b kernel: [26748.431989] general protection fault: 0000 [#1] SMP
Oct 24 09:48:43 mbpr13b kernel: [26748.432028] Modules linked in: nls_utf8 isofs uas usb_storage pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm hid_magicmouse hidp cmac bnep nls_iso8859_1 joydev intel_spi_platform intel_spi spi_nor mtd snd_hda_codec_hdmi snd_hda_codec_cirrus snd_hda_codec_generic bcm5974 btusb btrtl btbcm snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep btintel bluetooth snd_pcm ecdh_generic snd_seq_midi snd_seq_midi_event input_leds snd_rawmidi applesmc input_polldev intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_seq kvm_intel kvm irqbypass intel_cstate intel_rapl_perf intel_pch_thermal lpc_ich snd_seq_device thunderbolt brcmfmac snd_timer brcmutil snd cfg80211 bdc_pci mei_me mei shpchp dw_dmac_pci spi_pxa2xx_pci dw_dmac_core soundcore sbs sbshc acpi_als kfifo_buf industrialio
Oct 24 09:48:43 mbpr13b kernel: [26748.432425] spi_pxa2xx_platform apple_bl mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 algif_skcipher af_alg hid_apple dm_crypt hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 pcbc aesni_intel i2c_algo_bit aes_x86_64 crypto_simd drm_kms_helper glue_helper cryptd syscopyarea sysfillrect sysimgblt fb_sys_fops ahci drm libahci video
Oct 24 09:48:43 mbpr13b kernel: [26748.432614] CPU: 1 PID: 19441 Comm: systemd-udevd Tainted: G OE 4.13.0-16-generic #19-Ubuntu
Oct 24 09:48:43 mbpr13b kernel: [26748.432663] Hardware name: Apple Inc. MacBookPro12,1/Mac-E43C1C25D4880AD6, BIOS MBP121.88Z.0171.B00.1708080033 08/08/2017
Oct 24 09:48:43 mbpr13b kernel: [26748.432718] task: ffff8b4f622cae80 task.stack: ffffa0508497c000
Oct 24 09:48:43 mbpr13b kernel: [26748.432755] RIP: 0010:__kmalloc+0x9b/0x200
Oct 24 09:48:43 mbpr13b kernel: [26748.432778] RSP: 0018:ffffa0508497fda0 EFLAGS: 00010206
Oct 24 09:48:43 mbpr13b kernel: [26748.432807] RAX: 0000000000000000 RBX: 00000000014080c0 RCX: 000000000092a7b9
Oct 24 09:48:43 mbpr13b kernel: [26748.432844] RDX: 000000000092a7b8 RSI: 0000000000000000 RDI: 000000000001f420
Oct 24 09:48:43 mbpr13b kernel: [26748.432882] RBP: ffffa0508497fdd0 R08: ffff8b4feec9f420 R09: ffff8b4fde003980
Oct 24 09:48:43 mbpr13b kernel: [26748.432920] R10: ffffa0508497fdc8 R11: ffff8b4f622cae80 R12: 0220005f12060000
Oct 24 09:48:43 mbpr13b kernel: [26748.432957] R13: 00000000014080c0 R14: 0000000000000018 R15: ffff8b4fde003980
Oct 24 09:48:43 mbpr13b kernel: [26748.432996] FS: 00007f741dac28c0(0000) GS:ffff8b4feec80000(0000) knlGS:0000000000000000
Oct 24 09:48:43 mbpr13b kernel: [26748.433038] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 24 09:48:43 mbpr13b kernel: [26748.433069] CR2: 000055e4053a7430 CR3: 00000003e3eab000 CR4: 00000000003406e0
Oct 24 09:48:43 mbpr13b kernel: [26748.433106] Call Trace:
Oct 24 09:48:43 mbpr13b kernel: [26748.433127] ? security_file_alloc+0x58/0x70
Oct 24 09:48:43 mbpr13b kernel: [26748.433155] security_file_alloc+0x58/0x70
Oct 24 09:48:43 mbpr13b kernel: [26748.433180] get_empty_filp+0x93/0x1b0
Oct 24 09:48:43 mbpr13b kernel: [26748.433204] ? __d_instantiate+0x39/0xe0
Oct 24 09:48:43 mbpr13b kernel: [26748.433228] alloc_file+0x20/0xe0
Oct 24 09:48:43 mbpr13b kernel: [26748.433250] anon_inode_getfile+0xf4/0x160
Oct 24 09:48:43 mbpr13b kernel: [26748.433275] ? __alloc_fd+0x46/0x170
Oct 24 09:48:43 mbpr13b kernel: [26748.433298] anon_inode_getfd+0x3c/0x70
Oct 24 09:48:43 mbpr13b kernel: [26748.433321] SyS_signalfd4+0x113/0x1c0
Oct 24 09:48:43 mbpr13b kernel: [26748.433345] do_syscall_64+0x5b/0xc0
Oct 24 09:48:43 mbpr13b kernel: [26748.433368] entry_SYSCALL64_slow_path+0x25/0x25
Oct 24 09:48:43 mbpr13b kernel: [26748.433394] RIP: 0033:0x7f741d3d7cd2
Oct 24 09:48:43 mbpr13b kernel: [26748.433415] RSP: 002b:00007ffe7594afd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000121
Oct 24 09:48:43 mbpr13b kernel: [26748.433455] RAX: ffffffffffffffda RBX: 000055e4052e6230 RCX: 00007f741d3d7cd2
Oct 24 09:48:43 mbpr13b kernel: [26748.433492] RDX: 0000000000000008 RSI: 00007ffe7594b000 RDI: ffffffffffffffff
Oct 24 09:48:43 mbpr13b kernel: [26748.433530] RBP: 000055e4052c7340 R08: 000055e405297e49 R09: 0000000000000020
Oct 24 09:48:43 mbpr13b kernel: [26748.433567] R10: 0000000000080800 R11: 0000000000000246 R12: 00007ffe7594b000
Oct 24 09:48:43 mbpr13b kernel: [26748.433604] R13: 0000000000000001 R14: 0000000000000011 R15: 0000000000000000
Oct 24 09:48:43 mbpr13b kernel: [26748.433643] Code: 08 65 4c 03 05 77 09 5e 5e 49 83 78 10 00 4d 8b 20 0f 84 f7 00 00 00 4d 85 e4 0f 84 ee 00 00 00 49 63 41 20 49 8b 39 48 8d 4a 01 <49> 8b 1c 04 4c 89 e0 65 48 0f c7 0f 0f 94 c0 84 c0 74 bb 49 63
Oct 24 09:48:43 mbpr13b kernel: [26748.433783] RIP: __kmalloc+0x9b/0x200 RSP: ffffa0508497fda0
Oct 24 09:48:43 mbpr13b kernel: [26748.469525] ---[ end trace 62aa2e2f97114c97 ]---
Oct 24 09:48:43 mbpr13b systemd-udevd[420]: worker [19441] terminated by signal 11 (SEGV)
Oct 24 09:48:43 mbpr13b systemd-udevd[420]: worker [19441] failed while handling '/devices/pci0000:00/0000:00:14.0/usb2/2-1'
Oct 24 09:48:43 mbpr13b kernel: [26748.470709] general protection fault: 0000 [#2] SMP
Oct 24 09:48:43 mbpr13b kernel: [26748.470737] Modules linked in: nls_utf8 isofs uas usb_storage pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm hid_magicmouse hidp cmac bnep nls_iso8859_1 joydev intel_spi_platform intel_spi spi_nor mtd snd_hda_codec_hdmi snd_hda_codec_cirrus snd_hda_codec_generic bcm5974 btusb btrtl btbcm snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep btintel bluetooth snd_pcm ecdh_generic snd_seq_midi snd_seq_midi_event input_leds snd_rawmidi applesmc input_polldev intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_seq kvm_intel kvm irqbypass intel_cstate intel_rapl_perf intel_pch_thermal lpc_ich snd_seq_device thunderbolt brcmfmac snd_timer brcmutil snd cfg80211 bdc_pci mei_me mei shpchp dw_dmac_pci spi_pxa2xx_pci dw_dmac_core soundcore sbs sbshc acpi_als kfifo_buf industrialio
Oct 24 09:48:43 mbpr13b kernel: [26748.471037] spi_pxa2xx_platform apple_bl mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 algif_skcipher af_alg hid_apple dm_crypt hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 pcbc aesni_intel i2c_algo_bit aes_x86_64 crypto_simd drm_kms_helper glue_helper cryptd syscopyarea sysfillrect sysimgblt fb_sys_fops ahci drm libahci video
Oct 24 09:48:43 mbpr13b kernel: [26748.471185] CPU: 1 PID: 1018 Comm: upowerd Tainted: G D OE 4.13.0-16-generic #19-Ubuntu
Oct 24 09:48:43 mbpr13b kernel: [26748.471218] Hardware name: Apple Inc. MacBookPro12,1/Mac-E43C1C25D4880AD6, BIOS MBP121.88Z.0171.B00.1708080033 08/08/2017
Oct 24 09:48:43 mbpr13b kernel: [26748.471258] task: ffff8b4fd0a82e80 task.stack: ffffa05082c6c000
Oct 24 09:48:43 mbpr13b kernel: [26748.471286] RIP: 0010:__kmalloc+0x9b/0x200
Oct 24 09:48:43 mbpr13b kernel: [26748.471305] RSP: 0018:ffffa05082c6fc38 EFLAGS: 00010206
Oct 24 09:48:43 mbpr13b kernel: [26748.471326] RAX: 0000000000000000 RBX: 00000000014080c0 RCX: 000000000092a821
Oct 24 09:48:43 mbpr13b kernel: [26748.471354] RDX: 000000000092a820 RSI: 0000000000000000 RDI: 000000000001f420
Oct 24 09:48:43 mbpr13b kernel: [26748.471379] RBP: ffffa05082c6fc68 R08: ffff8b4feec9f420 R09: ffff8b4fde003980
Oct 24 09:48:43 mbpr13b kernel: [26748.471404] R10: ffffa05082c6fed8 R11: 0000000000000000 R12: 0220005f12060000
Oct 24 09:48:43 mbpr13b kernel: [26748.471429] R13: 00000000014080c0 R14: 0000000000000018 R15: ffff8b4fde003980
Oct 24 09:48:43 mbpr13b kernel: [26748.471453] FS: 00007fed13a17880(0000) GS:ffff8b4feec80000(0000) knlGS:0000000000000000
Oct 24 09:48:43 mbpr13b kernel: [26748.471480] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 24 09:48:43 mbpr13b kernel: [26748.471502] CR2: 000055ca705c8038 CR3: 00000004520d5000 CR4: 00000000003406e0
Oct 24 09:48:43 mbpr13b kernel: [26748.471526] Call Trace:
Oct 24 09:48:43 mbpr13b kernel: [26748.471540] ? security_file_alloc+0x58/0x70
Oct 24 09:48:43 mbpr13b kernel: [26748.471559] security_file_alloc+0x58/0x70
Oct 24 09:48:43 mbpr13b kernel: [26748.471577] get_empty_filp+0x93/0x1b0
Oct 24 09:48:43 mbpr13b kernel: [26748.471592] path_openat+0x3d/0x1630
Oct 24 09:48:43 mbpr13b kernel: [26748.471608] ? dput.part.23+0x2d/0x1e0
Oct 24 09:48:43 mbpr13b kernel: [26748.471625] ? mntput+0x24/0x40
Oct 24 09:48:43 mbpr13b kernel: [26748.471640] ? terminate_walk+0xe0/0xf0
Oct 24 09:48:43 mbpr13b kernel: [26748.471656] ? path_lookupat+0xaa/0x1f0
Oct 24 09:48:43 mbpr13b kernel: [26748.471670] do_filp_open+0x9b/0x110
Oct 24 09:48:43 mbpr13b kernel: [26748.471686] ? __check_object_size+0xaf/0x1b0
Oct 24 09:48:43 mbpr13b kernel: [26748.471702] ? __alloc_fd+0x46/0x170
Oct 24 09:48:43 mbpr13b kernel: [26748.471717] do_sys_open+0x1bb/0x2b0
Oct 24 09:48:43 mbpr13b kernel: [26748.471733] ? do_sys_open+0x1bb/0x2b0
Oct 24 09:48:43 mbpr13b kernel: [26748.471749] SyS_openat+0x14/0x20
Oct 24 09:48:43 mbpr13b kernel: [26748.471765] entry_SYSCALL_64_fastpath+0x1e/0xa9
Oct 24 09:48:43 mbpr13b kernel: [26748.471784] RIP: 0033:0x7fed121c6f23
Oct 24 09:48:43 mbpr13b kernel: [26748.471798] RSP: 002b:00007ffd7208d820 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
Oct 24 09:48:43 mbpr13b kernel: [26748.471827] RAX: ffffffffffffffda RBX: 000055e9b807cfa0 RCX: 00007fed121c6f23
Oct 24 09:48:43 mbpr13b kernel: [26748.471857] RDX: 00000000002a0000 RSI: 000055e9b8079f31 RDI: 0000000000000011
Oct 24 09:48:43 mbpr13b kernel: [26748.471886] RBP: 00007fed1249a3e0 R08: 0000000000000000 R09: 000055e9b8037000
Oct 24 09:48:43 mbpr13b kernel: [26748.471914] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000
Oct 24 09:48:43 mbpr13b kernel: [26748.471942] R13: 0000000000000000 R14: 0000000000001000 R15: 00007ffd7208d9f0
Oct 24 09:48:43 mbpr13b kernel: [26748.471972] Code: 08 65 4c 03 05 77 09 5e 5e 49 83 78 10 00 4d 8b 20 0f 84 f7 00 00 00 4d 85 e4 0f 84 ee 00 00 00 49 63 41 20 49 8b 39 48 8d 4a 01 <49> 8b 1c 04 4c 89 e0 65 48 0f c7 0f 0f 94 c0 84 c0 74 bb 49 63
Oct 24 09:48:43 mbpr13b kernel: [26748.472072] RIP: __kmalloc+0x9b/0x200 RSP: ffffa05082c6fc38
Oct 24 09:48:43 mbpr13b kernel: [26748.472096] ---[ end trace 62aa2e2f97114c98 ]---
Oct 24 09:48:43 mbpr13b kernel: [26748.474273] general protection fault: 0000 [#3] SMP
Oct 24 09:48:43 mbpr13b kernel: [26748.474291] Modules linked in: nls_utf8 isofs uas usb_storage pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm hid_magicmouse hidp cmac bnep nls_iso8859_1 joydev intel_spi_platform intel_spi spi_nor mtd snd_hda_codec_hdmi snd_hda_codec_cirrus snd_hda_codec_generic bcm5974 btusb btrtl btbcm snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep btintel bluetooth snd_pcm ecdh_generic snd_seq_midi snd_seq_midi_event input_leds snd_rawmidi applesmc input_polldev intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_seq kvm_intel kvm irqbypass intel_cstate intel_rapl_perf intel_pch_thermal lpc_ich snd_seq_device thunderbolt brcmfmac snd_timer brcmutil snd cfg80211 bdc_pci mei_me mei shpchp dw_dmac_pci spi_pxa2xx_pci dw_dmac_core soundcore sbs sbshc acpi_als kfifo_buf industrialio
Oct 24 09:48:43 mbpr13b kernel: [26748.474458] spi_pxa2xx_platform apple_bl mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 algif_skcipher af_alg hid_apple dm_crypt hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 pcbc aesni_intel i2c_algo_bit aes_x86_64 crypto_simd drm_kms_helper glue_helper cryptd syscopyarea sysfillrect sysimgblt fb_sys_fops ahci drm libahci video
Oct 24 09:48:43 mbpr13b kernel: [26748.474541] CPU: 1 PID: 19449 Comm: pool Tainted: G D OE 4.13.0-16-generic #19-Ubuntu
Oct 24 09:48:43 mbpr13b kernel: [26748.474560] Hardware name: Apple Inc. MacBookPro12,1/Mac-E43C1C25D4880AD6, BIOS MBP121.88Z.0171.B00.1708080033 08/08/2017
Oct 24 09:48:43 mbpr13b kernel: [26748.474583] task: ffff8b4f6190c5c0 task.stack: ffffa050836d4000
Oct 24 09:48:43 mbpr13b kernel: [26748.474600] RIP: 0010:__kmalloc+0x9b/0x200
Oct 24 09:48:43 mbpr13b kernel: [26748.474610] RSP: 0018:ffffa050836d7db8 EFLAGS: 00010206
Oct 24 09:48:43 mbpr13b kernel: [26748.474622] RAX: 0000000000000000 RBX: 00000000014080c0 RCX: 000000000092a821
Oct 24 09:48:43 mbpr13b kernel: [26748.474638] RDX: 000000000092a820 RSI: 0000000000000000 RDI: 000000000001f420
Oct 24 09:48:43 mbpr13b kernel: [26748.474654] RBP: ffffa050836d7de8 R08: ffff8b4feec9f420 R09: ffff8b4fde003980
Oct 24 09:48:43 mbpr13b kernel: [26748.474670] R10: 0000000000000000 R11: ffff8b4f6190c5c0 R12: 0220005f12060000
Oct 24 09:48:43 mbpr13b kernel: [26748.474686] R13: 00000000014080c0 R14: 0000000000000020 R15: ffff8b4fde003980
Oct 24 09:48:43 mbpr13b kernel: [26748.476551] FS: 00007fe790d8b700(0000) GS:ffff8b4feec80000(0000) knlGS:0000000000000000
Oct 24 09:48:43 mbpr13b kernel: [26748.478388] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 24 09:48:43 mbpr13b kernel: [26748.480152] CR2: 00007fe784009ff8 CR3: 00000002ae84d000 CR4: 00000000003406e0
Oct 24 09:48:43 mbpr13b kernel: [26748.481885] Call Trace:
Oct 24 09:48:43 mbpr13b kernel: [26748.483565] ? security_sk_alloc+0x73/0x90
Oct 24 09:48:43 mbpr13b kernel: [26748.485198] security_sk_alloc+0x73/0x90
Oct 24 09:48:43 mbpr13b kernel: [26748.486826] sk_prot_alloc+0x58/0x130
Oct 24 09:48:43 mbpr13b kernel: [26748.488430] sk_alloc+0x31/0x230
Oct 24 09:48:43 mbpr13b kernel: [26748.490025] unix_create1+0x67/0x1e0
Oct 24 09:48:43 mbpr13b kernel: [26748.491606] unix_create+0x5e/0x80
Oct 24 09:48:43 mbpr13b kernel: [26748.493201] __sock_create+0xe3/0x200
Oct 24 09:48:43 mbpr13b kernel: [26748.494795] SyS_socket+0x55/0xb0
Oct 24 09:48:43 mbpr13b kernel: [26748.496383] entry_SYSCALL_64_fastpath+0x1e/0xa9
Oct 24 09:48:43 mbpr13b kernel: [26748.497959] RIP: 0033:0x7fe79499aeb7
Oct 24 09:48:43 mbpr13b kernel: [26748.499526] RSP: 002b:00007fe790d8a508 EFLAGS: 00000202 ORIG_RAX: 0000000000000029
Oct 24 09:48:43 mbpr13b kernel: [26748.501102] RAX: ffffffffffffffda RBX: 0000000000001000 RCX: 00007fe79499aeb7
Oct 24 09:48:43 mbpr13b kernel: [26748.502679] RDX: 0000000000000000 RSI: 0000000000080001 RDI: 0000000000000001
Oct 24 09:48:43 mbpr13b kernel: [26748.504248] RBP: 00007fe784000020 R08: 0000000000000004 R09: 00007fe793e45cfc
Oct 24 09:48:43 mbpr13b kernel: [26748.505821] R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000001000
Oct 24 09:48:43 mbpr13b kernel: [26748.507381] R13: 00007fe784008ff0 R14: 0000000000001180 R15: 0000000000000140
Oct 24 09:48:43 mbpr13b kernel: [26748.508948] Code: 08 65 4c 03 05 77 09 5e 5e 49 83 78 10 00 4d 8b 20 0f 84 f7 00 00 00 4d 85 e4 0f 84 ee 00 00 00 49 63 41 20 49 8b 39 48 8d 4a 01 <49> 8b 1c 04 4c 89 e0 65 48 0f c7 0f 0f 94 c0 84 c0 74 bb 49 63
Oct 24 09:48:43 mbpr13b kernel: [26748.510583] RIP: __kmalloc+0x9b/0x200 RSP: ffffa050836d7db8
Oct 24 09:48:43 mbpr13b kernel: [26748.512240] ---[ end trace 62aa2e2f97114c99 ]---
Oct 24 09:48:50 mbpr13b kernel: [26755.184018] general protection fault: 0000 [#4] SMP
Oct 24 09:48:50 mbpr13b kernel: [26755.186908] Modules linked in: nls_utf8 isofs uas usb_storage pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm hid_magicmouse hidp cmac bnep nls_iso8859_1 joydev intel_spi_platform intel_spi spi_nor mtd snd_hda_codec_hdmi snd_hda_codec_cirrus snd_hda_codec_generic bcm5974 btusb btrtl btbcm snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep btintel bluetooth snd_pcm ecdh_generic snd_seq_midi snd_seq_midi_event input_leds snd_rawmidi applesmc input_polldev intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_seq kvm_intel kvm irqbypass intel_cstate intel_rapl_perf intel_pch_thermal lpc_ich snd_seq_device thunderbolt brcmfmac snd_timer brcmutil snd cfg80211 bdc_pci mei_me mei shpchp dw_dmac_pci spi_pxa2xx_pci dw_dmac_core soundcore sbs sbshc acpi_als kfifo_buf industrialio
Oct 24 09:48:50 mbpr13b kernel: [26755.193513] spi_pxa2xx_platform apple_bl mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 algif_skcipher af_alg hid_apple dm_crypt hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 pcbc aesni_intel i2c_algo_bit aes_x86_64 crypto_simd drm_kms_helper glue_helper cryptd syscopyarea sysfillrect sysimgblt fb_sys_fops ahci drm libahci video
Oct 24 09:48:50 mbpr13b kernel: [26755.199091] CPU: 1 PID: 1302 Comm: Xwayland Tainted: G D OE 4.13.0-16-generic #19-Ubuntu
Oct 24 09:48:50 mbpr13b kernel: [26755.202306] Hardware name: Apple Inc. MacBookPro12,1/Mac-E43C1C25D4880AD6, BIOS MBP121.88Z.0171.B00.1708080033 08/08/2017
Oct 24 09:48:50 mbpr13b kernel: [26755.204476] task: ffff8b4fda2b5d00 task.stack: ffffa05083104000
Oct 24 09:48:50 mbpr13b kernel: [26755.206385] RIP: 0010:__kmalloc+0x9b/0x200
Oct 24 09:48:50 mbpr13b kernel: [26755.208289] RSP: 0018:ffffa05083107b68 EFLAGS: 00010206
Oct 24 09:48:50 mbpr13b kernel: [26755.210307] RAX: 0000000000000000 RBX: 00000000014080c0 RCX: 000000000092a8f5
Oct 24 09:48:50 mbpr13b kernel: [26755.213424] RDX: 000000000092a8f4 RSI: 0000000000000000 RDI: 000000000001f420
Oct 24 09:48:50 mbpr13b kernel: [26755.216196] RBP: ffffa05083107b98 R08: ffff8b4feec9f420 R09: ffff8b4fde003980
Oct 24 09:48:50 mbpr13b kernel: [26755.218208] R10: ffff8b4fd2360838 R11: ffff8b4fda2b5d00 R12: 0220005f12060000
Oct 24 09:48:50 mbpr13b kernel: [26755.220239] R13: 00000000014080c0 R14: 0000000000000018 R15: ffff8b4fde003980
Oct 24 09:48:50 mbpr13b kernel: [26755.222219] FS: 00007f94d5b83a80(0000) GS:ffff8b4feec80000(0000) knlGS:0000000000000000
Oct 24 09:48:50 mbpr13b kernel: [26755.224175] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 24 09:48:50 mbpr13b kernel: [26755.226224] CR2: 00007f94c4c13000 CR3: 000000045ab09000 CR4: 00000000003406e0
Oct 24 09:48:50 mbpr13b kernel: [26755.229113] Call Trace:
Oct 24 09:48:50 mbpr13b kernel: [26755.232524] ? security_file_alloc+0x58/0x70
Oct 24 09:48:50 mbpr13b kernel: [26755.235701] security_file_alloc+0x58/0x70
Oct 24 09:48:50 mbpr13b kernel: [26755.238601] get_empty_filp+0x93/0x1b0
Oct 24 09:48:50 mbpr13b kernel: [26755.241169] ? __d_instantiate+0x39/0xe0
Oct 24 09:48:50 mbpr13b kernel: [26755.243712] alloc_file+0x20/0xe0
Oct 24 09:48:50 mbpr13b kernel: [26755.247465] __shmem_file_setup.part.34+0x116/0x210
Oct 24 09:48:50 mbpr13b kernel: [26755.250408] shmem_file_setup+0x2b/0x30
Oct 24 09:48:50 mbpr13b kernel: [26755.253944] drm_gem_object_init+0x2b/0x40 [drm]
Oct 24 09:48:50 mbpr13b kernel: [26755.257473] i915_gem_object_create.part.71+0x4a/0x190 [i915]
Oct 24 09:48:50 mbpr13b kernel: [26755.260993] i915_gem_create+0x6e/0xc0 [i915]
Oct 24 09:48:50 mbpr13b kernel: [26755.264557] i915_gem_create_ioctl+0x39/0x50 [i915]
Oct 24 09:48:50 mbpr13b kernel: [26755.268084] ? i915_gem_dumb_create+0x40/0x40 [i915]
Oct 24 09:48:50 mbpr13b kernel: [26755.271564] drm_ioctl_kernel+0x5d/0xb0 [drm]
Oct 24 09:48:50 mbpr13b kernel: [26755.275041] drm_ioctl+0x31b/0x3d0 [drm]
Oct 24 09:48:50 mbpr13b kernel: [26755.278568] ? i915_gem_dumb_create+0x40/0x40 [i915]
Oct 24 09:48:50 mbpr13b kernel: [26755.282016] do_vfs_ioctl+0xa5/0x610
Oct 24 09:48:50 mbpr13b kernel: [26755.285463] ? handle_mm_fault+0xb1/0x200
Oct 24 09:48:50 mbpr13b kernel: [26755.288877] ? __do_page_fault+0x267/0x4c0
Oct 24 09:48:50 mbpr13b kernel: [26755.292287] SyS_ioctl+0x79/0x90
Oct 24 09:48:50 mbpr13b kernel: [26755.295737] entry_SYSCALL_64_fastpath+0x1e/0xa9
Oct 24 09:48:50 mbpr13b kernel: [26755.299155] RIP: 0033:0x7f94d2cd2ea7
Oct 24 09:48:50 mbpr13b kernel: [26755.302587] RSP: 002b:00007ffeb93080f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Oct 24 09:48:50 mbpr13b kernel: [26755.306033] RAX: ffffffffffffffda RBX: 00007f94d5b0f040 RCX: 00007f94d2cd2ea7
Oct 24 09:48:50 mbpr13b kernel: [26755.309496] RDX: 00007ffeb9308180 RSI: 00000000c010645b RDI: 0000000000000009
Oct 24 09:48:50 mbpr13b kernel: [26755.313012] RBP: 0000000000000001 R08: 00007f94d2fa3c20 R09: 000055c51c1a68b0
Oct 24 09:48:50 mbpr13b kernel: [26755.316498] R10: 0000000000000007 R11: 0000000000000246 R12: 0000000000000000
Oct 24 09:48:50 mbpr13b kernel: [26755.319986] R13: 0000000000000002 R14: 0000000000000000 R15: 0000000000000002
Oct 24 09:48:50 mbpr13b kernel: [26755.323468] Code: 08 65 4c 03 05 77 09 5e 5e 49 83 78 10 00 4d 8b 20 0f 84 f7 00 00 00 4d 85 e4 0f 84 ee 00 00 00 49 63 41 20 49 8b 39 48 8d 4a 01 <49> 8b 1c 04 4c 89 e0 65 48 0f c7 0f 0f 94 c0 84 c0 74 bb 49 63
Oct 24 09:48:50 mbpr13b kernel: [26755.327114] RIP: __kmalloc+0x9b/0x200 RSP: ffffa05083107b68
Oct 24 09:48:50 mbpr13b kernel: [26755.330819] ---[ end trace 62aa2e2f97114c9a ]---
Oct 24 09:48:50 mbpr13b kernel: [26755.620615] general protection fault: 0000 [#5] SMP
Oct 24 09:48:50 mbpr13b kernel: [26755.626717] Modules linked in: nls_utf8 isofs uas usb_storage pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm hid_magicmouse hidp cmac bnep nls_iso8859_1 joydev intel_spi_platform intel_spi spi_nor mtd snd_hda_codec_hdmi snd_hda_codec_cirrus snd_hda_codec_generic bcm5974 btusb btrtl btbcm snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep btintel bluetooth snd_pcm ecdh_generic snd_seq_midi snd_seq_midi_event input_leds snd_rawmidi applesmc input_polldev intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_seq kvm_intel kvm irqbypass intel_cstate intel_rapl_perf intel_pch_thermal lpc_ich snd_seq_device thunderbolt brcmfmac snd_timer brcmutil snd cfg80211 bdc_pci mei_me mei shpchp dw_dmac_pci spi_pxa2xx_pci dw_dmac_core soundcore sbs sbshc acpi_als kfifo_buf industrialio
Oct 24 09:48:50 mbpr13b kernel: [26755.646152] spi_pxa2xx_platform apple_bl mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 algif_skcipher af_alg hid_apple dm_crypt hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 pcbc aesni_intel i2c_algo_bit aes_x86_64 crypto_simd drm_kms_helper glue_helper cryptd syscopyarea sysfillrect sysimgblt fb_sys_fops ahci drm libahci video
Oct 24 09:48:50 mbpr13b kernel: [26755.661861] CPU: 1 PID: 730 Comm: systemd-timesyn Tainted: G D OE 4.13.0-16-generic #19-Ubuntu
Oct 24 09:48:50 mbpr13b kernel: [26755.669679] Hardware name: Apple Inc. MacBookPro12,1/Mac-E43C1C25D4880AD6, BIOS MBP121.88Z.0171.B00.1708080033 08/08/2017
Oct 24 09:48:50 mbpr13b kernel: [26755.677575] task: ffff8b4fdab78000 task.stack: ffffa05082080000
Oct 24 09:48:50 mbpr13b kernel: [26755.685572] RIP: 0010:__kmalloc+0x9b/0x200
Oct 24 09:48:50 mbpr13b kernel: [26755.693464] RSP: 0018:ffffa05082083da0 EFLAGS: 00010206
Oct 24 09:48:50 mbpr13b kernel: [26755.701355] RAX: 0000000000000000 RBX: 00000000014080c0 RCX: 000000000092a8f5
Oct 24 09:48:50 mbpr13b kernel: [26755.709040] RDX: 000000000092a8f4 RSI: 0000000000000000 RDI: 000000000001f420
Oct 24 09:48:50 mbpr13b kernel: [26755.716812] RBP: ffffa05082083dd0 R08: ffff8b4feec9f420 R09: ffff8b4fde003980
Oct 24 09:48:50 mbpr13b kernel: [26755.724304] R10: ffffa05082083de8 R11: ffff8b4fdab78000 R12: 0220005f12060000
Oct 24 09:48:50 mbpr13b kernel: [26755.731708] R13: 00000000014080c0 R14: 0000000000000020 R15: ffff8b4fde003980
Oct 24 09:48:50 mbpr13b kernel: [26755.738826] FS: 00007f1ba27635c0(0000) GS:ffff8b4feec80000(0000) knlGS:0000000000000000
Oct 24 09:48:50 mbpr13b kernel: [26755.745905] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 24 09:48:50 mbpr13b kernel: [26755.752664] CR2: 00007f94c4c13000 CR3: 00000004515ba000 CR4: 00000000003406e0
Oct 24 09:48:50 mbpr13b kernel: [26755.759411] Call Trace:
Oct 24 09:48:50 mbpr13b kernel: [26755.766190] ? security_sk_alloc+0x73/0x90
Oct 24 09:48:50 mbpr13b kernel: [26755.772837] security_sk_alloc+0x73/0x90
Oct 24 09:48:50 mbpr13b kernel: [26755.779579] sk_prot_alloc+0x58/0x130
Oct 24 09:48:50 mbpr13b kernel: [26755.786198] sk_alloc+0x31/0x230
Oct 24 09:48:50 mbpr13b kernel: [26755.792780] unix_create1+0x67/0x1e0
Oct 24 09:48:50 mbpr13b kernel: [26755.799460] unix_create+0x5e/0x80
Oct 24 09:48:50 mbpr13b kernel: [26755.806015] __sock_create+0xe3/0x200
Oct 24 09:48:50 mbpr13b kernel: [26755.812657] SyS_socket+0x55/0xb0
Oct 24 09:48:50 mbpr13b kernel: [26755.819175] do_syscall_64+0x5b/0xc0
Oct 24 09:48:50 mbpr13b kernel: [26755.825651] entry_SYSCALL64_slow_path+0x25/0x25
Oct 24 09:48:50 mbpr13b kernel: [26755.832222] RIP: 0033:0x7f1ba207beb7
Oct 24 09:48:50 mbpr13b kernel: [26755.838710] RSP: 002b:00007ffc53006848 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
Oct 24 09:48:50 mbpr13b kernel: [26755.845303] RAX: ffffffffffffffda RBX: 00007f1ba1ca8ac5 RCX: 00007f1ba207beb7
Oct 24 09:48:50 mbpr13b kernel: [26755.851802] RDX: 0000000000000000 RSI: 0000000000080002 RDI: 0000000000000001
Oct 24 09:48:50 mbpr13b kernel: [26755.858301] RBP: 00007ffc53006980 R08: 0000000000000000 R09: 00007ffc53008f56
Oct 24 09:48:50 mbpr13b kernel: [26755.864922] R10: 00007ffc53006930 R11: 0000000000000246 R12: 0000000000000000
Oct 24 09:48:50 mbpr13b kernel: [26755.871444] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
Oct 24 09:48:50 mbpr13b kernel: [26755.878042] Code: 08 65 4c 03 05 77 09 5e 5e 49 83 78 10 00 4d 8b 20 0f 84 f7 00 00 00 4d 85 e4 0f 84 ee 00 00 00 49 63 41 20 49 8b 39 48 8d 4a 01 <49> 8b 1c 04 4c 89 e0 65 48 0f c7 0f 0f 94 c0 84 c0 74 bb 49 63
Oct 24 09:48:50 mbpr13b kernel: [26755.884886] RIP: __kmalloc+0x9b/0x200 RSP: ffffa05082083da0
Oct 24 09:48:50 mbpr13b kernel: [26755.891736] ---[ end trace 62aa2e2f97114c9b ]---

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: linux-image-4.13.0-16-generic 4.13.0-16.19 [modified: boot/vmlinuz-4.13.0-16-generic]
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: gdm 1092 F.... pulseaudio
                      wolf 1882 F.... pulseaudio
 /dev/snd/controlC0: gdm 1092 F.... pulseaudio
                      wolf 1882 F.... pulseaudio
Date: Tue Oct 24 09:55:57 2017
HibernationDevice: RESUME=UUID=e0d91223-651f-43b1-bb25-12794e7155d4
InstallationDate: Installed on 2017-10-20 (3 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
MachineType: Apple Inc. MacBookPro12,1
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-16-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.13.0-16-generic N/A
 linux-backports-modules-4.13.0-16-generic N/A
 linux-firmware 1.169
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/08/2017
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP121.88Z.0171.B00.1708080033
dmi.board.name: Mac-E43C1C25D4880AD6
dmi.board.vendor: Apple Inc.
dmi.board.version: MacBookPro12,1
dmi.chassis.type: 9
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-E43C1C25D4880AD6
dmi.modalias: dmi:bvnAppleInc.:bvrMBP121.88Z.0171.B00.1708080033:bd08/08/2017:svnAppleInc.:pnMacBookPro12,1:pvr1.0:rvnAppleInc.:rnMac-E43C1C25D4880AD6:rvrMacBookPro12,1:cvnAppleInc.:ct9:cvrMac-E43C1C25D4880AD6:
dmi.product.family: MacBook Pro
dmi.product.name: MacBookPro12,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Revision history for this message
Wolf Rogner (war-rsb) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.14 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.14-rc6

tags: added: kernel-da-key
Changed in linux (Ubuntu):
importance: Undecided → High
status: Confirmed → Incomplete
Revision history for this message
Wolf Rogner (war-rsb) wrote :

I had this on the kernels from Ubuntu 17.10 Beta onward. After a fresh install the issue still persisted.

As this is my production machine (and I lost enough time with the beta on it) I have to plan a slot for testing the upstream kernel.

However, I would not be too optimistic about this. This is not the only issue with this kernel.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Wolf Rogner (war-rsb) wrote :

The issue is still pending for several kernel updates.

Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Wolf Rogner (war-rsb) wrote :
Download full text (64.2 KiB)

Kernel 4.13.0.31.33 still has this issue.

Machine simply panics and freezes.

syslog:

...
Jan 23 16:40:49 mbpr13b kernel: [12217.671240] usb 2-2: new SuperSpeed USB device number 5 using xhci_hcd
Jan 23 16:40:49 mbpr13b kernel: [12217.692311] usb 2-2: New USB device found, idVendor=0bc2, idProduct=231a
Jan 23 16:40:49 mbpr13b kernel: [12217.692315] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 23 16:40:49 mbpr13b kernel: [12217.692317] usb 2-2: Product: Expansion
Jan 23 16:40:49 mbpr13b kernel: [12217.692319] usb 2-2: Manufacturer: Seagate
Jan 23 16:40:49 mbpr13b kernel: [12217.692321] usb 2-2: SerialNumber: NA8658H8
Jan 23 16:40:49 mbpr13b kernel: [12217.694135] scsi host1: uas
Jan 23 16:40:49 mbpr13b kernel: [12217.694460] scsi 1:0:0:0: tag#0 data cmplt err -75 uas-tag 1 inflight: CMD
Jan 23 16:40:49 mbpr13b kernel: [12217.694463] scsi 1:0:0:0: tag#0 CDB: Inquiry 12 00 00 00 24 00
Jan 23 16:40:49 mbpr13b kernel: [12217.694470] usb 2-2: stat urb: no pending cmd for uas-tag 0
Jan 23 16:40:50 mbpr13b kernel: [12217.695541] BUG: unable to handle kernel paging request at 0000000001000003
Jan 23 16:40:50 mbpr13b kernel: [12217.695604] IP: __kmalloc+0x9b/0x200
Jan 23 16:40:50 mbpr13b kernel: [12217.695629] PGD 0
Jan 23 16:40:50 mbpr13b kernel: [12217.695630] P4D 0
Jan 23 16:40:50 mbpr13b kernel: [12217.695646]
Jan 23 16:40:50 mbpr13b kernel: [12217.695674] Oops: 0000 [#1] SMP PTI
Jan 23 16:40:50 mbpr13b kernel: [12217.695698] Modules linked in: pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfcomm hid_magicmouse hidp cmac bnep nls_iso8859_1 joydev bcm5974 btusb btrtl btbcm btintel input_leds bluetooth ecdh_generic applesmc snd_hda_codec_cirrus snd_hda_codec_hdmi snd_hda_codec_generic input_polldev snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_pcm snd_seq_midi snd_seq_midi_event kvm snd_rawmidi snd_seq snd_seq_device irqbypass snd_timer intel_cstate intel_rapl_perf snd brcmfmac intel_pch_thermal lpc_ich brcmutil soundcore thunderbolt cfg80211 bdc_pci mei_me dw_dmac_pci mei dw_dmac_core shpchp spi_pxa2xx_pci sbs acpi_als sbshc kfifo_buf industrialio spi_pxa2xx_platform mac_hid apple_bl parport_pc ppdev lp parport ip_tables
Jan 23 16:40:50 mbpr13b kernel: [12217.696152] x_tables autofs4 algif_skcipher af_alg dm_crypt hid_apple hid_generic usbhid hid uas usb_storage crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc i915 aesni_intel i2c_algo_bit aes_x86_64 crypto_simd drm_kms_helper glue_helper cryptd syscopyarea sysfillrect sysimgblt fb_sys_fops ahci drm libahci video
Jan 23 16:40:50 mbpr13b kernel: [12217.696339] CPU: 0 PID: 403 Comm: systemd-journal Tainted: G OE 4.13.0-31-generic #34-Ubuntu
Jan 23 16:40:50 mbpr13b kernel: [12217.696396] Hardware name: Apple Inc. MacBookPro12,1/Mac-E43C1C25D4880AD6, BIOS MBP121.88Z.0171.B00.1708080033 08/08/2017
Jan 23 16:40:50 mbpr13b kernel: [12217.696461] task: ffff8f3d10d7c5c0 task.stack: ffffa44f81f24000
Jan 23 16:40:50 mbpr13b kernel: [12217.696501] RIP: 0010:__kmalloc+0x9b/0x200
Jan 23 16:40:50 mbpr13b kernel: [12217.696529] RSP: 0018:ffffa44f81f27c18 EFLAGS: 00010206
Ja...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.