From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752887AbdGIVhu (ORCPT ); Sun, 9 Jul 2017 17:37:50 -0400 Received: from mail-oi0-f43.google.com ([209.85.218.43]:34512 "EHLO mail-oi0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752600AbdGIVht (ORCPT ); Sun, 9 Jul 2017 17:37:49 -0400 MIME-Version: 1.0 In-Reply-To: <1499631595-12625-1-git-send-email-xiyou.wangcong@gmail.com> References: <1499631595-12625-1-git-send-email-xiyou.wangcong@gmail.com> From: Linus Torvalds Date: Sun, 9 Jul 2017 14:37:48 -0700 X-Google-Sender-Auth: taUdn1BHxt0jr7UPiLPJIwoirf8 Message-ID: Subject: Re: [Patch v2] mqueue: fix a use-after-free in sys_mq_notify() To: Cong Wang Cc: Network Development , Linux Kernel Mailing List , Gene Blue , Andrew Morton , Manfred Spraul Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 9, 2017 at 1:19 PM, Cong Wang wrote: > > Setting 'sock' to NULL here should be sufficient to fix it. Thanks. Applied and marked for stable. Linus