Skip to content

ivepatch: Fix several bugs found during replace set implementation

Yafang Shao live-patching lkml 2 versions – Applied

Status from this message: The following commit has been merged into the objtool/urgent branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 7 repliesApplied
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- minor improvements and acked-by (Song)
- fix issues reported by sashiko

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2livepatch: Fix wrong index in funcs cleanup error pathscripts/livepatch/init.c+1 -10 replies
2/2livepatch: Fix UAF of unregistered patch kobjectsinclude/linux/livepatch.h kernel/livepatch/core.c+53 -33 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSong Liu
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] ivepatch: Fix several bugs found during replace set implementation

These fixes were found while implementing the replace set series [0]. They are independent of that series and can be applied separately.

Changes:
v1->v2:
- minor improvements and acked-by (Song)
- fix issues reported by sashiko

v1: https://lore.kernel.org/live-patching/[email protected]/

Yafang Shao (2):
livepatch: Fix wrong index in funcs cleanup error path
livepatch: Fix UAF of unregistered patch kobjects

 include/linux/livepatch.h |  6 +++++
 kernel/livepatch/core.c   | 50 ++++++++++++++++++++++++++++++++++++---
 scripts/livepatch/init.c  |  2 +-
 3 files changed, 54 insertions(+), 4 deletions(-)
Signature · 1 line
2.52.0