Public bug reported:

I just noticed this in my dmesg whilst researching a different reported
error.

Two array out of bounds exceptions... dp.c line 304 and line 313.

My hardware... Dell M6700 laptop on E-Port2 docking station with ext DP monitor 
iiyama 35" widescreen.
Fully updated at time of noticing logged problem.

Linux main 6.4.0-060400-generic #202306271339 SMP PREEMPT_DYNAMIC Tue
Jun 27 14:26:34 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux


[    5.530689] 
================================================================================
[    5.530691] UBSAN: array-index-out-of-bounds in 
/home/kernel/COD/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c:304:26
[    5.530692] index -22 is out of range for type '<unknown> [8]'
[    5.530694] CPU: 2 PID: 681 Comm: kworker/2:3 Tainted: P           OE      
6.4.0-060400-generic #202306271339
[    5.530697] Hardware name: Dell Inc. Precision M6700/0THJRV, BIOS A20 
11/30/2018
[    5.530698] Workqueue: events nouveau_display_hpd_work [nouveau]
[    5.530836] Call Trace:
[    5.530838]  <TASK>
[    5.530840]  dump_stack_lvl+0x48/0x70
[    5.530846]  dump_stack+0x10/0x20
[    5.530848]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    5.530852]  nvkm_dp_train_link+0x5b0/0x5c0 [nouveau]
[    5.530961]  ? __const_udelay+0x43/0x60
[    5.530963]  ? gm200_i2c_aux_init+0xcf/0x1d0 [nouveau]
[    5.531069]  nvkm_dp_train+0x86/0x510 [nouveau]
[    5.531187]  ? nvkm_i2c_aux_xfer+0x4a/0xa0 [nouveau]
[    5.531296]  nvkm_dp_acquire+0x188/0x420 [nouveau]
[    5.531413]  nvkm_uoutp_mthd+0x2c4/0x3c0 [nouveau]
[    5.531530]  nvkm_object_mthd+0x1a/0x40 [nouveau]
[    5.531624]  nvkm_ioctl_mthd+0x5d/0xc0 [nouveau]
[    5.531718]  nvkm_ioctl+0x135/0x2a0 [nouveau]
[    5.531810]  nvkm_client_ioctl+0xe/0x20 [nouveau]
[    5.531922]  nvif_object_mthd+0xe3/0x200 [nouveau]
[    5.532014]  nvif_outp_dp_retrain+0x1d/0xa0 [nouveau]
[    5.532105]  nouveau_dp_link_check+0x33/0x50 [nouveau]
[    5.532215]  nouveau_display_hpd_work+0x2c4/0x2f0 [nouveau]
[    5.532330]  process_one_work+0x225/0x430
[    5.532333]  worker_thread+0x50/0x3f0
[    5.532335]  ? __pfx_worker_thread+0x10/0x10
[    5.532336]  kthread+0xf2/0x120
[    5.532339]  ? __pfx_kthread+0x10/0x10
[    5.532341]  ret_from_fork+0x2c/0x50
[    5.532344]  </TASK>
[    5.532377] 
================================================================================
[    5.532714] 
================================================================================
[    5.532715] UBSAN: array-index-out-of-bounds in 
/home/kernel/COD/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c:313:19
[    5.532716] index -22 is out of range for type '<unknown> [8]'
[    5.532717] CPU: 2 PID: 681 Comm: kworker/2:3 Tainted: P           OE      
6.4.0-060400-generic #202306271339
[    5.532718] Hardware name: Dell Inc. Precision M6700/0THJRV, BIOS A20 
11/30/2018
[    5.532719] Workqueue: events nouveau_display_hpd_work [nouveau]
[    5.532826] Call Trace:
[    5.532826]  <TASK>
[    5.532827]  dump_stack_lvl+0x48/0x70
[    5.532830]  dump_stack+0x10/0x20
[    5.532831]  __ubsan_handle_out_of_bounds+0xc6/0x110
[    5.532834]  nvkm_dp_train_link+0x55a/0x5c0 [nouveau]
[    5.532944]  ? __const_udelay+0x43/0x60
[    5.532946]  ? gm200_i2c_aux_init+0xcf/0x1d0 [nouveau]
[    5.533046]  nvkm_dp_train+0x86/0x510 [nouveau]
[    5.533156]  ? nvkm_i2c_aux_xfer+0x4a/0xa0 [nouveau]
[    5.533262]  nvkm_dp_acquire+0x188/0x420 [nouveau]
[    5.533383]  nvkm_uoutp_mthd+0x2c4/0x3c0 [nouveau]
[    5.533503]  nvkm_object_mthd+0x1a/0x40 [nouveau]
[    5.533599]  nvkm_ioctl_mthd+0x5d/0xc0 [nouveau]
[    5.533694]  nvkm_ioctl+0x135/0x2a0 [nouveau]
[    5.533789]  nvkm_client_ioctl+0xe/0x20 [nouveau]
[    5.533903]  nvif_object_mthd+0xe3/0x200 [nouveau]
[    5.533998]  nvif_outp_dp_retrain+0x1d/0xa0 [nouveau]
[    5.534091]  nouveau_dp_link_check+0x33/0x50 [nouveau]
[    5.534204]  nouveau_display_hpd_work+0x2c4/0x2f0 [nouveau]
[    5.534317]  process_one_work+0x225/0x430
[    5.534319]  worker_thread+0x50/0x3f0
[    5.534321]  ? __pfx_worker_thread+0x10/0x10
[    5.534322]  kthread+0xf2/0x120
[    5.534324]  ? __pfx_kthread+0x10/0x10
[    5.534326]  ret_from_fork+0x2c/0x50
[    5.534328]  </TASK>
[    5.534329] 
================================================================================
[    5.585912] nouveau 0000:01:00.0: DRM: [DRM/0000000a:sor-0006-0f42] 
[DP_RETRAIN] (ret:-1)

...
...

[   22.822585] nouveau 0000:01:00.0: disp: outp 0a:0006:0f42: training failed
[   23.122005] nouveau 0000:01:00.0: DRM: [DRM/0000000a:sor-0006-0f42] 
[DP_RETRAIN] (ret:-1)

...
...

[   38.470716] nouveau 0000:01:00.0: disp: outp 0a:0006:0f42: training failed
[   38.813961] nouveau 0000:01:00.0: DRM: [DRM/0000000a:sor-0006-0f42] 
[DP_RETRAIN] (ret:-1)

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2099974

Title:
  array-index-out-of-bounds in nouveau disp dp.c

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to