This change was made by a bot.
** Changed in: linux (Ubuntu)
Status: New => Confirmed
** Tags added: jammy
--
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/1958006
Title:
multiple UBSAN warnings in Intel IPU6 camera driver at boot
Status in linux package in Ubuntu:
Confirmed
Bug description:
UBSAN is turned on by default in Ubuntu 5.15 kernel. While Intel IPU6
driver is still suffering from bug 1958004, intel_iommu issue, so
these are found with intel_iommu=off.
[ 51.469485]
================================================================================
[ 51.469490] UBSAN: invalid-load in
/tmp/kernel-vicamo-8789bd62d725-b752/build/include/linux/dma-buf-map.h:224:9
[ 51.469494] load of value 2 is not a valid value for type '_Bool'
[ 51.469497] CPU: 8 PID: 1315 Comm: camerasrc0:src Tainted: G O
5.15.0-2017-generic #17~20.04.1+lp1955383.2
[ 51.469500] Hardware name: Dell Inc. XPS 9320/, BIOS 0.2.7 12/02/2021
[ 51.469501] Call Trace:
[ 51.469504] <TASK>
[ 51.469508] dump_stack_lvl+0x4a/0x5f
[ 51.469516] dump_stack+0x10/0x12
[ 51.469519] ubsan_epilogue+0x9/0x45
[ 51.469523] __ubsan_handle_load_invalid_value.cold+0x44/0x49
[ 51.469530] dma_buf_vmap.cold+0x38/0x3d
[ 51.469537] ipu_psys_mapbuf_locked+0x178/0x450 [intel_ipu6_psys]
[ 51.469545] ipu_psys_ioctl+0x148/0x4f0 [intel_ipu6_psys]
[ 51.469550] ? __fget_files+0xa7/0xd0
[ 51.469556] __x64_sys_ioctl+0x91/0xc0
[ 51.469560] do_syscall_64+0x59/0xc0
[ 51.469564] ? do_user_addr_fault+0x1dc/0x650
[ 51.469567] ? irqentry_exit_to_user_mode+0x9/0x20
[ 51.469570] ? irqentry_exit+0x19/0x30
[ 51.469573] ? exc_page_fault+0x89/0x160
[ 51.469576] ? asm_exc_page_fault+0x8/0x30
[ 51.469581] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 51.469585] RIP: 0033:0x7fa5e047250b
[ 51.469588] Code: 0f 1e fa 48 8b 05 85 39 0d 00 64 c7 00 26 00 00 00 48 c7
c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01
f0 ff ff 73 01 c3 48 8b 0d 55 39 0d 00 f7 d8 64 89 01 48
[ 51.469589] RSP: 002b:00007fa5debfa298 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[ 51.469592] RAX: ffffffffffffffda RBX: 00007fa5d0004000 RCX:
00007fa5e047250b
[ 51.469593] RDX: 000000000000001f RSI: 00000000c0044102 RDI:
000000000000001e
[ 51.469595] RBP: 00007fa5d4a371e0 R08: 0000000000000000 R09:
000000000000007c
[ 51.469596] R10: 00007fa5debfa120 R11: 0000000000000246 R12:
0000000000000000
[ 51.469597] R13: 00007fa5d4a31bc0 R14: 00007fa5debfa36c R15:
00007fa5debfa430
[ 51.469598] </TASK>
[ 51.469599]
================================================================================
[ 52.050608]
================================================================================
[ 52.050620] UBSAN: array-index-out-of-bounds in
/tmp/kernel-vicamo-8789bd62d725-b752/build/drivers/media/pci/intel/ipu6/ipu-resources.c:633:30
[ 52.050631] index -1 is out of range for type 'ipu_resource_alloc [128]'
[ 52.050637] CPU: 8 PID: 803 Comm: psys_sched_cmd Tainted: G O
5.15.0-2017-generic #17~20.04.1+lp1955383.2
[ 52.050647] Hardware name: Dell Inc. XPS 9320/, BIOS 0.2.7 12/02/2021
[ 52.050651] Call Trace:
[ 52.050656] <TASK>
[ 52.050664] dump_stack_lvl+0x4a/0x5f
[ 52.050692] dump_stack+0x10/0x12
[ 52.050703] ubsan_epilogue+0x9/0x45
[ 52.050716] __ubsan_handle_out_of_bounds.cold+0x44/0x49
[ 52.050731] ipu_psys_allocate_resources+0x4de/0x670 [intel_ipu6_psys]
[ 52.050761] ipu_psys_ppg_start+0xff/0x250 [intel_ipu6_psys]
[ 52.050781] ? ipu_psys_scheduler_ppg_start+0x1b6/0x510 [intel_ipu6_psys]
[ 52.050801] ipu_psys_scheduler_ppg_start+0x429/0x510 [intel_ipu6_psys]
[ 52.050819] ipu_psys_run_next+0x1c4/0x7c0 [intel_ipu6_psys]
[ 52.050836] ipu_psys_sched_cmd+0x6d/0x130 [intel_ipu6_psys]
[ 52.050850] ? __wake_up_pollfree+0x40/0x40
[ 52.050859] ? psys_isr_threaded+0xc0/0xc0 [intel_ipu6_psys]
[ 52.050874] kthread+0x127/0x150
[ 52.050884] ? set_kthread_struct+0x40/0x40
[ 52.050893] ret_from_fork+0x1f/0x30
[ 52.050911] </TASK>
[ 52.050914]
================================================================================
[ 52.050924]
================================================================================
[ 52.050926] UBSAN: shift-out-of-bounds in
/tmp/kernel-vicamo-8789bd62d725-b752/build/drivers/media/pci/intel/ipu6/ipu-resources.c:652:15
[ 52.050932] shift exponent 34 is too large for 32-bit type 'unsigned int'
[ 52.050938] CPU: 8 PID: 803 Comm: psys_sched_cmd Tainted: G O
5.15.0-2017-generic #17~20.04.1+lp1955383.2
[ 52.050944] Hardware name: Dell Inc. XPS 9320/, BIOS 0.2.7 12/02/2021
[ 52.050947] Call Trace:
[ 52.050949] <TASK>
[ 52.050951] dump_stack_lvl+0x4a/0x5f
[ 52.050964] dump_stack+0x10/0x12
[ 52.050975] ubsan_epilogue+0x9/0x45
[ 52.050985] __ubsan_handle_shift_out_of_bounds.cold+0x61/0x10e
[ 52.050997] ? ipu_resource_alloc_with_pos+0x68/0xb0 [intel_ipu6_psys]
[ 52.051016] ? __alloc_one_resrc.isra.0+0x73/0x100 [intel_ipu6_psys]
[ 52.051033] ipu_psys_allocate_resources.cold+0x26/0x140 [intel_ipu6_psys]
[ 52.051061] ipu_psys_ppg_start+0xff/0x250 [intel_ipu6_psys]
[ 52.051079] ? ipu_psys_scheduler_ppg_start+0x1b6/0x510 [intel_ipu6_psys]
[ 52.051095] ipu_psys_scheduler_ppg_start+0x429/0x510 [intel_ipu6_psys]
[ 52.051111] ipu_psys_run_next+0x1c4/0x7c0 [intel_ipu6_psys]
[ 52.051126] ipu_psys_sched_cmd+0x6d/0x130 [intel_ipu6_psys]
[ 52.051140] ? __wake_up_pollfree+0x40/0x40
[ 52.051145] ? psys_isr_threaded+0xc0/0xc0 [intel_ipu6_psys]
[ 52.051160] kthread+0x127/0x150
[ 52.051167] ? set_kthread_struct+0x40/0x40
[ 52.051175] ret_from_fork+0x1f/0x30
[ 52.051189] </TASK>
[ 52.051191]
================================================================================
[ 52.051193]
================================================================================
[ 52.051195] UBSAN: shift-out-of-bounds in
/tmp/kernel-vicamo-8789bd62d725-b752/build/drivers/media/pci/intel/ipu6/ipu-resources.c:654:19
[ 52.051199] shift exponent 34 is too large for 32-bit type 'unsigned int'
[ 52.051202] CPU: 8 PID: 803 Comm: psys_sched_cmd Tainted: G O
5.15.0-2017-generic #17~20.04.1+lp1955383.2
[ 52.051206] Hardware name: Dell Inc. XPS 9320/, BIOS 0.2.7 12/02/2021
[ 52.051209] Call Trace:
[ 52.051210] <TASK>
[ 52.051212] dump_stack_lvl+0x4a/0x5f
[ 52.051224] dump_stack+0x10/0x12
[ 52.051235] ubsan_epilogue+0x9/0x45
[ 52.051245] __ubsan_handle_shift_out_of_bounds.cold+0x61/0x10e
[ 52.051256] ? ipu_resource_alloc_with_pos+0x68/0xb0 [intel_ipu6_psys]
[ 52.051273] ? __alloc_one_resrc.isra.0+0x73/0x100 [intel_ipu6_psys]
[ 52.051289] ipu_psys_allocate_resources.cold+0x64/0x140 [intel_ipu6_psys]
[ 52.051312] ipu_psys_ppg_start+0xff/0x250 [intel_ipu6_psys]
[ 52.051329] ? ipu_psys_scheduler_ppg_start+0x1b6/0x510 [intel_ipu6_psys]
[ 52.051345] ipu_psys_scheduler_ppg_start+0x429/0x510 [intel_ipu6_psys]
[ 52.051360] ipu_psys_run_next+0x1c4/0x7c0 [intel_ipu6_psys]
[ 52.051375] ipu_psys_sched_cmd+0x6d/0x130 [intel_ipu6_psys]
[ 52.051388] ? __wake_up_pollfree+0x40/0x40
[ 52.051393] ? psys_isr_threaded+0xc0/0xc0 [intel_ipu6_psys]
[ 52.051407] kthread+0x127/0x150
[ 52.051414] ? set_kthread_struct+0x40/0x40
[ 52.051422] ret_from_fork+0x1f/0x30
[ 52.051436] </TASK>
[ 52.051437]
================================================================================
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq',
'/dev/snd/timer'] failed with exit code 1:
CasperMD5CheckResult: skip
Dependencies:
DistributionChannelDescriptor:
# This is the distribution channel descriptor for the OEM CDs
# For more information see
http://wiki.ubuntu.com/DistributionChannelDescriptor
canonical-oem-somerville-focal-amd64-20200502-85+fossa-tentacool+X188
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2021-12-20 (26 days ago)
InstallationMedia: Ubuntu 20.04 "Focal" - Build amd64 LIVE Binary
20200502-05:58
MachineType: Dell Inc. XPS 9320
Package: linux-firmware 1.187.25+staging.42 [origin:
LP-PPA-canonical-hwe-team-linux-firmware-staging]
PackageArchitecture: all
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-2017-generic
root=UUID=f4ad7114-fc86-47d7-b750-86bd1560a5f6 ro intel_iommu=off quiet splash
vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-2017.17~20.04.1+lp1955383.2-generic
5.15.12
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.15.0-2017-generic N/A
linux-backports-modules-5.15.0-2017-generic N/A
linux-firmware 1.187.25+staging.42
Tags: third-party-packages focal
Uname: Linux 5.15.0-2017-generic x86_64
UnreportableReason: This is not an official Ubuntu package. Please remove any
third party package and try again.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True
dmi.bios.date: 12/02/2021
dmi.bios.release: 0.2
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 0.2.7
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias:
dmi:bvnDellInc.:bvr0.2.7:bd12/02/2021:br0.2:svnDellInc.:pnXPS9320:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct10:cvr:sku0AF3:
dmi.product.family: XPS
dmi.product.name: XPS 9320
dmi.product.sku: 0AF3
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958006/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp