From: maowenan <maowenan@huawei.com>
To: David Miller <davem@davemloft.net>
Cc: <netdev@vger.kernel.org>, <xiyou.wangcong@gmail.com>,
<linux-kernel@vger.kernel.org>
Subject: Re: [net-next] net: crypto set sk to NULL when af_alg_release.
Date: Mon, 18 Feb 2019 10:33:01 +0800 [thread overview]
Message-ID: <e6185caf-4807-eb26-969b-b4f189b84f38@huawei.com> (raw)
In-Reply-To: <20190217.154218.1671210082238894003.davem@davemloft.net>
On 2019/2/18 7:42, David Miller wrote:
> From: Mao Wenan <maowenan@huawei.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.
>
> .
>
prev parent reply other threads:[~2019-02-18 2:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-15 14:24 [net-next] net: crypto set sk to NULL when af_alg_release Mao Wenan
2019-02-16 8:31 ` maowenan
2019-02-17 23:42 ` David Miller
2019-02-18 2:33 ` maowenan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e6185caf-4807-eb26-969b-b4f189b84f38@huawei.com \
--to=maowenan@huawei.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox