[PATCH RFC 0/2] block: fix uaf in bd_link_disk_holder()

Yu Kuai posted 2 patches 3 years, 5 months ago
There is a newer version of this series
block/genhd.c           |  8 ++++++--
block/holder.c          | 13 ++++++++++++-
block/partitions/core.c |  5 ++++-
include/linux/kobject.h |  2 +-
lib/kobject.c           |  7 +++++--
5 files changed, 28 insertions(+), 7 deletions(-)
[PATCH RFC 0/2] block: fix uaf in bd_link_disk_holder()
Posted by Yu Kuai 3 years, 5 months ago
Yu Kuai (2):
  kobject: add return value for kobject_put()
  block: protect slave_dir/bd_holder_dir by open_mutex

 block/genhd.c           |  8 ++++++--
 block/holder.c          | 13 ++++++++++++-
 block/partitions/core.c |  5 ++++-
 include/linux/kobject.h |  2 +-
 lib/kobject.c           |  7 +++++--
 5 files changed, 28 insertions(+), 7 deletions(-)

-- 
2.31.1