summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorFerry Meng <mengferry@linux.alibaba.com>2024-05-20 05:40:23 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-06-25 08:24:55 +0300
commit9e3041fecdc8f78a5900c3aa51d3d756e73264d6 (patch)
tree4463211889e3e33dbe3b9e27d91a8c6266451740 /scripts/gdb/linux/utils.py
parent82a9d6bdd4bb6fac3a080f49c0ba2013a3e65f72 (diff)
downloadlinux-9e3041fecdc8f78a5900c3aa51d3d756e73264d6.tar.xz
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/20240520024024.1976129-1-joseph.qi@linux.alibaba.com Signed-off-by: Ferry Meng <mengferry@linux.alibaba.com> Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com> Reported-by: lei lu <llfamsec@gmail.com> Reviewed-by: Joseph Qi <joseph.qi@linux.alibaba.com> Cc: Mark Fasheh <mark@fasheh.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Junxiao Bi <junxiao.bi@oracle.com> Cc: Changwei Ge <gechangwei@live.cn> Cc: Gang He <ghe@suse.com> Cc: Jun Piao <piaojun@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions