aboutsummaryrefslogtreecommitdiff
path: root/sys/nlm/(developers-only)
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2024-06-14 14:45:02 +0000
committerMark Johnston <markj@FreeBSD.org>2024-06-14 19:55:02 +0000
commit517c5854588eaa7c2248d97cd750b8b8bad9d69f (patch)
tree1fa616f99478afea1d36c5bbb326f59b67cb5371 /sys/nlm/(developers-only)
parent80b42329248a7473f79eebf7850ee8e4116c17dd (diff)
downloadsrc-main.tar.gz
src-main.zip
vm_phys: Make sure that vm_phys_enq_chunk() stays in boundsHEADmain
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 'sys/nlm/(developers-only)')
0 files changed, 0 insertions, 0 deletions