summaryrefslogtreecommitdiff
path: root/mm/backing-dev.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2021-12-16 08:24:08 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-22 09:04:19 +0100
commit81900aa7d7a130dec4c55b68875e30fb8c9effec (patch)
tree0399f3e2fa8383de383898260a8092d9c126d556 /mm/backing-dev.c
parent3e04b9e6aa7d77287e70a400be83060d2b7b2cfe (diff)
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 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions