v5
2026-08-13
新增 refcount_final_put 追踪点 · v5
新增 refcount_final_put 追踪点(CONFIG_REFCOUNT_TRACE_FINAL_PUT 开关),记录调用者/IP/对象,辅助 UAF 定位。
原始补丁链接
子 Patch(5)
1/5
tracing: add refcount_final_put tracepoint
Add refcount_final_put tracepoint and related core infrastructure refcount_final_put fires when a reference count reaches zero and the object enters its final release path. The tracepoint records th
2/5
refcount: add refcount_final_put tracepoint
Add the refcount_final_put tracepoint to __refcount_sub_and_test() and refcount_dec_if_one() refcount_final_put fires when a reference count reaches zero and the object enters its final release path.
3/5
percpu-refcount: add refcount_final_put tracepoint
Add the refcount_final_put tracepoint to percpu_ref_put_many(). The tracepoint fires when the atomic counter reaches zero in the atomic fallback path (after percpu_ref_kill() has been called). refcou
4/5
kunit: add test for refcount_final_put
Add a KUnit test suite for the refcount_final_put tracepoint. The test registers a probe function and triggers both refcount_t and percpu_ref final put paths, verifying that the tracepoint fires corr
5/5
MAINTAINERS: add entries for refcount_final_put trace
Add new files added in the patch series to MAINTAINERS Signed-off-by: Eugene Mavick m@mavick.dev — MAINTAINERS | 3 +++ 1 file changed , 3 insertions(+) diff –git a/MAINTAINERS b/MAINTAINERS in