Re: [Patch v2] mqueue: fix a use-after-free in sys_mq_notify()

From: Linus Torvalds
Date: Sun Jul 09 2017 - 17:37:54 EST


On Sun, Jul 9, 2017 at 1:19 PM, Cong Wang <xiyou.wangcong@xxxxxxxxx> wrote:
>
> Setting 'sock' to NULL here should be sufficient to fix it.

Thanks. Applied and marked for stable.

Linus