This change was made by a bot.

** Changed in: linux (Ubuntu)
       Status: New => Confirmed

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

Title:
  sysfs: cannot create duplicate filename
  '/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256'

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  [Impact]

  bluetooth can not be used. 
  Steps to reproduce:

  - Connect bluetooth headset
  - Wait a few minutes, switch profile

  Result:

  - The bluetooth device is disconnected and the following traces are
  printed in dmesg

  [  104.514539] Bluetooth: hci0 SCO packet for unknown connection handle 0
  [  104.514544] Bluetooth: hci0 SCO packet for unknown connection handle 0
  [  104.524525] Bluetooth: hci0 SCO packet for unknown connection handle 0
  [  104.524530] Bluetooth: hci0 SCO packet for unknown connection handle 0
  [  104.524531] Bluetooth: hci0 SCO packet for unknown connection handle 0
  [  106.587815] Bluetooth: hci0 SCO packet for unknown connection handle 258
  [  133.101575] sysfs: cannot create duplicate filename 
'/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256'
  [  133.101593] ------------[ cut here ]------------
  [  133.101603] WARNING: CPU: 1 PID: 382 at 
/build/linux-XO_uEE/linux-4.13.0/fs/sysfs/dir.c:31 sysfs_warn_dup+0x56/0x70
  [  133.101605] Modules linked in: cmac rfcomm ccm xt_CHECKSUM iptable_mangle 
ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c ipt_REJECT 
nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter 
ip6_tables iptable_filter bnep arc4 nls_iso8859_1 snd_hda_codec_hdmi hid_alps 
iwlmvm mac80211 snd_soc_skl snd_hda_codec_realtek snd_soc_skl_ipc 
snd_hda_codec_generic snd_soc_sst_ipc iwlwifi snd_soc_sst_dsp snd_hda_ext_core 
snd_soc_sst_match cfg80211 snd_soc_core rtsx_pci_ms snd_compress memstick 
ac97_bus snd_pcm_dmaengine dell_rbtn dell_laptop dell_smm_hwmon intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel
  [  133.101672]  aes_x86_64 crypto_simd glue_helper cryptd intel_cstate 
intel_rapl_perf serio_raw dell_wmi dell_smbios wmi_bmof dcdbas snd_hda_intel 
snd_usb_audio snd_hda_codec snd_hda_core snd_usbmidi_lib snd_hwdep snd_pcm 
joydev shpchp snd_seq_midi idma64 snd_seq_midi_event virt_dma snd_rawmidi 
snd_seq cdc_mbim cdc_wdm qcserial mei_me mei cdc_ncm usb_wwan usbnet 
snd_seq_device usbserial mii snd_timer intel_lpss_pci snd uvcvideo 
videobuf2_vmalloc videobuf2_memops soundcore videobuf2_v4l2 videobuf2_core 
input_leds videodev media btusb processor_thermal_device btrtl 
intel_pch_thermal intel_soc_dts_iosf hci_uart btbcm serdev btqca btintel 
bluetooth ecdh_generic intel_lpss_acpi intel_lpss int3403_thermal 
int340x_thermal_zone intel_hid int3400_thermal tpm_crb sparse_keymap 
acpi_thermal_rel acpi_als acpi_pad
  [  133.101743]  kfifo_buf mac_hid industrialio parport_pc ppdev lp parport 
ip_tables x_tables autofs4 hid_generic uas usb_storage usbhid i915 i2c_algo_bit 
drm_kms_helper rtsx_pci_sdmmc e1000e syscopyarea sysfillrect sysimgblt 
fb_sys_fops ptp nvme pps_core nvme_core drm rtsx_pci wmi i2c_hid hid video 
pinctrl_sunrisepoint pinctrl_intel
  [  133.101783] CPU: 1 PID: 382 Comm: kworker/u9:1 Not tainted 
4.13.0-16-generic #19-Ubuntu
  [  133.101785] Hardware name: Dell Inc. Latitude 7380/0KK5D1, BIOS 1.6.4 
