stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 897366537f("genhd: Fix use after free in __blkdev_get()")
@ 2018-06-25 21:04 Zubin Mithra
  2018-07-05 17:03 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Zubin Mithra @ 2018-06-25 21:04 UTC (permalink / raw)
  To: stable; +Cc: groeck, dvyukov

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()")

[1] https://syzkaller.appspot.com/bug?id=d932bb61fb530dc6816b87b4649f3b6925f51026

Thanks,
Zubin

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 897366537f("genhd: Fix use after free in __blkdev_get()")
  2018-06-25 21:04 897366537f("genhd: Fix use after free in __blkdev_get()") Zubin Mithra
@ 2018-07-05 17:03 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2018-07-05 17:03 UTC (permalink / raw)
  To: Zubin Mithra; +Cc: stable, groeck, dvyukov

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-05 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-25 21:04 897366537f("genhd: Fix use after free in __blkdev_get()") Zubin Mithra
2018-07-05 17:03 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).