Bug 212193

Summary: KASAN: better invalid-free report header
Product: Memory Management Reporter: Andrey Konovalov (andreyknvl)
Component: SanitizersAssignee: MM/Sanitizers virtual assignee (mm_sanitizers)
Status: RESOLVED CODE_FIX    
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-09 15:43:23 UTC
Currently, KASAN describes all invalid-free/double-free bugs as "double-free or invalid-free". This is redundant. KASAN should either use "invalid-free" for all of such bugs, or use "double-free" when a double-free is a more likely cause (the address that's being freed points to the start of an object) and use "invalid-free" otherwise.