This is a backport of slab-out-of-bounds fix to 5.10. The only change from the original is adjustment of fill_kobj_path signature.
Wang Hai (1): kobject: Fix slab-out-of-bounds in fill_kobj_path()
lib/kobject.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)