Commit 330d8df
kasan: remove vmalloc_percpu test
Commit 1a2473f ("kasan: improve vmalloc tests") added the
vmalloc_percpu KASAN test with the assumption that __alloc_percpu always
uses vmalloc internally, which is tagged by KASAN.
However, __alloc_percpu might allocate memory from the first per-CPU
chunk, which is not allocated via vmalloc(). As a result, the test might
fail.
Remove the test until proper KASAN annotation for the per-CPU allocated
are added; tracked in https://bugzilla.kernel.org/show_bug.cgi?id=215019.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 1a2473f ("kasan: improve vmalloc tests")
Signed-off-by: Andrey Konovalov <[email protected]>
Reported-by: Samuel Holland <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Reported-by: Sabyrzhan Tasbolatov <[email protected]>
Link: https://lore.kernel.org/all/CACzwLxiWzNqPBp4C1VkaXZ2wDwvY3yZeetCi1TLGFipKW77drA@mail.gmail.com/
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Marco Elver <[email protected]>
Cc: Sabyrzhan Tasbolatov <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent ece5897 commit 330d8df
1 file changed
+0
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1810 | 1810 | | |
1811 | 1811 | | |
1812 | 1812 | | |
1813 | | - | |
1814 | | - | |
1815 | | - | |
1816 | | - | |
1817 | | - | |
1818 | | - | |
1819 | | - | |
1820 | | - | |
1821 | | - | |
1822 | | - | |
1823 | | - | |
1824 | | - | |
1825 | | - | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
1829 | | - | |
1830 | | - | |
1831 | | - | |
1832 | | - | |
1833 | | - | |
1834 | | - | |
1835 | | - | |
1836 | | - | |
1837 | | - | |
1838 | | - | |
1839 | 1813 | | |
1840 | 1814 | | |
1841 | 1815 | | |
| |||
2023 | 1997 | | |
2024 | 1998 | | |
2025 | 1999 | | |
2026 | | - | |
2027 | 2000 | | |
2028 | 2001 | | |
2029 | 2002 | | |
| |||
0 commit comments