diff options
author | Mark Johnston <markj@FreeBSD.org> | 2024-06-14 14:45:02 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2024-06-14 19:55:02 +0000 |
commit | 517c5854588eaa7c2248d97cd750b8b8bad9d69f (patch) | |
tree | 1fa616f99478afea1d36c5bbb326f59b67cb5371 /contrib/llvm-project/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp | |
parent | 80b42329248a7473f79eebf7850ee8e4116c17dd (diff) | |
download | src-main.tar.gz src-main.zip |
vm_phys_enq_chunk() inserts a run of pages into the buddy queues. When
lazy initialization is enabled, only the first page of each run is
initialized; vm_phys_enq_chunk() thus initializes the page following the
just-inserted run.
This fails to account for the possibility that the page following the
run doesn't belong to the segment. Handle that in vm_phys_enq_chunk().
Reported by: KASAN
Reported by: syzbot+1097ef4cee8dfb240e31@syzkaller.appspotmail.com
Fixes: b16b4c22d2d1 ("vm_page: Implement lazy page initialization")
Diffstat (limited to 'contrib/llvm-project/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp')
0 files changed, 0 insertions, 0 deletions