Re: [PATCH v2] dlm: fix buffer overflow from negative len in dlm_search_rsb_tree

Alexander Aring <[email protected]> Thu, 16 Jul 2026 14:27:02 -0400
Newsgroups dev.linux.lists.gfs2,org.kernel.vger.linux-kernel
Message-ID <CAK-6q+j4bGf4s59b49QQu1yDi13vXwwrxt9JzPGApm8zf=nVMw@mail.gmail.com>
Hi,

On Mon, May 25, 2026 at 10:27=E2=80=AFAM Alexander Aring <[email protected]=
om> wrote:
>
> Hi,
>
> On Sat, May 16, 2026 at 10:03=E2=80=AFPM Joseph Qi <[email protected]=
ba.com> wrote:
> >
> > commit 080e5563f878 only checks for len > DLM_RESNAME_MAXLEN, which doe=
s
>
> check with checkpath, it reports an error regarding how this commit
> reference is done.

I fixed your commit message for this patch; checkpatch requires a very
specific commit reference style here.
It's "commit 080e5563f878c ("dlm: validate length in dlm_search_rsb_tree")"=
.

- Alex