[Kernel-packages] [Bug 2035278] Re: UBSAN: array-index-out-of-bounds in /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

2023-09-13 Thread Gannet
-- 
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/2035278

Title:
  UBSAN: array-index-out-of-bounds in
  /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

Status in linux package in Ubuntu:
  Invalid

Bug description:
  Since Linux 6.5.x:

  [   10.275589] 

  [   10.275594] fbcon: Taking over console
  [   10.275598] UBSAN: array-index-out-of-bounds in 
/home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios.c:2620:43
  [   10.275603] index 1 is out of range for type 'UCHAR [1]'
  [   10.275607] CPU: 3 PID: 320 Comm: systemd-udevd Not tainted 
6.5.1-060501-generic #202309020842
  [   10.275609] Hardware name: System manufacturer System Product Name/P5Q3, 
BIOS 110206/11/2010
  [   10.275611] Call Trace:
  [   10.275614]  
  [   10.275616]  dump_stack_lvl+0x48/0x70
  [   10.275622]  dump_stack+0x10/0x20
  [   10.275625]  __ubsan_handle_out_of_bounds+0xc6/0x110
  [   10.275629]  radeon_atombios_parse_power_table_4_5+0x3c9/0x3f0 [radeon]
  [   10.275737]  radeon_atombios_get_power_modes+0x205/0x210 [radeon]
  [   10.275816]  radeon_pm_init_dpm+0x8e/0x2f0 [radeon]
  [   10.275914]  radeon_pm_init+0xd0/0x100 [radeon]
  [   10.276013]  rv770_init+0x1fa/0x3d0 [radeon]
  [   10.276110]  radeon_device_init+0x540/0xa90 [radeon]
  [   10.276187]  radeon_driver_load_kms+0xcc/0x2f0 [radeon]
  [   10.276265]  drm_dev_register+0x10e/0x240 [drm]
  [   10.276347]  radeon_pci_probe+0xec/0x180 [radeon]
  [   10.276423]  local_pci_probe+0x47/0xb0
  [   10.276427]  pci_call_probe+0x55/0x190
  [   10.276429]  pci_device_probe+0x84/0x120
  [   10.276432]  really_probe+0x1c7/0x410
  [   10.276435]  __driver_probe_device+0x8c/0x180
  [   10.276437]  driver_probe_device+0x24/0xd0
  [   10.276440]  __driver_attach+0x10b/0x210
  [   10.276442]  ? __pfx___driver_attach+0x10/0x10
  [   10.276444]  bus_for_each_dev+0x8d/0xf0
  [   10.276448]  driver_attach+0x1e/0x30
  [   10.276450]  bus_add_driver+0x127/0x240
  [   10.276453]  driver_register+0x5e/0x130
  [   10.276456]  ? __pfx_radeon_module_init+0x10/0x10 [radeon]
  [   10.276531]  __pci_register_driver+0x62/0x70
  [   10.276535]  radeon_module_init+0x4c/0xff0 [radeon]
  [   10.276610]  do_one_initcall+0x5e/0x340
  [   10.276620]  do_init_module+0x68/0x260
  [   10.276624]  load_module+0xba1/0xcf0
  [   10.276627]  ? find_vmap_area+0x42/0x70
  [   10.276632]  __do_sys_init_module+0x1a7/0x1e0
  [   10.276635]  ? __do_sys_init_module+0x1a7/0x1e0
  [   10.276638]  __x64_sys_init_module+0x1a/0x30
  [   10.276641]  do_syscall_64+0x5c/0x90
  [   10.276644]  ? do_syscall_64+0x68/0x90
  [   10.276646]  ? exit_to_user_mode_prepare+0x30/0xb0
  [   10.276650]  ? irqentry_exit_to_user_mode+0x17/0x20
  [   10.276653]  ? irqentry_exit+0x43/0x50
  [   10.276655]  ? exc_page_fault+0x94/0x1b0
  [   10.276657]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
  [   10.276661] RIP: 0033:0x7f3969d1ed8e
  [   10.276682] Code: 48 8b 0d 8d 70 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 
0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 5a 70 0d 00 f7 d8 64 89 01 48
  [   10.276684] RSP: 002b:7ffee1310ae8 EFLAGS: 0246 ORIG_RAX: 
00af
  [   10.276688] RAX: ffda RBX: 5560681b9790 RCX: 
7f3969d1ed8e
  [   10.276689] RDX: 7f396a015458 RSI: 00441061 RDI: 
7f3967de0010
  [   10.276691] RBP: 7f396a015458 R08: 00261000 R09: 

  [   10.276692] R10: 00015221 R11: 0246 R12: 
0002
  [   10.276694] R13: 5560681bcff0 R14:  R15: 
5560681be500
  [   10.276696]  
  [   10.276716] 

  [   10.277624] [drm] radeon: dpm initialized
  [   10.279186] [drm] GART: num cpu pages 262144, num gpu pages 262144
  [   10.280149] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
  [   10.293073] [drm] PCIE GART of 1024M enabled (table at 0x0014C000).
  [   10.293688] radeon :01:00.0: WB enabled
  [   10.293693] radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00
  [   10.293695] radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c
  [   10.293951] radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005c598
  [   10.294075] radeon :01:00.0: radeon: MSI limited to 32-bit
  [   10.294142] radeon :01:00.0: radeon: using MSI.
  [   10.294170] [drm] radeon: irq initialized.
  [   10.340209] [drm] ring test on 0 succeeded in 1 usecs
  [   10.340218] [drm] ring test on 3 succeeded in 2 usecs
  [   10.524802] [drm] ring test on 5 succeeded in 1 usecs
  [   10.524808] [drm] UVD initialized successfully.
  [   10.525029] snd_hda_intel :01:00.1: bound :01:00.0 (ops 

[Kernel-packages] [Bug 2035278] Re: UBSAN: array-index-out-of-bounds in /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

2023-09-13 Thread Juerg Haefliger
Mainline kernels are unsupported.

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

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

Title:
  UBSAN: array-index-out-of-bounds in
  /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

Status in linux package in Ubuntu:
  Invalid

Bug description:
  Since Linux 6.5.x:

  [   10.275589] 

  [   10.275594] fbcon: Taking over console
  [   10.275598] UBSAN: array-index-out-of-bounds in 
/home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios.c:2620:43
  [   10.275603] index 1 is out of range for type 'UCHAR [1]'
  [   10.275607] CPU: 3 PID: 320 Comm: systemd-udevd Not tainted 
6.5.1-060501-generic #202309020842
  [   10.275609] Hardware name: System manufacturer System Product Name/P5Q3, 
BIOS 110206/11/2010
  [   10.275611] Call Trace:
  [   10.275614]  
  [   10.275616]  dump_stack_lvl+0x48/0x70
  [   10.275622]  dump_stack+0x10/0x20
  [   10.275625]  __ubsan_handle_out_of_bounds+0xc6/0x110
  [   10.275629]  radeon_atombios_parse_power_table_4_5+0x3c9/0x3f0 [radeon]
  [   10.275737]  radeon_atombios_get_power_modes+0x205/0x210 [radeon]
  [   10.275816]  radeon_pm_init_dpm+0x8e/0x2f0 [radeon]
  [   10.275914]  radeon_pm_init+0xd0/0x100 [radeon]
  [   10.276013]  rv770_init+0x1fa/0x3d0 [radeon]
  [   10.276110]  radeon_device_init+0x540/0xa90 [radeon]
  [   10.276187]  radeon_driver_load_kms+0xcc/0x2f0 [radeon]
  [   10.276265]  drm_dev_register+0x10e/0x240 [drm]
  [   10.276347]  radeon_pci_probe+0xec/0x180 [radeon]
  [   10.276423]  local_pci_probe+0x47/0xb0
  [   10.276427]  pci_call_probe+0x55/0x190
  [   10.276429]  pci_device_probe+0x84/0x120
  [   10.276432]  really_probe+0x1c7/0x410
  [   10.276435]  __driver_probe_device+0x8c/0x180
  [   10.276437]  driver_probe_device+0x24/0xd0
  [   10.276440]  __driver_attach+0x10b/0x210
  [   10.276442]  ? __pfx___driver_attach+0x10/0x10
  [   10.276444]  bus_for_each_dev+0x8d/0xf0
  [   10.276448]  driver_attach+0x1e/0x30
  [   10.276450]  bus_add_driver+0x127/0x240
  [   10.276453]  driver_register+0x5e/0x130
  [   10.276456]  ? __pfx_radeon_module_init+0x10/0x10 [radeon]
  [   10.276531]  __pci_register_driver+0x62/0x70
  [   10.276535]  radeon_module_init+0x4c/0xff0 [radeon]
  [   10.276610]  do_one_initcall+0x5e/0x340
  [   10.276620]  do_init_module+0x68/0x260
  [   10.276624]  load_module+0xba1/0xcf0
  [   10.276627]  ? find_vmap_area+0x42/0x70
  [   10.276632]  __do_sys_init_module+0x1a7/0x1e0
  [   10.276635]  ? __do_sys_init_module+0x1a7/0x1e0
  [   10.276638]  __x64_sys_init_module+0x1a/0x30
  [   10.276641]  do_syscall_64+0x5c/0x90
  [   10.276644]  ? do_syscall_64+0x68/0x90
  [   10.276646]  ? exit_to_user_mode_prepare+0x30/0xb0
  [   10.276650]  ? irqentry_exit_to_user_mode+0x17/0x20
  [   10.276653]  ? irqentry_exit+0x43/0x50
  [   10.276655]  ? exc_page_fault+0x94/0x1b0
  [   10.276657]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
  [   10.276661] RIP: 0033:0x7f3969d1ed8e
  [   10.276682] Code: 48 8b 0d 8d 70 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 
0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 5a 70 0d 00 f7 d8 64 89 01 48
  [   10.276684] RSP: 002b:7ffee1310ae8 EFLAGS: 0246 ORIG_RAX: 
00af
  [   10.276688] RAX: ffda RBX: 5560681b9790 RCX: 
7f3969d1ed8e
  [   10.276689] RDX: 7f396a015458 RSI: 00441061 RDI: 
7f3967de0010
  [   10.276691] RBP: 7f396a015458 R08: 00261000 R09: 

  [   10.276692] R10: 00015221 R11: 0246 R12: 
0002
  [   10.276694] R13: 5560681bcff0 R14:  R15: 
5560681be500
  [   10.276696]  
  [   10.276716] 

  [   10.277624] [drm] radeon: dpm initialized
  [   10.279186] [drm] GART: num cpu pages 262144, num gpu pages 262144
  [   10.280149] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
  [   10.293073] [drm] PCIE GART of 1024M enabled (table at 0x0014C000).
  [   10.293688] radeon :01:00.0: WB enabled
  [   10.293693] radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00
  [   10.293695] radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c
  [   10.293951] radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005c598
  [   10.294075] radeon :01:00.0: radeon: MSI limited to 32-bit
  [   10.294142] radeon :01:00.0: radeon: using MSI.
  [   10.294170] [drm] radeon: irq initialized.
  [   10.340209] [drm] ring test on 0 succeeded in 1 usecs
  [   10.340218] [drm] ring test on 3 succeeded in 2 usecs
  [   10.524802] [drm] ring test on 5 succeeded in 1 usecs
  [   10.524808] 

[Kernel-packages] [Bug 2035278] Re: UBSAN: array-index-out-of-bounds in /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

2023-09-12 Thread Gannet
$ uname -a
Linux p5q3 6.5.1-060501-generic #202309020842 SMP PREEMPT_DYNAMIC Sat Sep  2 
08:48:34 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

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

Title:
  UBSAN: array-index-out-of-bounds in
  /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since Linux 6.5.x:

  [   10.275589] 

  [   10.275594] fbcon: Taking over console
  [   10.275598] UBSAN: array-index-out-of-bounds in 
/home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios.c:2620:43
  [   10.275603] index 1 is out of range for type 'UCHAR [1]'
  [   10.275607] CPU: 3 PID: 320 Comm: systemd-udevd Not tainted 
6.5.1-060501-generic #202309020842
  [   10.275609] Hardware name: System manufacturer System Product Name/P5Q3, 
BIOS 110206/11/2010
  [   10.275611] Call Trace:
  [   10.275614]  
  [   10.275616]  dump_stack_lvl+0x48/0x70
  [   10.275622]  dump_stack+0x10/0x20
  [   10.275625]  __ubsan_handle_out_of_bounds+0xc6/0x110
  [   10.275629]  radeon_atombios_parse_power_table_4_5+0x3c9/0x3f0 [radeon]
  [   10.275737]  radeon_atombios_get_power_modes+0x205/0x210 [radeon]
  [   10.275816]  radeon_pm_init_dpm+0x8e/0x2f0 [radeon]
  [   10.275914]  radeon_pm_init+0xd0/0x100 [radeon]
  [   10.276013]  rv770_init+0x1fa/0x3d0 [radeon]
  [   10.276110]  radeon_device_init+0x540/0xa90 [radeon]
  [   10.276187]  radeon_driver_load_kms+0xcc/0x2f0 [radeon]
  [   10.276265]  drm_dev_register+0x10e/0x240 [drm]
  [   10.276347]  radeon_pci_probe+0xec/0x180 [radeon]
  [   10.276423]  local_pci_probe+0x47/0xb0
  [   10.276427]  pci_call_probe+0x55/0x190
  [   10.276429]  pci_device_probe+0x84/0x120
  [   10.276432]  really_probe+0x1c7/0x410
  [   10.276435]  __driver_probe_device+0x8c/0x180
  [   10.276437]  driver_probe_device+0x24/0xd0
  [   10.276440]  __driver_attach+0x10b/0x210
  [   10.276442]  ? __pfx___driver_attach+0x10/0x10
  [   10.276444]  bus_for_each_dev+0x8d/0xf0
  [   10.276448]  driver_attach+0x1e/0x30
  [   10.276450]  bus_add_driver+0x127/0x240
  [   10.276453]  driver_register+0x5e/0x130
  [   10.276456]  ? __pfx_radeon_module_init+0x10/0x10 [radeon]
  [   10.276531]  __pci_register_driver+0x62/0x70
  [   10.276535]  radeon_module_init+0x4c/0xff0 [radeon]
  [   10.276610]  do_one_initcall+0x5e/0x340
  [   10.276620]  do_init_module+0x68/0x260
  [   10.276624]  load_module+0xba1/0xcf0
  [   10.276627]  ? find_vmap_area+0x42/0x70
  [   10.276632]  __do_sys_init_module+0x1a7/0x1e0
  [   10.276635]  ? __do_sys_init_module+0x1a7/0x1e0
  [   10.276638]  __x64_sys_init_module+0x1a/0x30
  [   10.276641]  do_syscall_64+0x5c/0x90
  [   10.276644]  ? do_syscall_64+0x68/0x90
  [   10.276646]  ? exit_to_user_mode_prepare+0x30/0xb0
  [   10.276650]  ? irqentry_exit_to_user_mode+0x17/0x20
  [   10.276653]  ? irqentry_exit+0x43/0x50
  [   10.276655]  ? exc_page_fault+0x94/0x1b0
  [   10.276657]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
  [   10.276661] RIP: 0033:0x7f3969d1ed8e
  [   10.276682] Code: 48 8b 0d 8d 70 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 
0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 5a 70 0d 00 f7 d8 64 89 01 48
  [   10.276684] RSP: 002b:7ffee1310ae8 EFLAGS: 0246 ORIG_RAX: 
00af
  [   10.276688] RAX: ffda RBX: 5560681b9790 RCX: 
7f3969d1ed8e
  [   10.276689] RDX: 7f396a015458 RSI: 00441061 RDI: 
7f3967de0010
  [   10.276691] RBP: 7f396a015458 R08: 00261000 R09: 

  [   10.276692] R10: 00015221 R11: 0246 R12: 
0002
  [   10.276694] R13: 5560681bcff0 R14:  R15: 
5560681be500
  [   10.276696]  
  [   10.276716] 

  [   10.277624] [drm] radeon: dpm initialized
  [   10.279186] [drm] GART: num cpu pages 262144, num gpu pages 262144
  [   10.280149] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
  [   10.293073] [drm] PCIE GART of 1024M enabled (table at 0x0014C000).
  [   10.293688] radeon :01:00.0: WB enabled
  [   10.293693] radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00
  [   10.293695] radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c
  [   10.293951] radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005c598
  [   10.294075] radeon :01:00.0: radeon: MSI limited to 32-bit
  [   10.294142] radeon :01:00.0: radeon: using MSI.
  [   10.294170] [drm] radeon: irq initialized.
  [   10.340209] [drm] ring test on 0 succeeded in 1 usecs
  [   10.340218] [drm] ring test on 3 succeeded in 2 usecs
  [   10.524802] [drm] ring test on 5 

[Kernel-packages] [Bug 2035278] Re: UBSAN: array-index-out-of-bounds in /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

2023-09-12 Thread Gannet
$ LC_ALL=C apport-collect 2035278
dpkg-query: no packages found matching linux

** Changed in: linux (Ubuntu)
   Status: Incomplete => 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/2035278

Title:
  UBSAN: array-index-out-of-bounds in
  /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since Linux 6.5.x:

  [   10.275589] 

  [   10.275594] fbcon: Taking over console
  [   10.275598] UBSAN: array-index-out-of-bounds in 
/home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios.c:2620:43
  [   10.275603] index 1 is out of range for type 'UCHAR [1]'
  [   10.275607] CPU: 3 PID: 320 Comm: systemd-udevd Not tainted 
6.5.1-060501-generic #202309020842
  [   10.275609] Hardware name: System manufacturer System Product Name/P5Q3, 
BIOS 110206/11/2010
  [   10.275611] Call Trace:
  [   10.275614]  
  [   10.275616]  dump_stack_lvl+0x48/0x70
  [   10.275622]  dump_stack+0x10/0x20
  [   10.275625]  __ubsan_handle_out_of_bounds+0xc6/0x110
  [   10.275629]  radeon_atombios_parse_power_table_4_5+0x3c9/0x3f0 [radeon]
  [   10.275737]  radeon_atombios_get_power_modes+0x205/0x210 [radeon]
  [   10.275816]  radeon_pm_init_dpm+0x8e/0x2f0 [radeon]
  [   10.275914]  radeon_pm_init+0xd0/0x100 [radeon]
  [   10.276013]  rv770_init+0x1fa/0x3d0 [radeon]
  [   10.276110]  radeon_device_init+0x540/0xa90 [radeon]
  [   10.276187]  radeon_driver_load_kms+0xcc/0x2f0 [radeon]
  [   10.276265]  drm_dev_register+0x10e/0x240 [drm]
  [   10.276347]  radeon_pci_probe+0xec/0x180 [radeon]
  [   10.276423]  local_pci_probe+0x47/0xb0
  [   10.276427]  pci_call_probe+0x55/0x190
  [   10.276429]  pci_device_probe+0x84/0x120
  [   10.276432]  really_probe+0x1c7/0x410
  [   10.276435]  __driver_probe_device+0x8c/0x180
  [   10.276437]  driver_probe_device+0x24/0xd0
  [   10.276440]  __driver_attach+0x10b/0x210
  [   10.276442]  ? __pfx___driver_attach+0x10/0x10
  [   10.276444]  bus_for_each_dev+0x8d/0xf0
  [   10.276448]  driver_attach+0x1e/0x30
  [   10.276450]  bus_add_driver+0x127/0x240
  [   10.276453]  driver_register+0x5e/0x130
  [   10.276456]  ? __pfx_radeon_module_init+0x10/0x10 [radeon]
  [   10.276531]  __pci_register_driver+0x62/0x70
  [   10.276535]  radeon_module_init+0x4c/0xff0 [radeon]
  [   10.276610]  do_one_initcall+0x5e/0x340
  [   10.276620]  do_init_module+0x68/0x260
  [   10.276624]  load_module+0xba1/0xcf0
  [   10.276627]  ? find_vmap_area+0x42/0x70
  [   10.276632]  __do_sys_init_module+0x1a7/0x1e0
  [   10.276635]  ? __do_sys_init_module+0x1a7/0x1e0
  [   10.276638]  __x64_sys_init_module+0x1a/0x30
  [   10.276641]  do_syscall_64+0x5c/0x90
  [   10.276644]  ? do_syscall_64+0x68/0x90
  [   10.276646]  ? exit_to_user_mode_prepare+0x30/0xb0
  [   10.276650]  ? irqentry_exit_to_user_mode+0x17/0x20
  [   10.276653]  ? irqentry_exit+0x43/0x50
  [   10.276655]  ? exc_page_fault+0x94/0x1b0
  [   10.276657]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
  [   10.276661] RIP: 0033:0x7f3969d1ed8e
  [   10.276682] Code: 48 8b 0d 8d 70 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 
0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 5a 70 0d 00 f7 d8 64 89 01 48
  [   10.276684] RSP: 002b:7ffee1310ae8 EFLAGS: 0246 ORIG_RAX: 
00af
  [   10.276688] RAX: ffda RBX: 5560681b9790 RCX: 
7f3969d1ed8e
  [   10.276689] RDX: 7f396a015458 RSI: 00441061 RDI: 
7f3967de0010
  [   10.276691] RBP: 7f396a015458 R08: 00261000 R09: 

  [   10.276692] R10: 00015221 R11: 0246 R12: 
0002
  [   10.276694] R13: 5560681bcff0 R14:  R15: 
5560681be500
  [   10.276696]  
  [   10.276716] 

  [   10.277624] [drm] radeon: dpm initialized
  [   10.279186] [drm] GART: num cpu pages 262144, num gpu pages 262144
  [   10.280149] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
  [   10.293073] [drm] PCIE GART of 1024M enabled (table at 0x0014C000).
  [   10.293688] radeon :01:00.0: WB enabled
  [   10.293693] radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00
  [   10.293695] radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c
  [   10.293951] radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005c598
  [   10.294075] radeon :01:00.0: radeon: MSI limited to 32-bit
  [   10.294142] radeon :01:00.0: radeon: using MSI.
  [   10.294170] [drm] radeon: irq initialized.
  [   10.340209] [drm] ring test on 0 succeeded in 1 usecs
  [   10.340218] [drm] ring test on 3 succeeded in 2 usecs
  [   10.524802] [drm] ring 

[Kernel-packages] [Bug 2035278] Re: UBSAN: array-index-out-of-bounds in /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

2023-09-12 Thread Gannet
$ LC_ALL=C sudo apport-collect 2035278
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Please open this authorization page:
 
(https://launchpad.net/+authorize-token?oauth_token=1JKJCS3jh98tTWrGqK0T_permission=DESKTOP_INTEGRATION)
in your browser. Use your browser to authorize
this program to access Launchpad on your behalf.
Press Enter after authorizing in your browser.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 693, 
in check_end_user_authorization
credentials.exchange_request_token_for_access_token(self.web_root)
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 240, 
in exchange_request_token_for_access_token
response, content = _http_post(url, headers, params)

  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 110, 
in _http_post
raise HTTPError(response, content)
lazr.restfulclient.errors.HTTPError: HTTP Error 401: Unauthorized
Response headers:
---
content-length: 57
content-security-policy: frame-ancestors 'self';
content-type: text/plain;charset=utf-8
date: Tue, 12 Sep 2023 19:04:34 GMT
server: gunicorn
status: 401
strict-transport-security: max-age=15552000
vary: Cookie,Authorization
www-authenticate: OAuth realm="https://api.launchpad.net;
x-content-type-options: nosniff
x-content-type-warning: guessed from content
x-frame-options: SAMEORIGIN
x-launchpad-revision: 32eed776db4e1fe74faaa77122cde19862d565ac
x-powered-by: Zope (www.zope.org), Python (www.python.org)
x-request-id: 8f3cf56b-0b3f-4b30-9544-3c107b80469b
x-vcs-revision: 32eed776db4e1fe74faaa77122cde19862d565ac
x-xss-protection: 1; mode=block
---
Response body:
---
b'Request token has not yet been reviewed. Try again later.'
---


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/apport/apport-kde", line 598, in 
sys.exit(UserInterface.run_argv())
 
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 966, in run_argv
return self.run_update_report()
   
  File "/usr/lib/python3/dist-packages/apport/ui.py", line 780, in 
run_update_report
if not self.crashdb.can_update(self.args.update_report):
   
  File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 
586, in can_update
bug = self.launchpad.bugs[crash_id]
  ^^
  File "/usr/lib/python3/dist-packages/apport/crashdb_impl/launchpad.py", line 
170, in launchpad
self.__launchpad = Launchpad.login_with(
   ^
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 700, in 
login_with
return cls._authorize_token_and_login(
   ^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/launchpad.py", line 451, in 
_authorize_token_and_login
credentials = authorization_engine(credentials, credential_store)
  ^^^
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 627, 
in __call__
self.make_end_user_authorize_token(credentials, request_token_string)
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 718, 
in make_end_user_authorize_token
self.wait_for_end_user_authorization(credentials)
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 712, 
in wait_for_end_user_authorization
self.check_end_user_authorization(credentials)
  File "/usr/lib/python3/dist-packages/launchpadlib/credentials.py", line 705, 
in check_end_user_authorization
raise EndUserNoAuthorization(e.content)
launchpadlib.credentials.EndUserNoAuthorization: b'Request token has not yet 
been reviewed. Try again later.'


** Description changed:

  Since Linux 6.5.x:
  
  [   10.275589] 

  [   10.275594] fbcon: Taking over console
  [   10.275598] UBSAN: array-index-out-of-bounds in 
/home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios.c:2620:43
  [   10.275603] index 1 is out of range for type 'UCHAR [1]'
  [   10.275607] CPU: 3 PID: 320 Comm: systemd-udevd Not tainted 
6.5.1-060501-generic #202309020842
  [   10.275609] Hardware name: System manufacturer System Product Name/P5Q3, 
BIOS 110206/11/2010
  [   10.275611] Call Trace:
  [   10.275614]  
  [   10.275616]  dump_stack_lvl+0x48/0x70
  [   10.275622]  dump_stack+0x10/0x20
  [   10.275625]  __ubsan_handle_out_of_bounds+0xc6/0x110
  [   10.275629]  radeon_atombios_parse_power_table_4_5+0x3c9/0x3f0 [radeon]
  [   10.275737]  radeon_atombios_get_power_modes+0x205/0x210 [radeon]
  [   10.275816]  radeon_pm_init_dpm+0x8e/0x2f0 [radeon]
  [   10.275914]  radeon_pm_init+0xd0/0x100 

[Kernel-packages] [Bug 2035278] Re: UBSAN: array-index-out-of-bounds in /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

2023-09-12 Thread Gannet
** Attachment added: "lspci-vvnn.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2035278/+attachment/5700420/+files/lspci-vvnn.log

** Description changed:

  Since Linux 6.5.x:
  
  [   10.275589] 

  [   10.275594] fbcon: Taking over console
  [   10.275598] UBSAN: array-index-out-of-bounds in 
/home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios.c:2620:43
  [   10.275603] index 1 is out of range for type 'UCHAR [1]'
  [   10.275607] CPU: 3 PID: 320 Comm: systemd-udevd Not tainted 
6.5.1-060501-generic #202309020842
  [   10.275609] Hardware name: System manufacturer System Product Name/P5Q3, 
BIOS 110206/11/2010
  [   10.275611] Call Trace:
  [   10.275614]  
  [   10.275616]  dump_stack_lvl+0x48/0x70
  [   10.275622]  dump_stack+0x10/0x20
  [   10.275625]  __ubsan_handle_out_of_bounds+0xc6/0x110
  [   10.275629]  radeon_atombios_parse_power_table_4_5+0x3c9/0x3f0 [radeon]
  [   10.275737]  radeon_atombios_get_power_modes+0x205/0x210 [radeon]
  [   10.275816]  radeon_pm_init_dpm+0x8e/0x2f0 [radeon]
  [   10.275914]  radeon_pm_init+0xd0/0x100 [radeon]
  [   10.276013]  rv770_init+0x1fa/0x3d0 [radeon]
  [   10.276110]  radeon_device_init+0x540/0xa90 [radeon]
  [   10.276187]  radeon_driver_load_kms+0xcc/0x2f0 [radeon]
  [   10.276265]  drm_dev_register+0x10e/0x240 [drm]
  [   10.276347]  radeon_pci_probe+0xec/0x180 [radeon]
  [   10.276423]  local_pci_probe+0x47/0xb0
  [   10.276427]  pci_call_probe+0x55/0x190
  [   10.276429]  pci_device_probe+0x84/0x120
  [   10.276432]  really_probe+0x1c7/0x410
  [   10.276435]  __driver_probe_device+0x8c/0x180
  [   10.276437]  driver_probe_device+0x24/0xd0
  [   10.276440]  __driver_attach+0x10b/0x210
  [   10.276442]  ? __pfx___driver_attach+0x10/0x10
  [   10.276444]  bus_for_each_dev+0x8d/0xf0
  [   10.276448]  driver_attach+0x1e/0x30
  [   10.276450]  bus_add_driver+0x127/0x240
  [   10.276453]  driver_register+0x5e/0x130
  [   10.276456]  ? __pfx_radeon_module_init+0x10/0x10 [radeon]
  [   10.276531]  __pci_register_driver+0x62/0x70
  [   10.276535]  radeon_module_init+0x4c/0xff0 [radeon]
  [   10.276610]  do_one_initcall+0x5e/0x340
  [   10.276620]  do_init_module+0x68/0x260
  [   10.276624]  load_module+0xba1/0xcf0
  [   10.276627]  ? find_vmap_area+0x42/0x70
  [   10.276632]  __do_sys_init_module+0x1a7/0x1e0
  [   10.276635]  ? __do_sys_init_module+0x1a7/0x1e0
  [   10.276638]  __x64_sys_init_module+0x1a/0x30
  [   10.276641]  do_syscall_64+0x5c/0x90
  [   10.276644]  ? do_syscall_64+0x68/0x90
  [   10.276646]  ? exit_to_user_mode_prepare+0x30/0xb0
  [   10.276650]  ? irqentry_exit_to_user_mode+0x17/0x20
  [   10.276653]  ? irqentry_exit+0x43/0x50
  [   10.276655]  ? exc_page_fault+0x94/0x1b0
  [   10.276657]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
  [   10.276661] RIP: 0033:0x7f3969d1ed8e
  [   10.276682] Code: 48 8b 0d 8d 70 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 
0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 5a 70 0d 00 f7 d8 64 89 01 48
  [   10.276684] RSP: 002b:7ffee1310ae8 EFLAGS: 0246 ORIG_RAX: 
00af
  [   10.276688] RAX: ffda RBX: 5560681b9790 RCX: 
7f3969d1ed8e
  [   10.276689] RDX: 7f396a015458 RSI: 00441061 RDI: 
7f3967de0010
  [   10.276691] RBP: 7f396a015458 R08: 00261000 R09: 

  [   10.276692] R10: 00015221 R11: 0246 R12: 
0002
  [   10.276694] R13: 5560681bcff0 R14:  R15: 
5560681be500
  [   10.276696]  
  [   10.276716] 

  [   10.277624] [drm] radeon: dpm initialized
  [   10.279186] [drm] GART: num cpu pages 262144, num gpu pages 262144
  [   10.280149] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
  [   10.293073] [drm] PCIE GART of 1024M enabled (table at 0x0014C000).
  [   10.293688] radeon :01:00.0: WB enabled
  [   10.293693] radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00
  [   10.293695] radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c
  [   10.293951] radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005c598
  [   10.294075] radeon :01:00.0: radeon: MSI limited to 32-bit
  [   10.294142] radeon :01:00.0: radeon: using MSI.
  [   10.294170] [drm] radeon: irq initialized.
  [   10.340209] [drm] ring test on 0 succeeded in 1 usecs
  [   10.340218] [drm] ring test on 3 succeeded in 2 usecs
  [   10.524802] [drm] ring test on 5 succeeded in 1 usecs
  [   10.524808] [drm] UVD initialized successfully.
  [   10.525029] snd_hda_intel :01:00.1: bound :01:00.0 (ops 
radeon_audio_component_bind_ops [radeon])
  [   10.525206] [drm] ib test on ring 0 succeeded in 0 usecs
  [   10.525224] [drm] ib test on ring 3 succeeded in 0 

[Kernel-packages] [Bug 2035278] Re: UBSAN: array-index-out-of-bounds in /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

2023-09-12 Thread Gannet
** Attachment added: "syslog"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2035278/+attachment/5700419/+files/syslog

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

Title:
  UBSAN: array-index-out-of-bounds in
  /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Since Linux 6.5.x:

  [   10.275589] 

  [   10.275594] fbcon: Taking over console
  [   10.275598] UBSAN: array-index-out-of-bounds in 
/home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios.c:2620:43
  [   10.275603] index 1 is out of range for type 'UCHAR [1]'
  [   10.275607] CPU: 3 PID: 320 Comm: systemd-udevd Not tainted 
6.5.1-060501-generic #202309020842
  [   10.275609] Hardware name: System manufacturer System Product Name/P5Q3, 
BIOS 110206/11/2010
  [   10.275611] Call Trace:
  [   10.275614]  
  [   10.275616]  dump_stack_lvl+0x48/0x70
  [   10.275622]  dump_stack+0x10/0x20
  [   10.275625]  __ubsan_handle_out_of_bounds+0xc6/0x110
  [   10.275629]  radeon_atombios_parse_power_table_4_5+0x3c9/0x3f0 [radeon]
  [   10.275737]  radeon_atombios_get_power_modes+0x205/0x210 [radeon]
  [   10.275816]  radeon_pm_init_dpm+0x8e/0x2f0 [radeon]
  [   10.275914]  radeon_pm_init+0xd0/0x100 [radeon]
  [   10.276013]  rv770_init+0x1fa/0x3d0 [radeon]
  [   10.276110]  radeon_device_init+0x540/0xa90 [radeon]
  [   10.276187]  radeon_driver_load_kms+0xcc/0x2f0 [radeon]
  [   10.276265]  drm_dev_register+0x10e/0x240 [drm]
  [   10.276347]  radeon_pci_probe+0xec/0x180 [radeon]
  [   10.276423]  local_pci_probe+0x47/0xb0
  [   10.276427]  pci_call_probe+0x55/0x190
  [   10.276429]  pci_device_probe+0x84/0x120
  [   10.276432]  really_probe+0x1c7/0x410
  [   10.276435]  __driver_probe_device+0x8c/0x180
  [   10.276437]  driver_probe_device+0x24/0xd0
  [   10.276440]  __driver_attach+0x10b/0x210
  [   10.276442]  ? __pfx___driver_attach+0x10/0x10
  [   10.276444]  bus_for_each_dev+0x8d/0xf0
  [   10.276448]  driver_attach+0x1e/0x30
  [   10.276450]  bus_add_driver+0x127/0x240
  [   10.276453]  driver_register+0x5e/0x130
  [   10.276456]  ? __pfx_radeon_module_init+0x10/0x10 [radeon]
  [   10.276531]  __pci_register_driver+0x62/0x70
  [   10.276535]  radeon_module_init+0x4c/0xff0 [radeon]
  [   10.276610]  do_one_initcall+0x5e/0x340
  [   10.276620]  do_init_module+0x68/0x260
  [   10.276624]  load_module+0xba1/0xcf0
  [   10.276627]  ? find_vmap_area+0x42/0x70
  [   10.276632]  __do_sys_init_module+0x1a7/0x1e0
  [   10.276635]  ? __do_sys_init_module+0x1a7/0x1e0
  [   10.276638]  __x64_sys_init_module+0x1a/0x30
  [   10.276641]  do_syscall_64+0x5c/0x90
  [   10.276644]  ? do_syscall_64+0x68/0x90
  [   10.276646]  ? exit_to_user_mode_prepare+0x30/0xb0
  [   10.276650]  ? irqentry_exit_to_user_mode+0x17/0x20
  [   10.276653]  ? irqentry_exit+0x43/0x50
  [   10.276655]  ? exc_page_fault+0x94/0x1b0
  [   10.276657]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
  [   10.276661] RIP: 0033:0x7f3969d1ed8e
  [   10.276682] Code: 48 8b 0d 8d 70 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 
0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 5a 70 0d 00 f7 d8 64 89 01 48
  [   10.276684] RSP: 002b:7ffee1310ae8 EFLAGS: 0246 ORIG_RAX: 
00af
  [   10.276688] RAX: ffda RBX: 5560681b9790 RCX: 
7f3969d1ed8e
  [   10.276689] RDX: 7f396a015458 RSI: 00441061 RDI: 
7f3967de0010
  [   10.276691] RBP: 7f396a015458 R08: 00261000 R09: 

  [   10.276692] R10: 00015221 R11: 0246 R12: 
0002
  [   10.276694] R13: 5560681bcff0 R14:  R15: 
5560681be500
  [   10.276696]  
  [   10.276716] 

  [   10.277624] [drm] radeon: dpm initialized
  [   10.279186] [drm] GART: num cpu pages 262144, num gpu pages 262144
  [   10.280149] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
  [   10.293073] [drm] PCIE GART of 1024M enabled (table at 0x0014C000).
  [   10.293688] radeon :01:00.0: WB enabled
  [   10.293693] radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00
  [   10.293695] radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c
  [   10.293951] radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005c598
  [   10.294075] radeon :01:00.0: radeon: MSI limited to 32-bit
  [   10.294142] radeon :01:00.0: radeon: using MSI.
  [   10.294170] [drm] radeon: irq initialized.
  [   10.340209] [drm] ring test on 0 succeeded in 1 usecs
  [   10.340218] [drm] ring test on 3 succeeded in 2 usecs
  [   10.524802] [drm] ring test on 5 succeeded 

[Kernel-packages] [Bug 2035278] Re: UBSAN: array-index-out-of-bounds in /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

2023-09-12 Thread Gannet
** Attachment added: "dmesg"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2035278/+attachment/5700418/+files/dmesg

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

Title:
  UBSAN: array-index-out-of-bounds in
  /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Since Linux 6.5.x:

  [   10.275589] 

  [   10.275594] fbcon: Taking over console
  [   10.275598] UBSAN: array-index-out-of-bounds in 
/home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios.c:2620:43
  [   10.275603] index 1 is out of range for type 'UCHAR [1]'
  [   10.275607] CPU: 3 PID: 320 Comm: systemd-udevd Not tainted 
6.5.1-060501-generic #202309020842
  [   10.275609] Hardware name: System manufacturer System Product Name/P5Q3, 
BIOS 110206/11/2010
  [   10.275611] Call Trace:
  [   10.275614]  
  [   10.275616]  dump_stack_lvl+0x48/0x70
  [   10.275622]  dump_stack+0x10/0x20
  [   10.275625]  __ubsan_handle_out_of_bounds+0xc6/0x110
  [   10.275629]  radeon_atombios_parse_power_table_4_5+0x3c9/0x3f0 [radeon]
  [   10.275737]  radeon_atombios_get_power_modes+0x205/0x210 [radeon]
  [   10.275816]  radeon_pm_init_dpm+0x8e/0x2f0 [radeon]
  [   10.275914]  radeon_pm_init+0xd0/0x100 [radeon]
  [   10.276013]  rv770_init+0x1fa/0x3d0 [radeon]
  [   10.276110]  radeon_device_init+0x540/0xa90 [radeon]
  [   10.276187]  radeon_driver_load_kms+0xcc/0x2f0 [radeon]
  [   10.276265]  drm_dev_register+0x10e/0x240 [drm]
  [   10.276347]  radeon_pci_probe+0xec/0x180 [radeon]
  [   10.276423]  local_pci_probe+0x47/0xb0
  [   10.276427]  pci_call_probe+0x55/0x190
  [   10.276429]  pci_device_probe+0x84/0x120
  [   10.276432]  really_probe+0x1c7/0x410
  [   10.276435]  __driver_probe_device+0x8c/0x180
  [   10.276437]  driver_probe_device+0x24/0xd0
  [   10.276440]  __driver_attach+0x10b/0x210
  [   10.276442]  ? __pfx___driver_attach+0x10/0x10
  [   10.276444]  bus_for_each_dev+0x8d/0xf0
  [   10.276448]  driver_attach+0x1e/0x30
  [   10.276450]  bus_add_driver+0x127/0x240
  [   10.276453]  driver_register+0x5e/0x130
  [   10.276456]  ? __pfx_radeon_module_init+0x10/0x10 [radeon]
  [   10.276531]  __pci_register_driver+0x62/0x70
  [   10.276535]  radeon_module_init+0x4c/0xff0 [radeon]
  [   10.276610]  do_one_initcall+0x5e/0x340
  [   10.276620]  do_init_module+0x68/0x260
  [   10.276624]  load_module+0xba1/0xcf0
  [   10.276627]  ? find_vmap_area+0x42/0x70
  [   10.276632]  __do_sys_init_module+0x1a7/0x1e0
  [   10.276635]  ? __do_sys_init_module+0x1a7/0x1e0
  [   10.276638]  __x64_sys_init_module+0x1a/0x30
  [   10.276641]  do_syscall_64+0x5c/0x90
  [   10.276644]  ? do_syscall_64+0x68/0x90
  [   10.276646]  ? exit_to_user_mode_prepare+0x30/0xb0
  [   10.276650]  ? irqentry_exit_to_user_mode+0x17/0x20
  [   10.276653]  ? irqentry_exit+0x43/0x50
  [   10.276655]  ? exc_page_fault+0x94/0x1b0
  [   10.276657]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
  [   10.276661] RIP: 0033:0x7f3969d1ed8e
  [   10.276682] Code: 48 8b 0d 8d 70 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 
0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 5a 70 0d 00 f7 d8 64 89 01 48
  [   10.276684] RSP: 002b:7ffee1310ae8 EFLAGS: 0246 ORIG_RAX: 
00af
  [   10.276688] RAX: ffda RBX: 5560681b9790 RCX: 
7f3969d1ed8e
  [   10.276689] RDX: 7f396a015458 RSI: 00441061 RDI: 
7f3967de0010
  [   10.276691] RBP: 7f396a015458 R08: 00261000 R09: 

  [   10.276692] R10: 00015221 R11: 0246 R12: 
0002
  [   10.276694] R13: 5560681bcff0 R14:  R15: 
5560681be500
  [   10.276696]  
  [   10.276716] 

  [   10.277624] [drm] radeon: dpm initialized
  [   10.279186] [drm] GART: num cpu pages 262144, num gpu pages 262144
  [   10.280149] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
  [   10.293073] [drm] PCIE GART of 1024M enabled (table at 0x0014C000).
  [   10.293688] radeon :01:00.0: WB enabled
  [   10.293693] radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00
  [   10.293695] radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c
  [   10.293951] radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005c598
  [   10.294075] radeon :01:00.0: radeon: MSI limited to 32-bit
  [   10.294142] radeon :01:00.0: radeon: using MSI.
  [   10.294170] [drm] radeon: irq initialized.
  [   10.340209] [drm] ring test on 0 succeeded in 1 usecs
  [   10.340218] [drm] ring test on 3 succeeded in 2 usecs
  [   10.524802] [drm] ring test on 5 succeeded in 

[Kernel-packages] [Bug 2035278] Re: UBSAN: array-index-out-of-bounds in /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

2023-09-12 Thread Gannet
apport information

** Description changed:

  Since Linux 6.5.x:
  
  [   10.275589] 

  [   10.275594] fbcon: Taking over console
  [   10.275598] UBSAN: array-index-out-of-bounds in 
/home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios.c:2620:43
  [   10.275603] index 1 is out of range for type 'UCHAR [1]'
  [   10.275607] CPU: 3 PID: 320 Comm: systemd-udevd Not tainted 
6.5.1-060501-generic #202309020842
  [   10.275609] Hardware name: System manufacturer System Product Name/P5Q3, 
BIOS 110206/11/2010
  [   10.275611] Call Trace:
  [   10.275614]  
  [   10.275616]  dump_stack_lvl+0x48/0x70
  [   10.275622]  dump_stack+0x10/0x20
  [   10.275625]  __ubsan_handle_out_of_bounds+0xc6/0x110
  [   10.275629]  radeon_atombios_parse_power_table_4_5+0x3c9/0x3f0 [radeon]
  [   10.275737]  radeon_atombios_get_power_modes+0x205/0x210 [radeon]
  [   10.275816]  radeon_pm_init_dpm+0x8e/0x2f0 [radeon]
  [   10.275914]  radeon_pm_init+0xd0/0x100 [radeon]
  [   10.276013]  rv770_init+0x1fa/0x3d0 [radeon]
  [   10.276110]  radeon_device_init+0x540/0xa90 [radeon]
  [   10.276187]  radeon_driver_load_kms+0xcc/0x2f0 [radeon]
  [   10.276265]  drm_dev_register+0x10e/0x240 [drm]
  [   10.276347]  radeon_pci_probe+0xec/0x180 [radeon]
  [   10.276423]  local_pci_probe+0x47/0xb0
  [   10.276427]  pci_call_probe+0x55/0x190
  [   10.276429]  pci_device_probe+0x84/0x120
  [   10.276432]  really_probe+0x1c7/0x410
  [   10.276435]  __driver_probe_device+0x8c/0x180
  [   10.276437]  driver_probe_device+0x24/0xd0
  [   10.276440]  __driver_attach+0x10b/0x210
  [   10.276442]  ? __pfx___driver_attach+0x10/0x10
  [   10.276444]  bus_for_each_dev+0x8d/0xf0
  [   10.276448]  driver_attach+0x1e/0x30
  [   10.276450]  bus_add_driver+0x127/0x240
  [   10.276453]  driver_register+0x5e/0x130
  [   10.276456]  ? __pfx_radeon_module_init+0x10/0x10 [radeon]
  [   10.276531]  __pci_register_driver+0x62/0x70
  [   10.276535]  radeon_module_init+0x4c/0xff0 [radeon]
  [   10.276610]  do_one_initcall+0x5e/0x340
  [   10.276620]  do_init_module+0x68/0x260
  [   10.276624]  load_module+0xba1/0xcf0
  [   10.276627]  ? find_vmap_area+0x42/0x70
  [   10.276632]  __do_sys_init_module+0x1a7/0x1e0
  [   10.276635]  ? __do_sys_init_module+0x1a7/0x1e0
  [   10.276638]  __x64_sys_init_module+0x1a/0x30
  [   10.276641]  do_syscall_64+0x5c/0x90
  [   10.276644]  ? do_syscall_64+0x68/0x90
  [   10.276646]  ? exit_to_user_mode_prepare+0x30/0xb0
  [   10.276650]  ? irqentry_exit_to_user_mode+0x17/0x20
  [   10.276653]  ? irqentry_exit+0x43/0x50
  [   10.276655]  ? exc_page_fault+0x94/0x1b0
  [   10.276657]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
  [   10.276661] RIP: 0033:0x7f3969d1ed8e
  [   10.276682] Code: 48 8b 0d 8d 70 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 
0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 5a 70 0d 00 f7 d8 64 89 01 48
  [   10.276684] RSP: 002b:7ffee1310ae8 EFLAGS: 0246 ORIG_RAX: 
00af
  [   10.276688] RAX: ffda RBX: 5560681b9790 RCX: 
7f3969d1ed8e
  [   10.276689] RDX: 7f396a015458 RSI: 00441061 RDI: 
7f3967de0010
  [   10.276691] RBP: 7f396a015458 R08: 00261000 R09: 

  [   10.276692] R10: 00015221 R11: 0246 R12: 
0002
  [   10.276694] R13: 5560681bcff0 R14:  R15: 
5560681be500
  [   10.276696]  
  [   10.276716] 

  [   10.277624] [drm] radeon: dpm initialized
  [   10.279186] [drm] GART: num cpu pages 262144, num gpu pages 262144
  [   10.280149] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
  [   10.293073] [drm] PCIE GART of 1024M enabled (table at 0x0014C000).
  [   10.293688] radeon :01:00.0: WB enabled
  [   10.293693] radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00
  [   10.293695] radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c
  [   10.293951] radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005c598
  [   10.294075] radeon :01:00.0: radeon: MSI limited to 32-bit
  [   10.294142] radeon :01:00.0: radeon: using MSI.
  [   10.294170] [drm] radeon: irq initialized.
  [   10.340209] [drm] ring test on 0 succeeded in 1 usecs
  [   10.340218] [drm] ring test on 3 succeeded in 2 usecs
  [   10.524802] [drm] ring test on 5 succeeded in 1 usecs
  [   10.524808] [drm] UVD initialized successfully.
  [   10.525029] snd_hda_intel :01:00.1: bound :01:00.0 (ops 
radeon_audio_component_bind_ops [radeon])
  [   10.525206] [drm] ib test on ring 0 succeeded in 0 usecs
  [   10.525224] [drm] ib test on ring 3 succeeded in 0 usecs
  [   11.200641] [drm] ib test on ring 5 succeeded
  [   11.201298] [drm] Radeon Display Connectors
  [   11.201300] [drm] 

[Kernel-packages] [Bug 2035278] Re: UBSAN: array-index-out-of-bounds in /home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios

2023-09-12 Thread Gannet
apport information

** Tags added: apport-collected lunar wayland-session

** Description changed:

  Since Linux 6.5.x:
  
  [   10.275589] 

  [   10.275594] fbcon: Taking over console
  [   10.275598] UBSAN: array-index-out-of-bounds in 
/home/kernel/COD/linux/drivers/gpu/drm/radeon/radeon_atombios.c:2620:43
  [   10.275603] index 1 is out of range for type 'UCHAR [1]'
  [   10.275607] CPU: 3 PID: 320 Comm: systemd-udevd Not tainted 
6.5.1-060501-generic #202309020842
  [   10.275609] Hardware name: System manufacturer System Product Name/P5Q3, 
BIOS 110206/11/2010
  [   10.275611] Call Trace:
  [   10.275614]  
  [   10.275616]  dump_stack_lvl+0x48/0x70
  [   10.275622]  dump_stack+0x10/0x20
  [   10.275625]  __ubsan_handle_out_of_bounds+0xc6/0x110
  [   10.275629]  radeon_atombios_parse_power_table_4_5+0x3c9/0x3f0 [radeon]
  [   10.275737]  radeon_atombios_get_power_modes+0x205/0x210 [radeon]
  [   10.275816]  radeon_pm_init_dpm+0x8e/0x2f0 [radeon]
  [   10.275914]  radeon_pm_init+0xd0/0x100 [radeon]
  [   10.276013]  rv770_init+0x1fa/0x3d0 [radeon]
  [   10.276110]  radeon_device_init+0x540/0xa90 [radeon]
  [   10.276187]  radeon_driver_load_kms+0xcc/0x2f0 [radeon]
  [   10.276265]  drm_dev_register+0x10e/0x240 [drm]
  [   10.276347]  radeon_pci_probe+0xec/0x180 [radeon]
  [   10.276423]  local_pci_probe+0x47/0xb0
  [   10.276427]  pci_call_probe+0x55/0x190
  [   10.276429]  pci_device_probe+0x84/0x120
  [   10.276432]  really_probe+0x1c7/0x410
  [   10.276435]  __driver_probe_device+0x8c/0x180
  [   10.276437]  driver_probe_device+0x24/0xd0
  [   10.276440]  __driver_attach+0x10b/0x210
  [   10.276442]  ? __pfx___driver_attach+0x10/0x10
  [   10.276444]  bus_for_each_dev+0x8d/0xf0
  [   10.276448]  driver_attach+0x1e/0x30
  [   10.276450]  bus_add_driver+0x127/0x240
  [   10.276453]  driver_register+0x5e/0x130
  [   10.276456]  ? __pfx_radeon_module_init+0x10/0x10 [radeon]
  [   10.276531]  __pci_register_driver+0x62/0x70
  [   10.276535]  radeon_module_init+0x4c/0xff0 [radeon]
  [   10.276610]  do_one_initcall+0x5e/0x340
  [   10.276620]  do_init_module+0x68/0x260
  [   10.276624]  load_module+0xba1/0xcf0
  [   10.276627]  ? find_vmap_area+0x42/0x70
  [   10.276632]  __do_sys_init_module+0x1a7/0x1e0
  [   10.276635]  ? __do_sys_init_module+0x1a7/0x1e0
  [   10.276638]  __x64_sys_init_module+0x1a/0x30
  [   10.276641]  do_syscall_64+0x5c/0x90
  [   10.276644]  ? do_syscall_64+0x68/0x90
  [   10.276646]  ? exit_to_user_mode_prepare+0x30/0xb0
  [   10.276650]  ? irqentry_exit_to_user_mode+0x17/0x20
  [   10.276653]  ? irqentry_exit+0x43/0x50
  [   10.276655]  ? exc_page_fault+0x94/0x1b0
  [   10.276657]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
  [   10.276661] RIP: 0033:0x7f3969d1ed8e
  [   10.276682] Code: 48 8b 0d 8d 70 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 
0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 
f0 ff ff 73 01 c3 48 8b 0d 5a 70 0d 00 f7 d8 64 89 01 48
  [   10.276684] RSP: 002b:7ffee1310ae8 EFLAGS: 0246 ORIG_RAX: 
00af
  [   10.276688] RAX: ffda RBX: 5560681b9790 RCX: 
7f3969d1ed8e
  [   10.276689] RDX: 7f396a015458 RSI: 00441061 RDI: 
7f3967de0010
  [   10.276691] RBP: 7f396a015458 R08: 00261000 R09: 

  [   10.276692] R10: 00015221 R11: 0246 R12: 
0002
  [   10.276694] R13: 5560681bcff0 R14:  R15: 
5560681be500
  [   10.276696]  
  [   10.276716] 

  [   10.277624] [drm] radeon: dpm initialized
  [   10.279186] [drm] GART: num cpu pages 262144, num gpu pages 262144
  [   10.280149] [drm] enabling PCIE gen 2 link speeds, disable with 
radeon.pcie_gen2=0
  [   10.293073] [drm] PCIE GART of 1024M enabled (table at 0x0014C000).
  [   10.293688] radeon :01:00.0: WB enabled
  [   10.293693] radeon :01:00.0: fence driver on ring 0 use gpu addr 
0x4c00
  [   10.293695] radeon :01:00.0: fence driver on ring 3 use gpu addr 
0x4c0c
  [   10.293951] radeon :01:00.0: fence driver on ring 5 use gpu addr 
0x0005c598
  [   10.294075] radeon :01:00.0: radeon: MSI limited to 32-bit
  [   10.294142] radeon :01:00.0: radeon: using MSI.
  [   10.294170] [drm] radeon: irq initialized.
  [   10.340209] [drm] ring test on 0 succeeded in 1 usecs
  [   10.340218] [drm] ring test on 3 succeeded in 2 usecs
  [   10.524802] [drm] ring test on 5 succeeded in 1 usecs
  [   10.524808] [drm] UVD initialized successfully.
  [   10.525029] snd_hda_intel :01:00.1: bound :01:00.0 (ops 
radeon_audio_component_bind_ops [radeon])
  [   10.525206] [drm] ib test on ring 0 succeeded in 0 usecs
  [   10.525224] [drm] ib test on ring 3 succeeded in 0 usecs
  [   11.200641] [drm] ib test on ring 5 succeeded
  [   11.201298]