08/29/2017
  [  133.101815] Workqueue: hci0 hci_rx_work [bluetooth]
  [  133.101818] task: ffff990d11050000 task.stack: ffffba328203c000
  [  133.101824] RIP: 0010:sysfs_warn_dup+0x56/0x70
  [  133.101827] RSP: 0018:ffffba328203fb80 EFLAGS: 00010282
  [  133.101829] RAX: 0000000000000073 RBX: ffff990d0dbc8000 RCX: 
0000000000000000
  [  133.101831] RDX: 0000000000000000 RSI: ffff990d2e48dc78 RDI: 
ffff990d2e48dc78
  [  133.101833] RBP: ffffba328203fb98 R08: 0000000000000001 R09: 
00000000000003ef
  [  133.101834] R10: 0000000000000001 R11: 0000000000000000 R12: 
ffff990cbafc8060
  [  133.101836] R13: ffff990d19e8bbb8 R14: ffff990cbad4aa88 R15: 
ffff990c944c2c50
  [  133.101839] FS:  0000000000000000(0000) GS:ffff990d2e480000(0000) 
knlGS:0000000000000000
  [  133.101841] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [  133.101843] CR2: 00007f536eb7000c CR3: 00000002ec209000 CR4: 
00000000003406e0
  [  133.101845] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
  [  133.101846] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 
0000000000000400
  [  133.101848] Call Trace:
  [  133.101855]  sysfs_create_dir_ns+0x77/0x90
  [  133.101861]  kobject_add_internal+0xac/0x2b0
  [  133.101864]  kobject_add+0x71/0xd0
  [  133.101871]  ? kfree_const+0x20/0x30
  [  133.101878]  device_add+0x12c/0x680
  [  133.101907]  hci_conn_add_sysfs+0x49/0xc0 [bluetooth]
  [  133.101932]  hci_conn_complete_evt.isra.46+0xc6/0x3f0 [bluetooth]
  [  133.101954]  hci_event_packet+0x1ac5/0x2a80 [bluetooth]
  [  133.101960]  ? pick_next_task_fair+0x131/0x560
  [  133.101980]  hci_rx_work+0x18d/0x380 [bluetooth]
  [  133.101998]  ? hci_rx_work+0x18d/0x380 [bluetooth]
  [  133.102004]  ? __schedule+0x293/0x890
  [  133.102009]  process_one_work+0x1e7/0x410
  [  133.102014]  worker_thread+0x4a/0x410
  [  133.102018]  kthread+0x125/0x140
  [  133.102021]  ? process_one_work+0x410/0x410
  [  133.102024]  ? kthread_create_on_node+0x70/0x70
  [  133.102029]  ? SyS_exit_group+0x14/0x20
  [  133.102033]  ret_from_fork+0x25/0x30
  [  133.102036] Code: 85 c0 48 89 c3 74 12 b9 00 10 00 00 48 89 c2 31 f6 4c 89 
ef e8 0c c8 ff ff 4c 89 e2 48 89 de 48 c7 c7 d0 9f 4c a2 e8 cb 78 e0 ff <0f> ff 
48 89 df e8 60 bd f4 ff 5b 41 5c 41 5d 5d c3 66 0f 1f 84
  [  133.102096] ---[ end trace d5c961a6d13a3b41 ]---
  [  133.102100] kobject_add_internal failed for hci0:256 with -EEXIST, don't 
try to register things with the same name in the same directory.
  [  133.102117] ------------[ cut here ]------------
  [  133.102122] WARNING: CPU: 1 PID: 382 at 
/build/linux-XO_uEE/linux-4.13.0/lib/kobject.c:240 
kobject_add_internal+0x26b/0x2b0
  [  133.102123] Modules linked in: cmac rfcomm ccm xt_CHECKSUM iptable_mangle 
ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c ipt_REJECT 
nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter 
ip6_tables iptable_filter bnep arc4 nls_iso8859_1 snd_hda_codec_hdmi hid_alps 
iwlmvm mac80211 snd_soc_skl snd_hda_codec_realtek snd_soc_skl_ipc 
snd_hda_codec_generic snd_soc_sst_ipc iwlwifi snd_soc_sst_dsp snd_hda_ext_core 
snd_soc_sst_match cfg80211 snd_soc_core rtsx_pci_ms snd_compress memstick 
ac97_bus snd_pcm_dmaengine dell_rbtn dell_laptop dell_smm_hwmon intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel
  [  133.102178]  aes_x86_64 crypto_simd glue_helper cryptd intel_cstate 
