diff options
author | 2019-01-10 20:26:34 +0000 | |
---|---|---|
committer | 2019-01-10 20:26:34 +0000 | |
commit | 7f72a6609de129767b9f4c5b76f078a437143dd0 (patch) | |
tree | 2a54ab21fb4419ce0381b5e9a6740479dc474b5a /lib/libc | |
parent | an alloca() snuck into the tree. We don't use alloca() in our tree unless (diff) | |
download | wireguard-openbsd-7f72a6609de129767b9f4c5b76f078a437143dd0.tar.xz wireguard-openbsd-7f72a6609de129767b9f4c5b76f078a437143dd0.zip |
Hold a read lock on the map while doing the actual device I/O during in
physio(9) to prevent another thread from unmapping the memory and triggering
an assertion or even corruption random physical memory pages.
ok deraadt@
Should fix:
Reported-by: syzbot+b8e7faf688f8c9d341b1@syzkaller.appspotmail.com
Reported-by: syzbot+b6a9255faa0605669432@syzkaller.appspotmail.com
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions