HomeFreeBSD

kmsan: Correct the origin address in kmsan_shadow_check()

Description

kmsan: Correct the origin address in kmsan_shadow_check()

Otherwise a KMSAN report (which panics the system by default) could
trigger a recursive panic.

MFC after: 1 week
Fixes: ca6cd604c8fc ("kmsan: Use the correct origin bytes in kmsan_check_arg()")

(cherry picked from commit 346134f19aa9ba38a0384244609e2bcd4f7838f4)

Details

Provenance
markjAuthored on Nov 3 2023, 7:37 PM
Parents
rGe4fb49e867ae: Fix typo
Branches
Unknown
Tags
Unknown