intel_rapl_perf serio_raw dell_wmi dell_smbios wmi_bmof dcdbas snd_hda_intel 
snd_usb_audio snd_hda_codec snd_hda_core snd_usbmidi_lib snd_hwdep snd_pcm 
joydev shpchp snd_seq_midi idma64 snd_seq_midi_event virt_dma snd_rawmidi 
snd_seq cdc_mbim cdc_wdm qcserial mei_me mei cdc_ncm usb_wwan usbnet 
snd_seq_device usbserial mii snd_timer intel_lpss_pci snd uvcvideo 
videobuf2_vmalloc videobuf2_memops soundcore videobuf2_v4l2 videobuf2_core 
input_leds videodev media btusb processor_thermal_device btrtl 
intel_pch_thermal intel_soc_dts_iosf hci_uart btbcm serdev btqca btintel 
bluetooth ecdh_generic intel_lpss_acpi intel_lpss int3403_thermal 
int340x_thermal_zone intel_hid int3400_thermal tpm_crb sparse_keymap 
acpi_thermal_rel acpi_als acpi_pad
  [  133.102239]  kfifo_buf mac_hid industrialio parport_pc ppdev lp parport 
ip_tables x_tables autofs4 hid_generic uas usb_storage usbhid i915 i2c_algo_bit 
drm_kms_helper rtsx_pci_sdmmc e1000e syscopyarea sysfillrect sysimgblt 
fb_sys_fops ptp nvme pps_core nvme_core drm rtsx_pci wmi i2c_hid hid video 
pinctrl_sunrisepoint pinctrl_intel
  [  133.102272] CPU: 1 PID: 382 Comm: kworker/u9:1 Tainted: G        W       
4.13.0-16-generic #19-Ubuntu
  [  133.102273] Hardware name: Dell Inc. Latitude 7380/0KK5D1, BIOS 1.6.4 
08/29/2017
  [  133.102294] Workqueue: hci0 hci_rx_work [bluetooth]
  [  133.102296] task: ffff990d11050000 task.stack: ffffba328203c000
  [  133.102299] RIP: 0010:kobject_add_internal+0x26b/0x2b0
  [  133.102301] RSP: 0018:ffffba328203fbd0 EFLAGS: 00010286
  [  133.102304] RAX: 000000000000007d RBX: ffff990cbad4aa98 RCX: 
0000000000000006
  [  133.102306] RDX: 0000000000000000 RSI: 0000000000000086 RDI: 
ffff990d2e48dc70
  [  133.102307] RBP: ffffba328203fc00 R08: 0000000000000001 R09: 
000000000000041b
  [  133.102309] R10: ffffdb0f1036f200 R11: 0000000000000000 R12: 
ffff990c944c2c50
  [  133.102310] R13: 00000000ffffffef R14: ffff990cbad4aa88 R15: 
ffff990c944c2c50
  [  133.102313] FS:  0000000000000000(0000) GS:ffff990d2e480000(0000) 
knlGS:0000000000000000
  [  133.102315] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [  133.102316] CR2: 00007f536eb7000c CR3: 00000002ec209000 CR4: 
00000000003406e0
  [  133.102318] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
  [  133.102320] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 
0000000000000400
  [  133.102321] Call Trace:
  [  133.102324]  kobject_add+0x71/0xd0
  [  133.102330]  ? kfree_const+0x20/0x30
  [  133.102335]  device_add+0x12c/0x680
  [  133.102361]  hci_conn_add_sysfs+0x49/0xc0 [bluetooth]
  [  133.102383]  hci_conn_complete_evt.isra.46+0xc6/0x3f0 [bluetooth]
  [  133.102403]  hci_event_packet+0x1ac5/0x2a80 [bluetooth]
  [  133.102407]  ? pick_next_task_fair+0x131/0x560
  [  133.102426]  hci_rx_work+0x18d/0x380 [bluetooth]
  [  133.102444]  ? hci_rx_work+0x18d/0x380 [bluetooth]
  [  133.102448]  ? __schedule+0x293/0x890
  [  133.102453]  process_one_work+0x1e7/0x410
  [  133.102457]  worker_thread+0x4a/0x410
  [  133.102461]  kthread+0x125/0x140
  [  133.102465]  ? process_one_work+0x410/0x410
  [  133.102467]  ? kthread_create_on_node+0x70/0x70
  [  133.102472]  ? SyS_exit_group+0x14/0x20
  [  133.102475]  ret_from_fork+0x25/0x30
  [  133.102477] Code: 49 89 c4 48 85 ff 0f 84 44 fe ff ff 48 83 c7 18 e9 ff fd 
