diff options
author | Ferry Meng <[email protected]> | 2024-05-20 10:40:23 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-06-24 22:24:55 -0700 |
commit | 9e3041fecdc8f78a5900c3aa51d3d756e73264d6 (patch) | |
tree | 4463211889e3e33dbe3b9e27d91a8c6266451740 /tools/perf/scripts/python/syscall-counts.py | |
parent | 82a9d6bdd4bb6fac3a080f49c0ba2013a3e65f72 (diff) |
ocfs2: add bounds checking to ocfs2_xattr_find_entry()
Add a paranoia check to make sure it doesn't stray beyond valid memory
region containing ocfs2 xattr entries when scanning for a match. It will
prevent out-of-bound access in case of crafted images.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ferry Meng <[email protected]>
Signed-off-by: Joseph Qi <[email protected]>
Reported-by: lei lu <[email protected]>
Reviewed-by: Joseph Qi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Changwei Ge <[email protected]>
Cc: Gang He <[email protected]>
Cc: Jun Piao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions