Re: [PATCH v2 1/4] livepatch: Make klp_find_func() non-static

Yafang Shao <[email protected]> Fri, 29 May 2026 17:07:43 +0800
Newsgroups org.kernel.vger.live-patching,dev.linux.lists.sashiko-reviews
Message-ID <CALOAHbABz7CCK4spQj4-ApKqJhPXOsWUiuX1fyrDWAyvEZFV2A@mail.gmail.com>
On Fri, May 29, 2026 at 12:01 PM <[email protected]> wrote:
>
> Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
>
> New issues:
> - [Low] klp_find_func() is improperly exposed in the global public header, breaking encapsulation and introducing potential build/linkage errors.

I will update it.

>
> Pre-existing issues:
> - [High] klp_find_func() lacks input validation, exacerbating a pre-existing NULL pointer dereference vulnerability during livepatch loading.

Valid. will fix this issue.

-- 
Regards
Yafang