https://bugzilla.kernel.org/show_bug.cgi?id=220829
Bug ID: 220829
Summary: KASAN (tags): always assign new tag on
krealloc/vrealloc
Product: Memory Management
Version: 2.5
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Sanitizers
Assignee:
mm_san...@kernel-bugs.kernel.org
Reporter:
andre...@gmail.com
CC:
kasa...@googlegroups.com
Regression: No
Currently, tag-based KASAN modes keep the allocation/pointer tag on
krealloc()/vrealloc() when the old memory region is large enough to contain the
requested amount of data.
We could likely assign a new tag in this case to detect accesses through the
old memory pointer.
And a test to check this detection.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are on the CC list for the bug.