summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2019-08-05 17:36:42 +0000
committerchs <chs@NetBSD.org>2019-08-05 17:36:42 +0000
commit05db12c848fc17ec237fe72cd4b666ee39fc1be6 (patch)
treefc6200ec29f0bc4743a18679a29d596b4637671c /sys/dev
parentf754bc380f2e7c36ed1221221c969ea075a4d9e1 (diff)
fix two bugs reported in
https://syzkaller.appspot.com/bug?id=8840dce484094a926e1ec388ffb83acb2fa291c9 - in uvm_fault_check(), if the map entry is wired, handle the fault the same way that we would handle UVM_FAULT_WIRE. faulting on wired mappings is valid if the mapped object was truncated and then later grown again. - in uvm_fault_unwire_locked(), we must hold the locks for the vm_map_entry while calling pmap_extract() in order to avoid races with the mapped object being truncated while we are unwiring it. Reported-by: syzbot+2e0ae2fc35ab7301c7b8@syzkaller.appspotmail.com
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions