[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210524121220.1577321-1-maximmi@nvidia.com>
Date: Mon, 24 May 2021 15:12:18 +0300
From: Maxim Mikityanskiy <maximmi@...dia.com>
To: Boris Pismenny <borisp@...dia.com>,
John Fastabend <john.fastabend@...il.com>,
Daniel Borkmann <daniel@...earbox.net>,
"Jakub Kicinski" <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
"Aviad Yehezkel" <aviadye@...dia.com>
CC: Tariq Toukan <tariqt@...dia.com>, <netdev@...r.kernel.org>,
"Maxim Mikityanskiy" <maximmi@...dia.com>
Subject: [PATCH net 0/2] Fix use-after-free after the TLS device goes down and up
This small series fixes a use-after-free bug in the TLS offload code.
The first patch is a preparation for the second one, and the second is
the fix itself.
Maxim Mikityanskiy (2):
net/tls: Replace TLS_RX_SYNC_RUNNING with RCU
net/tls: Fix use-after-free after the TLS device goes down and up
include/net/tls.h | 10 +++++-
net/tls/tls_device.c | 60 ++++++++++++++++++++++++++++-------
net/tls/tls_device_fallback.c | 8 +++++
net/tls/tls_main.c | 1 +
4 files changed, 67 insertions(+), 12 deletions(-)
--
2.25.1
Powered by blists - more mailing lists