[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e6185caf-4807-eb26-969b-b4f189b84f38@huawei.com>
Date: Mon, 18 Feb 2019 10:33:01 +0800
From: maowenan <maowenan@...wei.com>
To: David Miller <davem@...emloft.net>
CC: <netdev@...r.kernel.org>, <xiyou.wangcong@...il.com>,
<linux-kernel@...r.kernel.org>
Subject: Re: [net-next] net: crypto set sk to NULL when af_alg_release.
On 2019/2/18 7:42, David Miller wrote:
> From: Mao Wenan <maowenan@...wei.com>
> Date: Fri, 15 Feb 2019 22:24:15 +0800
>
>> KASAN has found use-after-free in sockfs_setattr.
>> The existed commit 6d8c50dcb029 ("socket: close race condition between sock_close()
>> and sockfs_setattr()") is to fix this simillar issue, but it seems to ignore
>> that crypto module forgets to set the sk to NULL after af_alg_release.
>
> Please target this at 'net' since this is a bug fix.
Thank you, I have sent the v2 patch targets to "net" mail list.
>
> .
>
Powered by blists - more mailing lists