diff options
author | 2017-06-20 15:49:00 +0000 | |
---|---|---|
committer | 2017-06-20 15:49:00 +0000 | |
commit | bd38a9bdcd5e888bff7de4d3a7713580f6a52c14 (patch) | |
tree | 3d1717dde22b986d458934f937e088f26c48c8c2 /sys/kern/uipc_socket.c | |
parent | Do not touch file pointers for which FILE_IS_USABLE() is false. (diff) | |
download | wireguard-openbsd-bd38a9bdcd5e888bff7de4d3a7713580f6a52c14.tar.xz wireguard-openbsd-bd38a9bdcd5e888bff7de4d3a7713580f6a52c14.zip |
Check the validity of the `qtd' pointer after each interrupt case
and bail out if the pointer has become invalid. This prevents
use-after-free memory accesses that corrupted the dwc2qtd pool.
This fix improves stability on the Raspberry Pi 3.
From Linux commit dc8730846948e517169f630826cd2c97615f5ee8
OK kettenis@
Diffstat (limited to 'sys/kern/uipc_socket.c')
0 files changed, 0 insertions, 0 deletions