[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190308.150731.2076404649275002151.davem@davemloft.net>
Date: Fri, 08 Mar 2019 15:07:31 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: lirongqing@...du.com
Cc: netdev@...r.kernel.org, zbr@...emap.net
Subject: Re: [PATCH] connector: fix unsafe usage of ->real_parent
From: Li RongQing <lirongqing@...du.com>
Date: Wed, 6 Mar 2019 14:46:27 +0800
> proc_exit_connector() uses ->real_parent lockless. This is not
> safe that its parent can go away at any moment, so use RCU to
> protect it, and ensure that this task is not released.
...
> Fixes: b086ff87251b4a4 ("connector: add parent pid and tgid to coredump and exit events")
> Signed-off-by: Zhang Yu <zhangyu31@...du.com>
> Signed-off-by: Li RongQing <lirongqing@...du.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists