[PATCH RFC 0/2] block: fix uaf in bd_link_disk_holder()
From: Yu Kuai
Date: Tue Oct 18 2022 - 08:52:57 EST
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