[PATCH 0/1][SRU][Jammy] UBSAN warnings in Intel IPU6 camera driver at boot

You-Sheng Yang vicamo.yang at canonical.com
Fri Apr 8 16:14:35 UTC 2022


BugLink: https://bugs.launchpad.net/bugs/1958006

[Impact]

Several UBSAN warnings captured on Intel IPU6 camera equipped platforms
running 5.15+ kernels.

[Fix]

Upstream fix commit 8dcb7d8df28f ("media: pci: intel: Avoid UBSAN
warnings of index bound and shift").

[Test Case]

Boot Intel IPU6 camera equipped platforms and check dmesg.

[Where problems could occur]

This patch turns a few return statements to error to stop further
processing that may fall in UBSAN warnings. No other side effect.

[Other Info]

While plan for -generic and oem-5.17 is still under discuss, only Jammy
is nominated for linux-oem-5.14/focal migration (to hwe-5.15).

This depends on the pull request titled "Support Intel IPU6 MIPI camera
on Alder Lake platforms" for bug 1955383 for Jammy.

Hao Yao (1):
  UBUNTU: SAUCE: media: pci: intel: Avoid UBSAN warnings of index bound
    and shift

 drivers/media/pci/intel/ipu6/ipu-resources.c | 21 ++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list