diff options
| author | Leo Stone <[email protected]> | 2024-12-16 04:27:51 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-12-19 03:04:47 +0000 |
| commit | d3ac65d274b3a93cf9cf9559fd1473ab65e00e10 (patch) | |
| tree | c609dee723b1f15ae1642e9781ce4f828ae6184b /scripts/mod/file2alias.c | |
| parent | alloc_tag: fix set_codetag_empty() when !CONFIG_MEM_ALLOC_PROFILING_DEBUG (diff) | |
| download | kernel-d3ac65d274b3a93cf9cf9559fd1473ab65e00e10.tar.gz kernel-d3ac65d274b3a93cf9cf9559fd1473ab65e00e10.zip | |
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/[email protected]
Signed-off-by: Leo Stone <[email protected]>
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=8a3da2f1bbf59227c289
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions
