Re: [PATCH] libsepol: Cap max depth and processed nodes for cil_tree_walk()

Stephen Smalley <[email protected]> Mon, 3 Aug 2026 16:20:13 -0400
Newsgroups org.kernel.vger.selinux
Message-ID <CAEjxPJ6p4emrduECq2fK6Dp1GV3xpEKnJh-7L8f8E2P0zh=QjQ@mail.gmail.com>
On Mon, Aug 3, 2026 at 11:12=E2=80=AFAM James Carter <[email protected]> wr=
ote:
>
> On Mon, Aug 3, 2026 at 10:24=E2=80=AFAM Stephen Smalley
> <[email protected]> wrote:
> >
> > Cap the max tree depth and number of processed nodes for
> > cil_tree_walk() to avoid stack overflows and OOM conditions.
> >
> > Reported-by: oss-fuzz (issue 471608794)
> > Signed-off-by: Stephen Smalley <[email protected]>
>
> Acked-by: James Carter <[email protected]>

Merged.