aboutsummaryrefslogtreecommitdiff
path: root/lib/test_hash.c
diff options
context:
space:
mode:
authorJason Wang2018-08-08 11:43:04 +0800
committerDavid S. Miller2018-08-08 09:44:39 -0700
commitb13f9c6364373a1b9f71e9846dc4fb199296f926 (patch)
tree904d5ecac4a32d9ed7408547200fcbf3a7fe1e30 /lib/test_hash.c
parent0dcb82254d65f72333aa50ad626d1e9665ad093b (diff)
vhost: reset metadata cache when initializing new IOTLB
We need to reset metadata cache during new IOTLB initialization, otherwise the stale pointers to previous IOTLB may be still accessed which will lead a use after free. Reported-by: syzbot+c51e6736a1bf614b3272@syzkaller.appspotmail.com Fixes: f88949138058 ("vhost: introduce O(1) vq metadata cache") Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_hash.c')
0 files changed, 0 insertions, 0 deletions