Skip to contentSkip to conversation

UBSAN: shift-out-of-bounds in drivers/iommu/intel/iommu.h:1101:17

DISCUSSION Janusz Krzysztofik 2 participants 3 messages Feb 23 – Mar 9

lore
Share & tools
lore
#1 lore raw
Quoted 7 lines · Janusz Krzysztofik

Hello,

Please have a look at
https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15478

For me it looks like an IOMMU issue. I've added there a comment that summarizes my findings.

If I recall there are some error flows that will push a 0 length gather to the driver, it is supposed to ignore a gather where start == end

Do you think that is the issue?

Jason

#2 lore raw
Quoted 6 lines · On Saturday, 28 February 2026 01:34:05 CET Jason Gunthorpe wrote:
Quoted 5 lines · Janusz Krzysztofik

Hello,

Please have a look at
https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15478

Quoted 8 lines
Quoted 2 lines

For me it looks like an IOMMU issue. I've added there a comment that summarizes my findings.

If I recall there are some error flows that will push a 0 length gather to the driver, it is supposed to ignore a gather where start == end

Do you think that is the issue?

AFAICT I was observing unsuccessful mappings related to OOM conditions, followed by 0 sized unmap requests that were triggering the issue.

Thanks,
Janusz

Quoted 3 lines

Jason