Messages in this thread | | | Date | Tue, 17 Oct 2023 17:10:14 -0300 | From | "Ricardo B. Marliere" <> | Subject | Re: [RFC] mm/kasan: Add Allocation, Free, Error timestamps to KASAN report |
| |
On 23/10/18 03:39AM, Juntong Deng wrote: > If the free time is slightly before the error time, then there is a > high probability that this is an error caused by race condition. > > If the free time is long before the error time, then this is obviously > not caused by race condition, but by something else.
That sounds a bit arbitrary to me. How do you set the threshold for each case? I mean, the fact remains: an invalid read after the object being freed. Does it matter what it was caused by? It should be fixed regardless.
| |