On Sun 2026-08-16 17:04:40, Yafang Shao wrote:
These fixes were found while implementing the replace set series [0].
They are independent of that series and can be applied separately.
Link: https://lore.kernel.org/live-patching/20260809091954.22930-1-laoar.shao@gmail.com (local) [0]
Changes:
v1->v2:
- minor improvements and acked-by (Song)
- fix issues reported by sashiko
v1: https://lore.kernel.org/live-patching/20260813030408.9761-1-laoar.shao@gmail.com/ (local)
Yafang Shao (2):
livepatch: Fix wrong index in funcs cleanup error path
This patch is against scripts/livepatch/init.c which is part of
klp-build framework. The klp-build-related changes usually
go via the "tip" tree by Josh.
livepatch: Fix UAF of unregistered patch kobjects
This patch is against the kernel/livepatch/* code. These changes
usually go via the "livepatching" tree by me.
Honestly, I am not sure how to handle this situation.
Josh?
Anyway, the 1st patch seems to be ready to go.
The 2nd patch might need some more love. I am going to comment on it...
Best Regards,
Petr