Bug 212479

Summary: KASAN: tests failing with KFENCE enabled
Product: Memory Management Reporter: Andrey Konovalov (andreyknvl)
Component: SanitizersAssignee: MM/Sanitizers virtual assignee (mm_sanitizers)
Status: NEW ---    
Severity: normal CC: kasan-dev
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: upstream Subsystem:
Regression: No Bisected commit-id:

Description Andrey Konovalov 2021-03-29 16:05:07 UTC
Some of KASAN tests might fail if the allocation goes through KFENCE instead of going through allocation paths that are covered by KASAN. The suggested fix would be to disable KASAN tests when KFENCE is enabled.
Comment 1 Andrey Konovalov 2025-01-08 16:00:28 UTC
This issue was encountered by kernel test robot: https://lore.kernel.org/all/202501081209.b7d8b735-lkp@intel.com/