Bug 213335
Summary: | KASAN: vmalloc_oob KUnit test fails | ||
---|---|---|---|
Product: | Memory Management | Reporter: | David Gow (davidgow) |
Component: | Sanitizers | Assignee: | MM/Sanitizers virtual assignee (mm_sanitizers) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | andreyknvl, dvyukov, kasan-dev |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | git master (5.13-rc4+, commit f88cd3fb9df228e5ce4e13ec3dbad671ddb2146e) | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
David Gow
2021-06-04 05:39:06 UTC
Stupid question, but to rule out simple things: it may require CONFIG_KASAN_VMALLOC, do you have it enabled? Yeah, CONFIG_KASAN_VMALLOC=y, otherwise that line is never reached (and therefore no expectation failure occurs) due to the KASAN_TEST_NEEDS_CONFIG_ON() earlier. I bisected this to 121e6f3258fe ("mm/vmalloc: hugepage vmalloc mappings"). Haven't yet looked into what the issue is. > I bisected this to 121e6f3258fe ("mm/vmalloc: hugepage vmalloc mappings").
> Haven't yet looked into what the issue is.
Thanks for the bisect, I'll have a look ... I have the advantage of
being able to bug Nick via Slack if I get stuck :P
Kind regards,
Daniel
Confirmed this is fixed by https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7ca3027b726be681c8e6292b5a81ebcde7581710 in 5.13, thanks! |