diff options
author | Juergen Gross <jgross@suse.com> | 2021-12-16 10:24:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-22 11:32:51 +0300 |
commit | a29c8b5226eda52e6d6ff151d9343558ea3ad451 (patch) | |
tree | d70b5d07d0742d2b4c0994681e26fd0110676997 /drivers/xen | |
parent | caf9b51829a50590b84daea924a0fd62d32bc952 (diff) | |
download | linux-a29c8b5226eda52e6d6ff151d9343558ea3ad451.tar.xz |
xen/netfront: harden netfront against event channel storms
commit b27d47950e481f292c0a5ad57357edb9d95d03ba upstream.
The Xen netfront driver is still vulnerable for an attack via excessive
number of events sent by the backend. Fix that by using lateeoi event
channels.
For being able to detect the case of no rx responses being added while
the carrier is down a new lock is needed in order to update and test
rsp_cons and the number of seen unconsumed responses atomically.
This is part of XSA-391
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions