[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221118184347.4c2bc663@kernel.org>
Date: Fri, 18 Nov 2022 18:43:47 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Lu Jialin <lujialin4@...wei.com>
Cc: Boris Pismenny <borisp@...dia.com>,
John Fastabend <john.fastabend@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
"Paolo Abeni" <pabeni@...hat.com>,
Aviad Yehezkel <aviadye@...lanox.com>,
"Ilya Lesokhin" <ilyal@...lanox.com>,
<linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>
Subject: Re: [PATCH] net/tls: Fix possible UAF in tls_set_device_offload
On Thu, 17 Nov 2022 18:41:32 +0800 Lu Jialin wrote:
> In tls_set_device_offload(), the error path "goto release_lock" will
> not remove start_marker_record->list from offload_ctx->records_list,
> but start_marker_record will be freed, then list traversal may cause UAF.
Nope, the two object which are linked together are freed one
after another.
Powered by blists - more mailing lists