Thread (10 messages) flat view 10 messages, 4 authors, 15d ago
COLD15d

Revision v3 of 2 in this series.

Revisions (2)
  1. v3 current
  2. v4 [diff vs current]

[PATCH v3 0/2] livepatch: Fix issues around CONFIG_DEBUG_KOBJECT_RELEASE

From: Yafang Shao <hidden>
Date: 2026-08-21 03:17:08

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:
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/ (local)
https://lore.kernel.org/live-patching/20260818054629.69246-1-laoar.shao@gmail.com/ (local)

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 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help