HomeFreeBSD

kassert: Remove KASAN marking from DEBUG_POISON_POINTER

Description

kassert: Remove KASAN marking from DEBUG_POISON_POINTER

While this approach works for trapping reads of an uninitialized
pointer, it means that any attempt to store to the variable triggers a
KASAN report, which is not what we want. Simply remove the kasan_mark()
call. KMSAN will catch these kinds of bugs automatically anyway.

Reported by: syzbot+c5e279db5763b58e8d69@syzkaller.appspotmail.com
MFC after: 1 week

Details

Provenance
markjAuthored on Sep 14 2024, 1:32 AM
Parents
rG50982d26e45b: net80211: add MMIC element ID (for management frame protected group action…
Branches
Unknown
Tags
Unknown