From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:58690 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932075AbeGERDE (ORCPT ); Thu, 5 Jul 2018 13:03:04 -0400 Date: Thu, 5 Jul 2018 19:03:01 +0200 From: Greg KH To: Zubin Mithra Cc: stable@vger.kernel.org, groeck@chromium.org, dvyukov@google.com Subject: Re: 897366537f("genhd: Fix use after free in __blkdev_get()") Message-ID: <20180705170301.GD4349@kroah.com> References: <20180625210441.GA227992@zsmcros.c.googlers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180625210441.GA227992@zsmcros.c.googlers.com> Sender: stable-owner@vger.kernel.org List-ID: On Mon, Jun 25, 2018 at 05:04:42PM -0400, Zubin Mithra wrote: > Hello, > > Syzkaller has reported a crash here[1] for a UAF in disk_unblock_events. > > Could the following patches be applied in order to 4.14? > > 517bf3c30("block: don't look at the struct device dev_t in disk_devt") > 8ddcd653("block: introduce GENHD_FL_HIDDEN") > f0fba398fe("block: avoid null pointer dereference on null disk") > d52987b5("genhd: Fix leaked module reference for NVME devices") > 9df6c2991("genhd: Add helper put_disk_and_module()") > 89736653("genhd: Fix use after free in __blkdev_get()") You do know about: git show -s --abbrev-commit --abbrev=12 --pretty=format:"%h (\"%s\")%n" right? That makes this a lot more uniform... Anyway, can you resend this request and cc: the developers and maintainers of the above patches, so I can get their approval to backport such things? thanks, greg k-h