From: Dan Carpenter <dan.carpenter@linaro.org>
To: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
Cc: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>,
Max Dubois <makemehappy@rocketmail.com>,
"ilpo.jarvinen@linux.intel.com" <ilpo.jarvinen@linux.intel.com>,
"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
Dan Carpenter <error27@gmail.com>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: Bug related with a 6.6.24 platform/x86 commit signed by you - Enormous memory leak
Date: Fri, 19 Jul 2024 10:01:14 -0500 [thread overview]
Message-ID: <f055fd4d-7ee7-40b9-a394-5cc8bfe52c97@suswa.mountain> (raw)
In-Reply-To: <20240719142037-93bd4395-1f6b-490a-8a14-50e7bcc756d1@linutronix.de>
On Fri, Jul 19, 2024 at 02:32:15PM +0200, Thomas Weißschuh wrote:
> On Fri, Jul 19, 2024 at 05:34:23PM GMT, Harshit Mogalapalli wrote:
> The reporting really should figure out which specific release or commit
> is introducing the issue. And if mainline or 6.6.41 are also affected.
>
> The linked gentoo forum thread has some actual kernel logs:
>
> Jul 16 00:01:10 [kernel] alloc_vmap_area: 133 callbacks suppressed
> Jul 16 00:01:10 [kernel] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
> - Last output repeated 9 times -
> Jul 16 00:01:15 [kernel] alloc_vmap_area: 240 callbacks suppressed
> Jul 16 00:01:15 [kernel] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
> - Last output repeated 9 times -
> Jul 16 00:01:17 [kernel] warn_alloc: 3 callbacks suppressed
> Jul 16 00:01:17 [kernel] Web Content: vmalloc error: size 8192, vm_struct allocation failed, mode:0xdc0(GFP_KERNEL|__GFP_ZERO), nodemask=(null),cpuset=/,mems_allowed=0
> Jul 16 00:01:17 [kernel] CPU: 1 PID: 2761 Comm: Web Content Not tainted 6.6.38-gentoo #1
> Jul 16 00:01:17 [kernel] Hardware name: VMware, Inc. VMware20,1/440BX Desktop Reference Platform, BIOS VMW201.00V.21805430.B32.2305221830 05/22/2023
> Jul 16 00:01:17 [kernel] Call Trace:
> Jul 16 00:01:17 [kernel] dump_stack_lvl+0x32/0x41
> Jul 16 00:01:17 [kernel] dump_stack+0xd/0x10
> Jul 16 00:01:17 [kernel] warn_alloc+0xab/0x111
> Jul 16 00:01:17 [kernel] __vmalloc_node_range+0x73/0x345
> Jul 16 00:01:17 [kernel] __vmalloc_node+0x55/0x5d
> Jul 16 00:01:17 [kernel] ? bpf_prog_alloc_no_stats+0x1f/0xcd
> Jul 16 00:01:17 [kernel] __vmalloc+0x14/0x16
> Jul 16 00:01:17 [kernel] ? bpf_prog_alloc_no_stats+0x1f/0xcd
> Jul 16 00:01:17 [kernel] bpf_prog_alloc_no_stats+0x1f/0xcd
> Jul 16 00:01:17 [kernel] bpf_prog_alloc+0x13/0x9f
> Jul 16 00:01:17 [kernel] bpf_prog_create_from_user+0x47/0xbd
> Jul 16 00:01:17 [kernel] ? kprobe_free_init_mem+0x4c/0x4c
> Jul 16 00:01:17 [kernel] do_seccomp+0x176/0x7ac
> Jul 16 00:01:17 [kernel] ? __ia32_sys_prctl+0x47/0x5bf
> Jul 16 00:01:17 [kernel] __ia32_sys_seccomp+0x10/0x12
> Jul 16 00:01:17 [kernel] ia32_sys_call+0xd09/0x1063
> Jul 16 00:01:17 [kernel] __do_fast_syscall_32+0x7a/0x99
> Jul 16 00:01:17 [kernel] do_fast_syscall_32+0x29/0x5b
> Jul 16 00:01:17 [kernel] do_SYSENTER_32+0x15/0x17
> Jul 16 00:01:17 [kernel] entry_SYSENTER_32+0x98/0xf8
> Jul 16 00:01:17 [kernel] EIP: 0xb7fc856d
>
> The lines with "size 20480" repeat *a lot*, it could be the issue.
>
The interesting thing about that is the working kernel had tons of these
allocation failures as well.
https://bugzilla.kernel.org/show_bug.cgi?id=219061
See the attachment which called "This is a session with the last WORKING
KERNEL 6.6.23, NO ERRORS, everything fine".
I don't think the problem is Harshit's patch. It should be easy enough
to do a `git show 9a98ab01e3ac | patch -p1 -R` and test the results.
If that doesn't fix the bug, then it would be nice to do a git bisect
between v6.6.23 and v6.6.24.
regards,
dan carpenter
next prev parent reply other threads:[~2024-07-19 15:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <707784492.392759.1721383145890.ref@mail.yahoo.com>
[not found] ` <707784492.392759.1721383145890@mail.yahoo.com>
2024-07-19 12:04 ` Harshit Mogalapalli
2024-07-19 12:32 ` Thomas Weißschuh
2024-07-19 15:01 ` Dan Carpenter [this message]
2024-07-19 15:12 ` Dan Carpenter
2024-07-19 15:40 ` Max Dubois
2024-07-19 16:33 ` Thomas Weißschuh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f055fd4d-7ee7-40b9-a394-5cc8bfe52c97@suswa.mountain \
--to=dan.carpenter@linaro.org \
--cc=error27@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=harshit.m.mogalapalli@oracle.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=makemehappy@rocketmail.com \
--cc=thomas.weissschuh@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®