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/1992325

Title:
  UBSAN: array-index-out-of-bounds power_supply_sysfs.c:438:32 removing
  Logitech Unifying Receiver

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  The kernel generated the following log removing my Logitech Unifying
  Receiver:

  
  2596.137534] logitech-djreceiver 0003:046D:C52B.000F: hiddev0,hidraw1: USB 
HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-2/input2
  [ 2596.265089] input: Logitech K400 as 
/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:046D:C52B.000F/0003:046D:4024.0010/input/input40
  [ 2596.265473] logitech-hidpp-device 0003:046D:4024.0010: input,hidraw2: USB 
HID v1.11 Keyboard [Logitech K400] on usb-0000:00:14.0-2/input2:1
  [ 2596.271063] input: Logitech MX Master 3 as 
/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.2/0003:046D:C52B.000F/0003:046D:4082.0011/input/input41
  [ 2596.271562] logitech-hidpp-device 0003:046D:4082.0011: input,hidraw3: USB 
HID v1.11 Keyboard [Logitech MX Master 3] on usb-0000:00:14.0-2/input2:2
  [ 2601.224871] logitech-hidpp-device 0003:046D:4082.0011: HID++ 4.5 device 
connected.
  [ 3040.007594] usb 1-2: USB disconnect, device number 12
  [ 3045.399518] usb 1-1.4: new full-speed USB device number 13 using xhci_hcd
  [ 3045.507065] usb 1-1.4: New USB device found, idVendor=046d, 
idProduct=c52b, bcdDevice=12.10
  [ 3045.507081] usb 1-1.4: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
  [ 3045.507089] usb 1-1.4: Product: USB Receiver
  [ 3045.507095] usb 1-1.4: Manufacturer: Logitech
  [ 3045.525578] logitech-djreceiver 0003:046D:C52B.0014: hiddev0,hidraw1: USB 
HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-1.4/input2
  [ 3045.680134] logitech-hidpp-device 0003:046D:4082.0015: HID++ 4.5 device 
connected.
  [ 3045.708123] logitech-djreceiver 0003:046D:C52B.0014: device of type eQUAD 
step 4 DJ (0x04) connected on slot 1
  [ 3046.308387] input: Logitech MX Master 3 as 
/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4:1.2/0003:046D:C52B.0014/0003:046D:4082.0015/input/input42
  [ 3046.309145] logitech-hidpp-device 0003:046D:4082.0015: input,hidraw2: USB 
HID v1.11 Keyboard [Logitech MX Master 3] on usb-0000:00:14.0-1.4/input2:2
  [ 3046.317146] input: Logitech K400 as 
/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4:1.2/0003:046D:C52B.0014/0003:046D:4024.0016/input/input43
  [ 3046.318579] logitech-hidpp-device 0003:046D:4024.0016: input,hidraw3: USB 
HID v1.11 Keyboard [Logitech K400] on usb-0000:00:14.0-1.4/input2:1
  [ 3048.740507] usb 1-1.4: USB disconnect, device number 13
  [ 3049.336003] 
================================================================================
  [ 3049.336026] UBSAN: array-index-out-of-bounds in 
/build/linux-beT7O3/linux-5.19.0/drivers/power/supply/power_supply_sysfs.c:438:32
  [ 3049.336030] index 1030577366 is out of range for type 'power_supply_attr 
[76]'
  [ 3049.336034] CPU: 5 PID: 41235 Comm: kworker/5:0 Tainted: G     U     OE    
 5.19.0-19-generic #19-Ubuntu
  [ 3049.336039] Hardware name: Dell Inc. Inspiron 7590/0M01WJ, BIOS 1.11.0 
