Comment 23 for bug 1958006

Revision history for this message
You-Sheng Yang (vicamo) wrote :

[ 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'

https://git.launchpad.net/~vicamo/+git/ubuntu-kernel/tree/drivers/media/pci/intel/ipu6/ipu-resources.c?h=CVE-2018-1094/for-trusty&id=1648371a4229949b4ded06a6387332dd5008540d#n652

649 idx = alloc->resources - 1;
650 p = alloc->resource_alloc[idx].pos;
651 bmp = pm.dfm_port_bitmap[id];
652 bmp = bmp << p;