Re: UBSAN: invalid-load in __remove_hrtimer

From: Thomas Gleixner

Date: Thu Jun 04 2026 - 15:30:35 EST


On Thu, Jun 04 2026 at 10:10, Zijing Yin wrote:
> Fuzzing v7.1-rc1 (98878ed91b68) with a customized syzkaller on a
> KASAN+UBSAN build, I hit the UBSAN invalid-load below in

Please validate that this still is the case with the latest v7.1-rc6 or
ideally with the head of Linus tree.

> UBSAN: invalid-load in kernel/time/hrtimer.c:1147:14
> load of value 255 is not a valid value for type 'bool' (aka '_Bool')

That's memory corruption from some unknown place unrelated to the
hrtimer subsystem, which acts only as the messenger.

Which becomes obvious due to this:

> Oops: general protection fault, probably for non-canonical address 0xf1a7c288031699ea: 0000 [#1] KASAN NOPTI

Thanks,

tglx