07/26/2021
  [ 3049.336042] Workqueue: usb_hub_wq hub_event
  [ 3049.336051] Call Trace:
  [ 3049.336054]  <TASK>
  [ 3049.336058]  show_stack+0x4e/0x61
  [ 3049.336065]  dump_stack_lvl+0x4a/0x6d
  [ 3049.336073]  dump_stack+0x10/0x18
  [ 3049.336077]  ubsan_epilogue+0x9/0x43
  [ 3049.336081]  __ubsan_handle_out_of_bounds.cold+0x42/0x47
  [ 3049.336087]  add_prop_uevent+0xc7/0xd0
  [ 3049.336094]  power_supply_uevent+0xd4/0x120
  [ 3049.336099]  dev_uevent+0x111/0x2f0
  [ 3049.336104]  kobject_uevent_env+0x29d/0x490
  [ 3049.336111]  kobject_uevent+0xb/0x20
  [ 3049.336114]  wakeup_sysfs_remove+0x26/0x40
  [ 3049.336120]  device_set_wakeup_capable+0x81/0xa0
  [ 3049.336125]  device_init_wakeup+0x68/0xb0
  [ 3049.336130]  power_supply_unregister+0xa5/0xd0
  [ 3049.336135]  devm_power_supply_release+0x11/0x20
  [ 3049.336139]  release_nodes+0x3a/0xd0
  [ 3049.336150]  devres_release_all+0x97/0xe0
  [ 3049.336159]  device_unbind_cleanup+0x12/0x80
  [ 3049.336163]  device_release_driver_internal+0x24f/0x2a0
  [ 3049.336171]  device_release_driver+0x12/0x20
  [ 3049.336174]  bus_remove_device+0xde/0x160
  [ 3049.336178]  device_del+0x192/0x3f0
  [ 3049.336191]  ? logi_dj_remove+0xcc/0x160 [hid_logitech_dj]
  [ 3049.336199]  hid_destroy_device+0x50/0x70 [hid]
  [ 3049.336212]  logi_dj_remove+0xc4/0x160 [hid_logitech_dj]
  [ 3049.336218]  hid_device_remove+0x45/0xc0 [hid]
  [ 3049.336230]  device_remove+0x40/0x80
  [ 3049.336234]  device_release_driver_internal+0x222/0x2a0
  [ 3049.336240]  device_release_driver+0x12/0x20
  [ 3049.336244]  bus_remove_device+0xde/0x160
  [ 3049.336248]  device_del+0x192/0x3f0
  [ 3049.336255]  hid_destroy_device+0x50/0x70 [hid]
  [ 3049.336266]  usbhid_disconnect+0x49/0x70 [usbhid]
  [ 3049.336274]  usb_unbind_interface+0x8e/0x280
  [ 3049.336288]  device_remove+0x65/0x80
  [ 3049.336291]  device_release_driver_internal+0x222/0x2a0
  [ 3049.336297]  device_release_driver+0x12/0x20
  [ 3049.336301]  bus_remove_device+0xde/0x160
  [ 3049.336306]  device_del+0x192/0x3f0
  [ 3049.336311]  ? kobject_put+0x67/0xa0
  [ 3049.336317]  usb_disable_device+0xd2/0x270
  [ 3049.336322]  usb_disconnect+0xe9/0x2e0
  [ 3049.336329]  hub_port_connect+0x81/0x9b0
  [ 3049.336337]  hub_port_connect_change+0xb8/0x390
  [ 3049.336344]  port_event+0x5ce/0x780
  [ 3049.336351]  hub_event+0x154/0x430
  [ 3049.336357]  process_one_work+0x222/0x400
  [ 3049.336364]  worker_thread+0x50/0x3e0
  [ 3049.336367]  ? rescuer_thread+0x3c0/0x3c0
  [ 3049.336371]  kthread+0xe6/0x110
  [ 3049.336375]  ? kthread_complete_and_exit+0x20/0x20
  [ 3049.336380]  ret_from_fork+0x1f/0x30
  [ 3049.336389]  </TASK>
  [ 3049.336391] 
================================================================================
  [ 3057.663442] usb 1-1.3.2: new full-speed USB device number 14 using xhci_hcd
  [ 3057.767111] usb 1-1.3.2: New USB device found, idVendor=046d, 
idProduct=c52b, bcdDevice=12.10
  [ 3057.767126] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
  [ 3057.767134] usb 1-1.3.2: Product: USB Receiver
  [ 3057.767140] usb 1-1.3.2: Manufacturer: Logitech
  [ 3057.785328] logitech-djreceiver 0003:046D:C52B.0019: hiddev0,hidraw1: USB 
HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-1.3.2/input2
  [ 3057.917007] input: Logitech K400 as 
/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.2/0003:046D:C52B.0019/0003:046D:4024.001A/input/input44
  [ 3057.918545] logitech-hidpp-device 0003:046D:4024.001A: input,hidraw2: USB 
HID v1.11 Keyboard [Logitech K400] on usb-0000:00:14.0-1.3.2/input2:1
  [ 3057.926617] input: Logitech MX Master 3 as 
/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.2/0003:046D:C52B.0019/0003:046D:4082.001B/input/input45
  [ 3057.927983] logitech-hidpp-device 0003:046D:4082.001B: input,hidraw3: USB 
HID v1.11 Keyboard [Logitech MX Master 3] on usb-0000:00:14.0-1.3.2/input2:2
  [ 3060.740137] logitech-hidpp-device 0003:046D:4082.001B: HID++ 4.5 device 
connected.
  [ 3063.586702] usb 1-1.3.2: USB disconnect, device number 14
  [ 3075.331328] usb 1-1.3.2: new full-speed USB device number 15 using xhci_hcd
  [ 3075.434795] usb 1-1.3.2: New USB device found, idVendor=046d, 
idProduct=c52b, bcdDevice=12.10
  [ 3075.434801] usb 1-1.3.2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
  [ 3075.434803] usb 1-1.3.2: Product: USB Receiver
  [ 3075.434805] usb 1-1.3.2: Manufacturer: Logitech
  [ 3075.450446] logitech-djreceiver 0003:046D:C52B.001E: hiddev0,hidraw1: USB 
HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-1.3.2/input2
  [ 3075.580348] input: Logitech K400 as 
/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.2/0003:046D:C52B.001E/0003:046D:4024.001F/input/input46
  [ 3075.581026] logitech-hidpp-device 0003:046D:4024.001F: input,hidraw2: USB 
HID v1.11 Keyboard [Logitech K400] on usb-0000:00:14.0-1.3.2/input2:1
  [ 3075.588376] input: Logitech MX Master 3 as 
/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.2/0003:046D:C52B.001E/0003:046D:4082.0020/input/input47
  [ 3075.588802] logitech-hidpp-device 0003:046D:4082.0020: input,hidraw3: USB 
HID v1.11 Keyboard [Logitech MX Master 3] on usb-0000:00:14.0-1.3.2/input2:2

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: linux-image-5.19.0-19-generic 5.19.0-19.19
  ProcVersionSignature: Ubuntu 5.19.0-19.19-generic 5.19.7
  Uname: Linux 5.19.0-19-generic x86_64
  ApportVersion: 2.23.1-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  comio      2993 F.... pipewire
                        comio      2997 F.... wireplumber
   /dev/snd/seq:        comio      2993 F.... pipewire
  CRDA: N/A
  CasperMD5CheckResult: unknown
  CurrentDesktop: GNOME
  Date: Mon Oct 10 09:54:19 2022
  InstallationDate: Installed on 2019-09-26 (1109 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Alpha amd64 (20190923)
  MachineType: Dell Inc. Inspiron 7590
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-19-generic 
root=UUID=46fadc5a-0f37-4647-b960-e10c2e4af52a ro quiet splash 
i915.enable_guc=2 i915.enable_fbc=1 i915.fastboot=1 nvidia-drm.modeset=1 
vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-5.19.0-19-generic N/A
   linux-backports-modules-5.19.0-19-generic  N/A
   linux-firmware                             20220923.gitf09bebf3-0ubuntu1
  SourcePackage: linux
  UpgradeStatus: Upgraded to kinetic on 2022-10-01 (8 days ago)
  dmi.bios.date: 07/26/2021
  dmi.bios.release: 1.11
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.0
  dmi.board.name: 0M01WJ
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.0:bd07/26/2021:br1.11:svnDellInc.:pnInspiron7590:pvr:rvnDellInc.:rn0M01WJ:rvrA00:cvnDellInc.:ct10:cvr:sku0922:
  dmi.product.family: Inspiron
  dmi.product.name: Inspiron 7590
  dmi.product.sku: 0922
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1992325/+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