UBSAN: shift-out-of-bounds in drivers/media/usb/uvc/uvc_ctrl.c:781

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This morning I installed a debug build of kernel v5.8.1 on my laptop.
The complaint shown below appeared in the kernel log. Is this a known
issue?

Thanks,

Bart.

================================================================================
UBSAN: shift-out-of-bounds in drivers/media/usb/uvc/uvc_ctrl.c:781:13
shift exponent -7 is negative
CPU: 5 PID: 8871 Comm: V4L2CaptureThre Tainted: G           O      5.8.1-bva+ #2
Hardware name: Dell Inc. Precision 5520/0R6JFH, BIOS 1.9.4 04/23/2018
Call Trace:
 dump_stack+0xc9/0x11a
 ubsan_epilogue+0x9/0x45
 __ubsan_handle_shift_out_of_bounds.cold+0x61/0x10e
 uvc_get_le_value.cold+0x58/0x9f [uvcvideo]
 __uvc_query_v4l2_ctrl+0x375/0x570 [uvcvideo]
 uvc_query_v4l2_ctrl+0x9d/0xe0 [uvcvideo]
 uvc_ioctl_queryctrl+0x2d/0x40 [uvcvideo]
 v4l_queryctrl+0xad/0xe0 [videodev]
 __video_do_ioctl+0x6ff/0x870 [videodev]
 video_usercopy+0x1eb/0xa20 [videodev]
 video_ioctl2+0x15/0x20 [videodev]
 v4l2_ioctl+0x111/0x150 [videodev]
 ksys_ioctl+0x9f/0xe0
 __x64_sys_ioctl+0x43/0x50
 do_syscall_64+0x60/0xf0
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f855682d427
Code: 00 00 90 48 8b 05 69 7a 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 39 7a 0c 00 f7 d8 64 89 01 48
RSP: 002b:00007f8552854208 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000027776f49d460 RCX: 00007f855682d427
RDX: 00007f85528542d0 RSI: ffffffffc0445624 RDI: 0000000000000017
RBP: 00007f8552854480 R08: 0000000000000003 R09: 00000000fffffffd
R10: 0000000000000004 R11: 0000000000000246 R12: 000027776f53ad58
R13: 00007f85528542d0 R14: 000027776f53ac00 R15: 00005632ec54bde0
================================================================================



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux