diff options
author | Leo Stone <leocstone@gmail.com> | 2024-12-16 07:27:51 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-12-19 06:04:47 +0300 |
commit | d3ac65d274b3a93cf9cf9559fd1473ab65e00e10 (patch) | |
tree | c609dee723b1f15ae1642e9781ce4f828ae6184b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 60da7445a142bd15e67f3cda915497781c3f781f (diff) | |
download | linux-d3ac65d274b3a93cf9cf9559fd1473ab65e00e10.tar.xz |
mm: huge_memory: handle strsep not finding delimiter
split_huge_pages_write() does not handle the case where strsep finds no
delimiter in the given string and sets the input buffer to NULL, which
allows this reproducer to trigger a protection fault.
Link: https://lkml.kernel.org/r/20241216042752.257090-2-leocstone@gmail.com
Signed-off-by: Leo Stone <leocstone@gmail.com>
Reported-by: syzbot+8a3da2f1bbf59227c289@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=8a3da2f1bbf59227c289
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions