$ 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 1102    06/11/2010
  [   10.275611] Call Trace:
  [   10.275614]  <TASK>
  [   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:00007ffee1310ae8 EFLAGS: 00000246 ORIG_RAX: 
00000000000000af
  [   10.276688] RAX: ffffffffffffffda RBX: 00005560681b9790 RCX: 
00007f3969d1ed8e
  [   10.276689] RDX: 00007f396a015458 RSI: 0000000000441061 RDI: 
00007f3967de0010
  [   10.276691] RBP: 00007f396a015458 R08: 0000000000261000 R09: 
0000000000000000
  [   10.276692] R10: 0000000000015221 R11: 0000000000000246 R12: 
0000000000020000
  [   10.276694] R13: 00005560681bcff0 R14: 0000000000000000 R15: 
00005560681be500
  [   10.276696]  </TASK>
  [   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 0x000000000014C000).
  [   10.293688] radeon 0000:01:00.0: WB enabled
  [   10.293693] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 
0x0000000040000c00
  [   10.293695] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 
0x0000000040000c0c
  [   10.293951] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 
0x000000000005c598
  [   10.294075] radeon 0000:01:00.0: radeon: MSI limited to 32-bit
  [   10.294142] radeon 0000: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 0000:01:00.1: bound 0000: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] Connector 0:
  [   11.201301] [drm]   HDMI-A-1
  [   11.201302] [drm]   HPD2
  [   11.201303] [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 
0x7e6c
  [   11.201305] [drm]   Encoders:
  [   11.201306] [drm]     DFP2: INTERNAL_UNIPHY1
  [   11.201307] [drm] Connector 1:
  [   11.201308] [drm]   VGA-1
  [   11.201309] [drm]   DDC: 0x7f10 0x7f10 0x7f14 0x7f14 0x7f18 0x7f18 0x7f1c 
0x7f1c
  [   11.201311] [drm]   Encoders:
  [   11.201311] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
  [   11.201312] [drm] Connector 2:
  [   11.201313] [drm]   DVI-I-1
  [   11.201314] [drm]   HPD1
  [   11.201315] [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 
0x7e2c
  [   11.201317] [drm]   Encoders:
  [   11.201317] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
  [   11.201318] [drm]     DFP1: INTERNAL_UNIPHY
  [   11.204989] [drm] Initialized radeon 2.50.0 20080528 for 0000:01:00.0 on 
minor 0
  [   11.254111] [drm] fb mappable at 0xD034D000
  [   11.254115] [drm] vram apper at 0xD0000000
  [   11.254117] [drm] size 7299072
  [   11.254118] [drm] fb depth is 24
  [   11.254119] [drm]    pitch is 6912
  [   11.254203] fbcon: radeondrmfb (fb0) is primary device
  [   11.277441] Console: switching to colour frame buffer device 210x65
  [   11.281078] radeon 0000:01:00.0: [drm] fb0: radeondrmfb frame buffer device
  [   11.316444] AMD-Vi: AMD IOMMUv2 functionality not available on this system 
- This is not a bug.
  [   14.758167] [drm] amdgpu kernel modesetting enabled.
  [   14.758334] amdgpu: CRAT table disabled by module option
  [   14.758342] amdgpu: Virtual CRAT table created for CPU
  [   14.758359] amdgpu: Topology: Add CPU node
  --- 
  ProblemType: Bug
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 23.04
  InstallationDate: Installed on 2019-04-13 (1612 days ago)
  InstallationMedia: Kubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190326.1)
  Package: linux (not installed)
  ProcEnviron:
   LANG=uk_UA.UTF-8
   LANGUAGE=
   PATH=(custom, no user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
  Tags:  lunar wayland-session
  Uname: Linux 6.5.1-060501-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: Upgraded to lunar on 2023-04-02 (163 days ago)
  UserGroups: adm cdrom dip libvirt lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  --- 
  ProblemType: Bug
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 23.04
  InstallationDate: Installed on 2019-04-13 (1612 days ago)
  InstallationMedia: Kubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190326.1)
  Package: linux (not installed)
  ProcEnviron:
   LANG=uk_UA.UTF-8
   LANGUAGE=
   PATH=(custom, no user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
  Tags:  lunar wayland-session
  Uname: Linux 6.5.1-060501-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: Upgraded to lunar on 2023-04-02 (163 days ago)
  UserGroups: adm cdrom dip libvirt lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  --- 
  ProblemType: Bug
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 23.04
  InstallationDate: Installed on 2019-04-13 (1612 days ago)
  InstallationMedia: Kubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190326.1)
  Package: linux (not installed)
  ProcEnviron:
   LANG=uk_UA.UTF-8
   LANGUAGE=
   PATH=(custom, no user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
  Tags:  lunar wayland-session
  Uname: Linux 6.5.1-060501-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: Upgraded to lunar on 2023-04-02 (163 days ago)
  UserGroups: adm cdrom dip libvirt lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  --- 
  ProblemType: Bug
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 23.04
  InstallationDate: Installed on 2019-04-13 (1612 days ago)
  InstallationMedia: Kubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190326.1)
  Package: linux (not installed)
  Tags:  lunar wayland-session
  Uname: Linux 6.5.1-060501-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: Upgraded to lunar on 2023-04-02 (163 days ago)
  UserGroups: adm cdrom dip libvirt lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  --- 
  ProblemType: Bug
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 23.04
  InstallationDate: Installed on 2019-04-13 (1612 days ago)
  InstallationMedia: Kubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190326.1)
  Package: linux (not installed)
  ProcEnviron:
   LANG=uk_UA.UTF-8
   LANGUAGE=
   PATH=(custom, no user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
  Tags:  lunar wayland-session
  Uname: Linux 6.5.1-060501-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: Upgraded to lunar on 2023-04-02 (163 days ago)
  UserGroups: adm cdrom dip libvirt lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  --- 
  ProblemType: Bug
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 23.04
  InstallationDate: Installed on 2019-04-13 (1612 days ago)
  InstallationMedia: Kubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190326.1)
  Package: linux (not installed)
  ProcEnviron:
   LANG=uk_UA.UTF-8
   LANGUAGE=
   PATH=(custom, no user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
  Tags:  lunar wayland-session
  Uname: Linux 6.5.1-060501-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: Upgraded to lunar on 2023-04-02 (163 days ago)
  UserGroups: adm cdrom dip libvirt lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  --- 
  ProblemType: Bug
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 23.04
  InstallationDate: Installed on 2019-04-13 (1612 days ago)
  InstallationMedia: Kubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190326.1)
  Package: linux (not installed)
  Tags:  lunar wayland-session
  Uname: Linux 6.5.1-060501-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: Upgraded to lunar on 2023-04-02 (163 days ago)
  UserGroups: adm cdrom dip libvirt lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  --- 
  ProblemType: Bug
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  DistroRelease: Ubuntu 23.04
  InstallationDate: Installed on 2019-04-13 (1612 days ago)
  InstallationMedia: Kubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190326.1)
  Package: linux (not installed)
  Tags:  lunar wayland-session
  Uname: Linux 6.5.1-060501-generic x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: Upgraded to lunar on 2023-04-02 (163 days ago)
  UserGroups: adm cdrom dip libvirt lpadmin plugdev sambashare sudo
  _MarkForUpload: True

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