Commit 7b2a31bc authored by Vijayanand Jitta's avatar Vijayanand Jitta Committed by Todd Kjos
Browse files

ANDROID: mm/slub: Fix Kasan issue with for_each_object_track



In for_each_object_track we go through meta data of the slab
object in function(fn), and as a result false postive out-of-bound
access is reported by kasan. Fix this by wrapping that function call
with metadata_access_enable/disable.

Bug: 222651868
Bug: 229935108
Fixes: ee8d2c78 ("ANDROID: mm: add get_each_object_track function")
Change-Id: Ifb4241a9c3e397a52759d467aa267d1297e297dd
Signed-off-by: default avatarVijayanand Jitta <quic_vjitta@quicinc.com>
(cherry picked from commit cd6e5d5d)
parent 8e8ec609
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment