[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z3r1L69XacwS0_Ce@calendula>
Date: Sun, 5 Jan 2025 22:10:07 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: cheung wall <zzqq0103.hey@...il.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, netfilter-devel@...r.kernel.org
Subject: Re: "WARNING in nf_ct_alloc_hashtable" in Linux kernel version
6.13.0-rc2
Hi,
On Fri, Jan 03, 2025 at 06:01:50PM -0800, Andrew Morton wrote:
> On Fri, 3 Jan 2025 17:12:53 +0800 cheung wall <zzqq0103.hey@...il.com> wrote:
>
> > Hello,
> >
> > I am writing to report a potential vulnerability identified in the
> > Linux Kernel version 6.13.0-rc2. This issue was discovered using our
> > custom vulnerability discovery tool.
> >
> > HEAD commit: fac04efc5c793dccbd07e2d59af9f90b7fc0dca4 (tag: v6.13-rc2)
> >
> > Affected File: mm/util.c
> >
> > File: mm/util.c
> >
> > Function: __kvmalloc_node_noprof
>
> (cc netfilter-devel)
>
> This is
>
> /* Don't even allow crazy sizes */
> if (unlikely(size > INT_MAX)) {
> WARN_ON_ONCE(!(flags & __GFP_NOWARN));
> return NULL;
> }
>
> in __kvmalloc_node_noprof().
Ok, then I assume this is a WARN_ON_ONCE splat.
I'm attaching a patch to address this.
View attachment "x.patch" of type "text/x-diff" (670 bytes)
Powered by blists - more mailing lists