ff ff 48 8b 13 48 c7 c6 d0 57 30 a2 48 c7 c7 b8 65 56 a2 e8 66 5f 7f ff <0f> ff 
e9 92 fe ff ff 0f ff eb a5 0f ff eb 98 41 bd fe ff ff ff
  [  133.102536] ---[ end trace d5c961a6d13a3b42 ]---
  [  133.102539] Bluetooth: Failed to register connection device
  [  163.549799] BUG: unable to handle kernel NULL pointer dereference at 
0000000000000020
  [  163.549853] IP: klist_next+0x16/0xb0
  [  163.549871] PGD 0
  [  163.549872] P4D 0

  [  163.549903] Oops: 0000 [#1] SMP
  [  163.549920] Modules linked in: cmac rfcomm ccm xt_CHECKSUM iptable_mangle 
ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack libcrc32c ipt_REJECT 
nf_reject_ipv4 xt_tcpudp bridge stp llc ebtable_filter ebtables ip6table_filter 
ip6_tables iptable_filter bnep arc4 nls_iso8859_1 snd_hda_codec_hdmi hid_alps 
iwlmvm mac80211 snd_soc_skl snd_hda_codec_realtek snd_soc_skl_ipc 
snd_hda_codec_generic snd_soc_sst_ipc iwlwifi snd_soc_sst_dsp snd_hda_ext_core 
snd_soc_sst_match cfg80211 snd_soc_core rtsx_pci_ms snd_compress memstick 
ac97_bus snd_pcm_dmaengine dell_rbtn dell_laptop dell_smm_hwmon intel_rapl 
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel
  [  163.550256]  aes_x86_64 crypto_simd glue_helper cryptd intel_cstate 
intel_rapl_perf serio_raw dell_wmi dell_smbios wmi_bmof dcdbas snd_hda_intel 
snd_usb_audio snd_hda_codec snd_hda_core snd_usbmidi_lib snd_hwdep snd_pcm 
joydev shpchp snd_seq_midi idma64 snd_seq_midi_event virt_dma snd_rawmidi 
snd_seq cdc_mbim cdc_wdm qcserial mei_me mei cdc_ncm usb_wwan usbnet 
snd_seq_device usbserial mii snd_timer intel_lpss_pci snd uvcvideo 
videobuf2_vmalloc videobuf2_memops soundcore videobuf2_v4l2 videobuf2_core 
input_leds videodev media btusb processor_thermal_device btrtl 
intel_pch_thermal intel_soc_dts_iosf hci_uart btbcm serdev btqca btintel 
bluetooth ecdh_generic intel_lpss_acpi intel_lpss int3403_thermal 
int340x_thermal_zone intel_hid int3400_thermal tpm_crb sparse_keymap 
acpi_thermal_rel acpi_als acpi_pad
  [  163.550598]  kfifo_buf mac_hid industrialio parport_pc ppdev lp parport 
ip_tables x_tables autofs4 hid_generic uas usb_storage usbhid i915 i2c_algo_bit 
drm_kms_helper rtsx_pci_sdmmc e1000e syscopyarea sysfillrect sysimgblt 
fb_sys_fops ptp nvme pps_core nvme_core drm rtsx_pci wmi i2c_hid hid video 
pinctrl_sunrisepoint pinctrl_intel
  [  163.550743] CPU: 1 PID: 382 Comm: kworker/u9:1 Tainted: G        W       
4.13.0-16-generic #19-Ubuntu
  [  163.550783] Hardware name: Dell Inc. Latitude 7380/0KK5D1, BIOS 1.6.4 
08/29/2017
  [  163.550831] Workqueue: hci0 hci_rx_work [bluetooth]
  [  163.550855] task: ffff990d11050000 task.stack: ffffba328203c000
  [  163.550885] RIP: 0010:klist_next+0x16/0xb0
  [  163.550905] RSP: 0018:ffffba328203fc70 EFLAGS: 00010286
  [  163.550930] RAX: 0000000000000000 RBX: ffff990cbad4a800 RCX: 
0000000000000000
  [  163.550962] RDX: ffffffffc0670af0 RSI: ffffba328203fca0 RDI: 
0000000000000000
  [  163.550993] RBP: ffffba328203fc90 R08: 0000000000000000 R09: 
0000000000000000
  [  163.551026] R10: ffffba328203fc10 R11: 00000000000000ec R12: 
ffffba328203fca0
  [  163.551058] R13: ffffffffc0670af0 R14: 0000000000000000 R15: 
ffff990cbad4a800
  [  163.551093] FS:  0000000000000000(0000) GS:ffff990d2e480000(0000) 
knlGS:0000000000000000
  [  163.551129] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [  163.551155] CR2: 0000000000000020 CR3: 00000002ec209000 CR4: 
00000000003406e0
  [  163.551187] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
  [  163.551219] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 
0000000000000400
  [  163.551250] Call Trace:
  [  163.551279]  ? bt_link_release+0x20/0x20 [bluetooth]
  [  163.551305]  device_find_child+0x5a/0xb0
  [  163.551336]  ? bt_link_release+0x20/0x20 [bluetooth]
  [  163.551370]  hci_conn_del_sysfs+0x54/0xa0 [bluetooth]
  [  163.551404]  hci_conn_cleanup+0x8f/0x140 [bluetooth]
  [  163.551436]  hci_conn_del+0xf1/0x1f0 [bluetooth]
  [  163.551468]  hci_event_packet+0xddb/0x2a80 [bluetooth]
  [  163.551495]  ? pick_next_task_fair+0x131/0x560
  [  163.551525]  hci_rx_work+0x18d/0x380 [bluetooth]
  [  163.551555]  ? hci_rx_work+0x18d/0x380 [bluetooth]
  [  163.551579]  ? __schedule+0x293/0x890
  [  163.551599]  process_one_work+0x1e7/0x410
  [  163.551620]  worker_thread+0x4a/0x410
  [  163.551639]  kthread+0x125/0x140
  [  163.551656]  ? process_one_work+0x410/0x410
  [  163.551677]  ? kthread_create_on_node+0x70/0x70
  [  163.551701]  ? SyS_exit_group+0x14/0x20
  [  163.551720]  ret_from_fork+0x25/0x30
  [  163.551738] Code: 10 48 8d 58 f8 48 39 fb 74 bd f6 40 f8 01 74 aa eb eb 0f 
1f 00 55 48 89 e5 41 56 41 55 41 54 49 89 fc 53 48 8b 3f 4d 8b 74 24 08 <4c> 8b 
6f 20 e8 61 db 01 00 4d 85 f6 74 64 49 8b 46 08 4c 89 f7
  [  163.551853] RIP: klist_next+0x16/0xb0 RSP: ffffba328203fc70
  [  163.551894] CR2: 0000000000000020
  [  163.559416] ---[ end trace d5c961a6d13a3b43 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: linux-image-4.13.0-16-generic 4.13.0-16.19
  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:  freyes     2048 F.... pulseaudio
   /dev/snd/controlC0:  freyes     2048 F.... pulseaudio
  CurrentDesktop: GNOME
  Date: Tue Oct 17 09:24:28 2017
  HibernationDevice: RESUME=UUID=d5db4f66-9377-4971-8a72-5dc4637b03d0
  InstallationDate: Installed on 2017-10-04 (13 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
  MachineType: Dell Inc. Latitude 7380
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-16-generic.efi.signed 
root=UUID=956ddb79-1736-4218-abd9-4f77fc732712 ro quiet splash vt.handoff=7
  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/29/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.6.4
  dmi.board.name: 0KK5D1
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.6.4:bd08/29/2017:svnDellInc.:pnLatitude7380:pvr:rvnDellInc.:rn0KK5D1:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Latitude
  dmi.product.name: Latitude 7380
  dmi.sys.vendor: Dell Inc.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to