Live Patching
 help / color / mirror / Atom feed
* [PATCH v4 0/2] livepatch: Fix issues around CONFIG_DEBUG_KOBJECT_RELEASE
@ 2026-08-30  5:48 Yafang Shao
  2026-08-30  5:48 ` [PATCH v4 1/2] livepatch: Fix UAF of unregistered patch kobjects Yafang Shao
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yafang Shao @ 2026-08-30  5:48 UTC (permalink / raw)
  To: jpoimboe, jikos, mbenes, pmladek, joe.lawrence, song
  Cc: live-patching, Yafang Shao

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 [0]

Changes:
v3->v4:
- use "dmesg -r" instead of "dmesg --raw" (Joe)

v3: https://lore.kernel.org/live-patching/20260821031648.48195-1-laoar.shao@gmail.com/

v2->v3:
- rename the subject
- include the selftests patch
- exclude the klp-build patch
- use kobj->kref instead of introducing extra counter (Petr)

v2:
https://lore.kernel.org/live-patching/20260816090442.18128-1-laoar.shao@gmail.com/
https://lore.kernel.org/live-patching/20260818054629.69246-1-laoar.shao@gmail.com/

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/

Yafang Shao (2):
  livepatch: Fix UAF of unregistered patch kobjects
  selftests/livepatch: filter debug messages in check_result()

 include/linux/livepatch.h                      |  4 ++++
 kernel/livepatch/core.c                        | 10 ++++++++++
 tools/testing/selftests/livepatch/functions.sh | 12 +++++++++---
 3 files changed, 23 insertions(+), 3 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-04 10:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-30  5:48 [PATCH v4 0/2] livepatch: Fix issues around CONFIG_DEBUG_KOBJECT_RELEASE Yafang Shao
2026-08-30  5:48 ` [PATCH v4 1/2] livepatch: Fix UAF of unregistered patch kobjects Yafang Shao
2026-08-30  5:48 ` [PATCH v4 2/2] selftests/livepatch: filter debug messages in check_result() Yafang Shao
2026-09-04 10:26 ` [PATCH v4 0/2] livepatch: Fix issues around CONFIG_DEBUG_KOBJECT_RELEASE Petr Mladek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox