From: Yafang Shao <laoar.shao@gmail.com>
To: jpoimboe@kernel.org, jikos@kernel.org, mbenes@suse.cz,
pmladek@suse.com, joe.lawrence@redhat.com, song@kernel.org
Cc: live-patching@vger.kernel.org, Yafang Shao <laoar.shao@gmail.com>
Subject: [PATCH v3 0/2] livepatch: Fix issues around CONFIG_DEBUG_KOBJECT_RELEASE
Date: Fri, 21 Aug 2026 11:16:46 +0800 [thread overview]
Message-ID: <20260821031648.48195-1-laoar.shao@gmail.com> (raw)
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:
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
next reply other threads:[~2026-08-21 3:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-21 3:16 Yafang Shao [this message]
2026-08-21 3:16 ` [PATCH v3 1/2] livepatch: Fix UAF of unregistered patch kobjects Yafang Shao
2026-08-21 20:45 ` Song Liu
2026-08-26 7:52 ` Petr Mladek
2026-08-21 3:16 ` [PATCH v3 2/2] selftests/livepatch: filter debug messages in check_result() Yafang Shao
2026-08-21 20:45 ` Song Liu
2026-08-26 7:54 ` Petr Mladek
2026-08-26 20:26 ` Joe Lawrence
2026-08-27 5:55 ` Yafang Shao
2026-08-26 7:56 ` [PATCH v3 0/2] livepatch: Fix issues around CONFIG_DEBUG_KOBJECT_RELEASE Petr Mladek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260821031648.48195-1-laoar.shao@gmail.com \
--to=laoar.shao@gmail.com \
--cc=jikos@kernel.org \
--cc=joe.lawrence@redhat.com \
--cc=jpoimboe@kernel.org \
--cc=live-patching@vger.kernel.org \
--cc=mbenes@suse.cz \
--cc=pmladek@suse.com \
--cc=song@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox