From: David Miller <davem@davemloft.net>
To: maowenan@huawei.com
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: Sun, 17 Feb 2019 15:42:18 -0800 (PST) [thread overview]
Message-ID: <20190217.154218.1671210082238894003.davem@davemloft.net> (raw)
In-Reply-To: <20190215142415.149153-1-maowenan@huawei.com>
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.
next prev parent reply other threads:[~2019-02-17 23:42 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 [this message]
2019-02-18 2:33 ` maowenan
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=20190217.154218.1671210082238894003.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=maowenan@huawei.com \
--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