2022-10-18 14:08:12

by Yu Kuai

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

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