Skip to content

Commit 3d9c831

Browse files
committed
Merge branch 'for-next/scs' into for-next/core
* for-next/scs: scs: Release kasan vmalloc poison in scs_free process
2 parents 16c200e + 528a4ab commit 3d9c831

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/scs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ void scs_free(void *s)
7878
if (this_cpu_cmpxchg(scs_cache[i], 0, s) == NULL)
7979
return;
8080

81+
kasan_unpoison_vmalloc(s, SCS_SIZE);
8182
vfree_atomic(s);
8283
}
8384

0 commit comments

Comments
 (0)